Skip to main content

CVE-2026-50202 — Vulnerability in Steeltoe.Security…oundryBase

MEDIUM

Steeltoe's static JWKS cache shared across schemes and never invalidated

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

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.

Check my packages.lock.json

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 JwtBearer scheme 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.

NuGet
Update Steeltoe.Security.Authentication.CloudFoundryBase to 3.4.0 or later
dotnet add package Steeltoe.Security.Authentication.CloudFoundryBase --version 3.4.0
NuGet
Update Steeltoe.Security.Authentication.JwtBearer to 4.2.0 or later
dotnet add package Steeltoe.Security.Authentication.JwtBearer --version 4.2.0
NuGet
Update Steeltoe.Security.Authentication.OpenIdConnect to 4.2.0 or later
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).

PackageFixed 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.04.2.0
Steeltoe.Security.Authentication.OpenIdConnect NuGet · Affected: 4.0.0, 4.0.0-beta1, 4.0.0-rc1, 4.1.04.2.0

Vulnerability Classification

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

CVSS Score Breakdown

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

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

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

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

CVSS Score
5.9

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.47%
EPSS percentile: 33.2

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

GHSA-7fqc-p256-7pwj

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json