{"id":"CVE-2026-50267","published":"2026-06-17T21:57:09Z","modified":"2026-06-18T19:11:04Z","title":"Steeltoe: TLS private keys written to /tmp with default permissions, never deleted","vendor":"SteeltoeOSS","product":"Steeltoe.Configuration.Abstractions","tier":"tail","description":{"text":"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/<pid>/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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00065,"percentile":0.00015,"provenance":"source"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-rxrh-4j9h-xgg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/SteeltoeOSS/Steeltoe/commit/8dd97cc6c4b184121a4bd1f92f9ac16918433471","tags":["x_refsource_MISC"]}],"priority":{"score":3.3,"factors":[{"name":"CVSS severity","points":3.29}]},"vendorSlug":"steeltoeoss","affectedVersions":[{"vendor":"SteeltoeOSS","product":"Steeltoe.Configuration.Abstractions","versions":[">= 4.0.0, < 4.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-18T19:10:46.830420Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Steeltoe.Configuration.Abstractions","vulnerableRanges":[">=4.0.0, <4.2.0"],"patched":["4.2.0"],"from":["GHSA-rxrh-4j9h-xgg9"],"provenance":"source"}],"summary":{"text":"The Steeltoe.Configuration.Abstractions library, versions 4.0.0 through 4.1.0, writes TLS client credentials from MySQL and PostgreSQL service bindings in VCAP_SERVICES to world-readable temporary files that are never deleted. An attacker with local access to the host or container, running as a different user, could read those credentials from /tmp, and this requires that the attacker's process can run alongside the affected application under a different UID and reach /tmp.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:43Z"},"euvd":{"id":"EUVD-2026-37820","exploited":false,"provenance":"source"}}