{"id":"GHSA-rxrh-4j9h-xgg9","revision":"df8780b87f314bbe8400418be953302d","records":[{"revision":"df8780b87f314bbe8400418be953302d","observedAt":"2026-10-23T16:01:25.029+00:00","statement":{"source":"osv","id":"GHSA-rxrh-4j9h-xgg9","aliases":["CVE-2026-50267"],"title":"Steeltoe: TLS private keys written to /tmp with default permissions, never deleted","description":"### Summary\n\nWhen 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`.\n\n### Impact\n\nAny process co-located in the container that runs as a different UID can read the TLS client private key from `/tmp` and use it to impersonate the application when connecting to the backing database over mutual TLS.\n\n### Affected configuration\n\n- Application is deployed on Cloud Foundry or another environment that populates `VCAP_SERVICES` with a MySQL or PostgreSQL service binding that includes `sslKey` credentials.\n- A process running as a different UID shares the container's filesystem.\n\n### Mitigations\n\nIf an immediate upgrade is not possible, prevent other processes from running in the container under a different UID with access to `/tmp`.","state":0,"publishedAt":"2026-07-02T20:32:09+00:00","modifiedAt":"2026-07-02T20:56:33.690158+00:00","affected":[{"ecosystem":"NuGet","name":"Steeltoe.Configuration.Abstractions","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.2.0"}]}],"versions":["4.0.0","4.1.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-rxrh-4j9h-xgg9","https://nvd.nist.gov/vuln/detail/CVE-2026-50267","https://github.com/SteeltoeOSS/Steeltoe/commit/8dd97cc6c4b184121a4bd1f92f9ac16918433471","https://github.com/SteeltoeOSS/security-advisories"],"sourceUrl":"https://github.com/advisories/GHSA-rxrh-4j9h-xgg9","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rxrh-4j9h-xgg9","identifiers":["GHSA-rxrh-4j9h-xgg9","CVE-2026-50267"]},"retained":false,"historicalAffected":[]}],"coverage":[]}