Skip to main content

CVE-2026-50267 — Vulnerability in Steeltoe.Configur…stractions

MEDIUM

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

Published July 2, 2026Updated July 2, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.08%). Schedule for your next planned update.

Does your project use an affected Steeltoe.Configuration.Abstractions version?

Paste your packages.lock.json to check it for CVE-2026-50267 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

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.

Advisory Timeline

  • First published July 2, 2026 (147 days ago).
  • Last revised July 2, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Steeltoe.Configuration.Abstractions to 4.2.0 or later
dotnet add package Steeltoe.Configuration.Abstractions --version 4.2.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Steeltoe.Configuration.Abstractions NuGet · Affected: 4.0.0, 4.1.04.2.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-312
    Cleartext Storage of Sensitive InformationMITRE
  • CWE-732
    Incorrect Permission AssignmentMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 4.7 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2026-50267?
Steeltoe: TLS private keys written to /tmp with default permissions, never deleted. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 4.7/10).
How do I check if my project is affected by CVE-2026-50267?
CVE-2026-50267 affects Steeltoe.Configuration.Abstractions. It has a 0.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-50267 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
4.7

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.08%
EPSS percentile: 0

This is a below-median EPSS score — only 0% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-rxrh-4j9h-xgg9

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json