CVE-2026-50202 — Vulnerability in Steeltoe.Security…oundryBase
Steeltoe's static JWKS cache shared across schemes and never invalidated
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.47%). Schedule for your next planned update.
Does your project use an affected Steeltoe.Security.Authentication.CloudFoundryBase version?
Paste your packages.lock.json to check it for CVE-2026-50202 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.
Summary
Summary
The JWT signing key cache in TokenKeyResolver uses kid as the sole cache key without namespacing by authority. In applications with multiple JwtBearer schemes pointing to different identity providers, a key fetched for one scheme can satisfy token validation for another. Additionally, cached keys have no expiration, so rotated or revoked keys remain trusted until the application process restarts.
Impact
In multi-scheme deployments, an attacker who controls one identity provider's signing key can forge tokens accepted by other schemes within the same application. For all applications using TokenKeyResolver, a signing key removed from the identity provider's JWKS endpoint remains trusted indefinitely.
Mitigations
If an immediate upgrade is not possible:
- In multi-scheme deployments, configure only one
JwtBearerscheme per application when different identity providers are required. - Restart the application process after an identity provider signing key rotation to clear stale cached keys.
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.
dotnet add package Steeltoe.Security.Authentication.CloudFoundryBase --version 3.4.0
dotnet add package Steeltoe.Security.Authentication.JwtBearer --version 4.2.0
dotnet add package Steeltoe.Security.Authentication.OpenIdConnect --version 4.2.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: NuGet (3).
| Package | Fixed In |
|---|---|
| Steeltoe.Security.Authentication.CloudFoundryBase NuGet · Affected: 2.2.0, 2.2.0-rc1, 2.2.0-rc2, 2.3.0 (+38 more) | 3.4.0 |
| Steeltoe.Security.Authentication.JwtBearer NuGet · Affected: 4.0.0, 4.0.0-beta1, 4.0.0-rc1, 4.1.0 | 4.2.0 |
| Steeltoe.Security.Authentication.OpenIdConnect NuGet · Affected: 4.0.0, 4.0.0-beta1, 4.0.0-rc1, 4.1.0 | 4.2.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-668
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-7fqc-p256-7pwjWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50202ADVISORY
- https://github.com/SteeltoeOSS/Steeltoe/commit/04db2ace3b806bfe0260bb7d4bda340f241eff48WEB
- https://github.com/SteeltoeOSS/Steeltoe/commit/17b27b8be546ae3f83a2f6e91d45e0c84c5314b7WEB
- https://github.com/SteeltoeOSS/security-advisoriesPACKAGE
Frequently Asked Questions
- What is CVE-2026-50202?
- Steeltoe's static JWKS cache shared across schemes and never invalidated. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2026-50202?
- CVE-2026-50202 affects Steeltoe.Security.Authentication.CloudFoundryBase, Steeltoe.Security.Authentication.JwtBearer and Steeltoe.Security.Authentication.OpenIdConnect. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-50202 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 33.2% 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
Related CVEs
- CVE-2026-114154MEDIUM
Microsoft Security Advisory CVE-2026-114154 - ASP.NET Core Denial of Service Vulnerability
- GHSA-6856-87hx-p5x7MEDIUM
Microsoft Security Advisory CVE-2026-105544 - .NET Elevation of Privilege Vulnerability