CVE-2026-50267

Steeltoe: TLS private keys written to /tmp with default permissions, never deleted

State
Published
Severity
4.7 Medium
Published
Jun 17, 2026
Updated
Jun 18, 2026
Reserved
Jun 4, 2026

Read the record on cve.org

Description

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`.

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-312 Cleartext Storage of Sensitive Information
  • CWE-732 Incorrect Permission Assignment for Critical Resource

Affected Products

ProductVersions
Steeltoe.Configuration.AbstractionsSteeltoeOSS
  • >= 4.0.0, < 4.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.