{"id":"CVE-2026-50267","summary":"Steeltoe: TLS private keys written to /tmp with default permissions, never deleted","details":"Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. In Steeltoe.Configuration.Abstractions 4.0.0 through 4.1.0, when MySQL or PostgreSQL service bindings from `VCAP_SERVICES` include TLS client credentials, the Connectors library writes those credentials to temporary files in `Path.GetTempPath()` using `File.CreateText`. On Linux, `File.CreateText` creates files with mode `0644` (world-readable) under the process umask, and the files are never deleted. The same key material is protected at mode `0400` in `/proc/\u003cpid\u003e/environ`. Steeltoe.Configuration.Abstractions version 4.2.0 patches the issue. If an immediate upgrade is not possible, prevent other processes from running in the container under a different UID with access to `/tmp`.","aliases":["GHSA-rxrh-4j9h-xgg9"],"modified":"2026-07-11T03:54:20.652163370Z","published":"2026-06-17T21:57:09.043Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50267.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-312","CWE-732"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50267.json"},{"type":"ADVISORY","url":"https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-rxrh-4j9h-xgg9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50267"},{"type":"FIX","url":"https://github.com/SteeltoeOSS/Steeltoe/commit/8dd97cc6c4b184121a4bd1f92f9ac16918433471"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/steeltoeoss/steeltoe","events":[{"introduced":"c4d303abd0d8a53b62516c0281643e00c1a69f0e"},{"fixed":"2d4338d0fc3990a8df90968187d9567004d3fbe7"}],"database_specific":{"extracted_events":[{"introduced":"4.0.0"},{"fixed":"4.2.0"}],"source":"AFFECTED_FIELD"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-50267.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}