Loading...
Skip to main content

CVE-2026-50267 — Vulnerability in...

MEDIUM

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

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

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 (102 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, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: nuget (1).

PackageEcosystemAffectedFixed In
Steeltoe.Configuration.Abstractions
nuget
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. 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 has limited impact. Remediate within weeks.

Also Known As

GHSA-rxrh-4j9h-xgg9

Related CVEs

  • CVE-2026-106111
    MEDIUM

    ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate

  • CVE-2026-65829
    MEDIUM

    MPXJ: Potential Path Traversal Vulnerability in Primavera P3 PRX and SureTrak STX readers

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies