CVE-2026-50267
### Summary 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`. ### Impact Any 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. ### Affected configuration - Application is deployed on Cloud Foundry or another environment that populates `VCAP_SERVICES` with a MySQL or PostgreSQL service binding that includes `sslKey` credentials. - A process running as a different UID shares the container's filesystem. ### Mitigations If an immediate upgrade is not possible, prevent other processes from running in the container under a different UID with access to `/tmp`.
Properties
- severity
- medium
- summary
- Steeltoe: TLS private keys written to /tmp with default permissions, never deleted
- epss_score
- 0.00065
- cvss_score
- 4.7
- ghsa_published
- 2026-07-02T20:32:09Z
- source_url
- https://github.com/advisories/GHSA-rxrh-4j9h-xgg9
- ghsa_updated
- 2026-07-02T20:32:10Z
- ghsa_id
- GHSA-rxrh-4j9h-xgg9
- cve_id
- CVE-2026-50267
- cvss_vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- is_ghsa_only
- false
- epss_percentile
- 0.00021
Related Entities (6)
ENRICHED_BY (1)
REPORTED_BY (1)
VULNERABLE_TO (1)
AFFECTS (1)
HAS_WEAKNESS (2)
Explore deeper with Ninja Signal's threat intelligence graph