Steeltoe: TLS private keys written to /tmp with default permissions, never deleted
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//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`.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-50267
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:23 UTC · Revision 1
Source evidence
Steeltoe: TLS private keys written to /tmp with default permissions, never deleted
core-osv · Original sourcePublished 17 Jun 2026, 21:57 UTC
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//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`.
osv:CVE-2026-50267
Complete source record
{
"id": "b245d4b03726e38f63c7d241c7e1e84893f3d4c16e394f1de0ff3b857000ef5e",
"url": "https://osv.dev/vulnerability/CVE-2026-50267",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Steeltoe: TLS private keys written to /tmp with default permissions, never deleted",
"summary": "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//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`.",
"evidence": "osv:CVE-2026-50267",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-50267",
"aliases": [
"CVE-2026-50267",
"GHSA-rxrh-4j9h-xgg9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/steeltoeoss/steeltoe",
"type": "GIT",
"events": [
{
"introduced": "c4d303abd0d8a53b62516c0281643e00c1a69f0e"
},
{
"fixed": "2d4338d0fc3990a8df90968187d9567004d3fbe7"
},
{
"fixed": "8dd97cc6c4b184121a4bd1f92f9ac16918433471"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.2.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8dd97cc6c4b184121a4bd1f92f9ac16918433471"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50267.json"
}
}
],
"modified": "2026-10-28T02:30:41.116335855Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50267.json",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-312",
"CWE-732"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50267.json"
}
},
"related_cves": [
{
"value": "CVE-2026-50267",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509037,
"published_at": "2026-06-17T21:57:09.043+00:00"
}