# CVE-2026-50267: Steeltoe Configuration Abstractions insecure temporary file permissions

Source: https://junglewise.ai/threats/cve-2026-50267-steeltoe-configuration-abstractions-insecure-temporary-file  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-17. Updated: 2026-07-02  
License: CC BY 4.0 with a link back

CVE-2026-50267 · Severity: medium · CVSS 4.7 · Published 2026-06-17

Steeltoe, a framework for building cloud-native applications, contains a security flaw in how it handles database connections. When connecting to MySQL or PostgreSQL databases using secure TLS certificates, the library writes sensitive private keys to a temporary folder with insecure permissions. This allows other users or malicious processes on the same system to steal these keys and impersonate the application to access the database.

Vendors: [NuGet](https://junglewise.ai/threats/vendors/nuget), [SteeltoeOSS](https://junglewise.ai/threats/vendors/steeltoeoss).

## Quick answers

**Is CVE-2026-50267 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-50267 being exploited in the wild.

**How severe is CVE-2026-50267?** Medium severity, with a CVSS score of 4.7, published 17 June 2026.

**Which products and versions are affected?** Steeltoe.Configuration.Abstractions (NuGet) >= 4.0.0, <= 4.1.0, ECOSYSTEM:introduced=4.0.0,fixed=4.2.0; SteeltoeOSS Configuration.Abstractions >= 4.0.0, < 4.2.0.

**Is there a fix for CVE-2026-50267?** Yes. Steeltoe.Configuration.Abstractions (NuGet): upgrade to 4.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-50267 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-50267?** Check whether you run Steeltoe.Configuration.Abstractions (NuGet) or SteeltoeOSS Configuration.Abstractions at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Steeltoe.Configuration.Abstractions (NuGet): upgrade to 4.2.0 or later

  ```sh
  dotnet add package Steeltoe.Configuration.Abstractions --version 4.2.0
  ```


## Technical details

The Steeltoe Connectors library (within Steeltoe.Configuration.Abstractions) fails to securely manage temporary credential files when processing MySQL or PostgreSQL service bindings from VCAP_SERVICES. When TLS client credentials are provided, the library uses File.CreateText to write them to Path.GetTempPath(), which defaults to mode 0644 on Linux systems. These files are never deleted by the library. An attacker with local access to the filesystem (such as a co-located process in a container with a different UID) can read the private key and perform mutual TLS authentication to the backing database. The issue is fixed in version 4.2.0 by ensuring user-only access permissions and proper file deletion.

## Affected products

- SteeltoeOSS Steeltoe.Configuration.Abstractions >= 4.0.0, <= 4.1.0

## Identifiers

- CVE-2026-50267
- GHSA-rxrh-4j9h-xgg9

## Timeline

- 2026-05-20: other: Fix authored in source code
- 2026-05-29: disclosed: Initial advisory publication
- 2026-07-02: advisory: GitHub Advisory Database entry updated

## References

- [https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-rxrh-4j9h-xgg9](https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-rxrh-4j9h-xgg9)
- [https://github.com/SteeltoeOSS/Steeltoe/commit/8dd97cc6c4b184121a4bd1f92f9ac16918433471](https://github.com/SteeltoeOSS/Steeltoe/commit/8dd97cc6c4b184121a4bd1f92f9ac16918433471)
- [https://api.github.com/repos/SteeltoeOSS/security-advisories/security-advisories/GHSA-rxrh-4j9h-xgg9](https://api.github.com/repos/SteeltoeOSS/security-advisories/security-advisories/GHSA-rxrh-4j9h-xgg9)
