LOW 1.9

CVE-2026-50268: Steeltoe Configuration Encryption OAEP Algorithm Misconfiguration

Steeltoe.Configuration.Encryption versions 4.0.0 through 4.1.0 contain a configuration bug where the OAEP encryption algorithm setting does not work as intended. When administrators configure the system to use OAEP (a stronger RSA encryption variant), the software incorrectly falls back to the weaker PKCS#1 v1.5 algorithm instead. This occurs due to an incorrect transformation string passed to the BouncyCastle cryptographic library. The vulnerability requires local access and administrative privileges to exploit, making it a low-risk issue in most environments. Version 4.2.0 corrects this defect.

Source data · NVD / CISA · public domain

CVSS
3.1 · 1.9 LOW · CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
Weaknesses (CWE)
CWE-256, CWE-327
Affected products
0 configuration(s)
Published / Modified
2026-06-17 / 2026-06-22

NVD description (verbatim)

Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. In Steeltoe.Configuration.Encryption 4.0.0 through 4.1.0, configuring `encrypt:rsa:algorithm=OAEP` does not enable OAEP encryption. Due to an incorrect BouncyCastle transformation string, the `OAEP` setting selects PKCS#1 v1.5, which is the same algorithm as the `DEFAULT` setting. Steeltoe.Configuration.Encryption version 4.2.0 patches the issue.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability stems from a misconfiguration in how Steeltoe.Configuration.Encryption constructs the transformation string for BouncyCastle when the `encrypt:rsa:algorithm=OAEP` setting is specified. Instead of enabling OAEP (Optimal Asymmetric Encryption Padding), the incorrect string causes the library to select PKCS#1 v1.5 padding—the same algorithm used by the DEFAULT setting. This represents a cryptographic degradation rather than a complete cipher bypass. An attacker with local system access and administrative privileges could potentially influence encrypted configuration data to exploit weaker-than-expected encryption, though the practical attack surface is narrow. The issue was patched by correcting the BouncyCastle transformation string in version 4.2.0.

Business impact

For organizations using Steeltoe.Configuration.Encryption in cloud-native applications, this bug undermines the security posture of encrypted configuration storage if administrators explicitly chose OAEP expecting stronger protection. If sensitive credentials, API keys, or connection strings are encrypted via configuration and an attacker gains local administrative access, the weaker-than-expected encryption could be compromised more readily than intended. The impact is primarily organizational: breach of encryption policy compliance, potential audit findings regarding cryptographic controls, and exposure of configuration secrets in a compromised environment. Organizations relying on this library for configuration encryption should review their threat model to assess whether the OAEP setting was a requirement.

Affected systems

Steeltoe.Configuration.Encryption versions 4.0.0, 4.0.1, 4.0.2, 4.1.0 and all intermediate releases within that range are affected. Any .NET cloud-native application using these versions of Steeltoe's configuration encryption library with the OAEP algorithm explicitly configured is vulnerable. Applications using the DEFAULT algorithm or versions prior to 4.0.0 are unaffected. Version 4.2.0 and later contain the patch.

Exploitability

Exploitation requires local system access and high-level administrative privileges, making opportunistic or remote exploitation unlikely. An attacker would need to: (1) gain local access to a system running the affected Steeltoe version, (2) possess administrative credentials or equivalent system-level access, and (3) interact with encrypted configuration data. The attack is not remotely exploitable and does not require user interaction. The CVSS score of 1.9 (LOW) reflects these stringent preconditions.

Remediation

Upgrade Steeltoe.Configuration.Encryption to version 4.2.0 or later. This is a straightforward dependency update for .NET projects. Before upgrading, verify that your application actually uses the OAEP configuration setting; if your deployment uses DEFAULT or an older unaffected version, the urgency is lower. After patching, administrators should confirm that the OAEP setting now correctly applies OAEP padding by consulting Steeltoe's release notes or testing against your environment's encryption configuration.

Patch guidance

Update the Steeltoe.Configuration.Encryption NuGet package to version 4.2.0 or later in your project dependencies. Verify the update in your package.lock or packages.config file, rebuild your application, and redeploy. No configuration changes are required post-patch; the corrected transformation string will be applied automatically. Test your encrypted configuration workflow in a staging environment before production deployment to ensure compatibility. Consult the Steeltoe project's release notes on GitHub for any additional breaking changes or migration guidance in version 4.2.0.

Detection guidance

Review your application's Steeltoe.Configuration.Encryption dependency version via package manifests (project.csproj, packages.config, or package.lock files). If versions 4.0.0–4.1.0 are present, identify whether your configuration uses `encrypt:rsa:algorithm=OAEP`. Check application logs and configuration files for explicit OAEP settings. If your deployment uses DEFAULT or does not employ RSA encryption configuration, the vulnerability surface is minimal. Monitor Steeltoe project updates and subscribe to security advisories via the official Steeltoe repository on GitHub.

Why prioritize this

Although the CVSS score is LOW (1.9), this vulnerability should be addressed as part of routine dependency management rather than emergency response. Prioritization depends on your specific use case: if your organization explicitly chose OAEP for enhanced encryption of sensitive configuration data, moving to version 4.2.0 should occur during the next planned maintenance window. If your deployment uses DEFAULT settings or does not store highly sensitive data in encrypted configuration, the risk is minimal. The lack of remote exploitability and requirement for local admin access significantly reduces business urgency.

Risk score, explained

The CVSS 3.1 score of 1.9 reflects the combination of local-only attack vector (AV:L), high complexity (AC:H), high privileges required (PR:H), no user interaction (UI:N), and limited confidentiality impact (C:L) on a single system (S:U). The vulnerability does not enable code execution, denial of service, or integrity modification—only potential exposure of encrypted configuration under a narrow threat scenario. This places it squarely in the LOW severity band and aligns with the practical difficulty of exploitation.

Frequently asked questions

Does this vulnerability affect my application if I use the DEFAULT encryption setting?

No. The bug only manifests when `encrypt:rsa:algorithm=OAEP` is explicitly configured. If your application relies on Steeltoe's default encryption behavior or does not specify OAEP, you are not affected by this issue, although upgrading to 4.2.0 is still recommended as part of general maintenance.

Can this vulnerability be exploited remotely or without administrative access?

No. Exploitation requires both local system access and administrative (high) privileges. Remote exploitation over a network is not possible. This constraint significantly limits the practical risk in most cloud and containerized environments where application isolation is enforced.

What is the difference between OAEP and PKCS#1 v1.5 encryption, and why does it matter?

OAEP (Optimal Asymmetric Encryption Padding) is a more modern and cryptographically robust padding scheme that is resistant to certain attacks, including padding oracle attacks. PKCS#1 v1.5 is older and has known theoretical weaknesses. If your organization specifically chose OAEP for compliance or security requirements, the bug means you did not receive the encryption strength you expected, warranting an upgrade to version 4.2.0.

How can I verify that version 4.2.0 correctly applies OAEP padding?

After upgrading, review the Steeltoe project's release notes for version 4.2.0 to confirm the fix. You can also test your encryption workflow in a staging environment with the updated library and verify the transformation string against BouncyCastle's documentation to ensure OAEP is now correctly specified.

This analysis is provided for informational purposes. The CVSS score, affected versions, and patch version are sourced from official vulnerability reports. Readers should verify compatibility and test patches in their own environments before production deployment. This vulnerability requires local administrative access to exploit and is not remotely exploitable. Organizations should assess their own threat model and the sensitivity of encrypted configuration data to determine remediation priority. Consult the official Steeltoe project documentation and security advisories for the most current information. Source: NVD (public-domain), retrieved 2026-07-27. Analysis generated by SEC.co (claude-haiku-4-5).