Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 79%

CVE-2026-50202: CWE-668: Exposure of Resource to Wrong Sphere in SteeltoeOSS Steeltoe.Security.Authentication.CloudFoundryBase

0
Medium
VulnerabilityCVE-2026-50202cvecve-2026-50202cwe-668
Published: 06/17/2026 (06/17/2026, 21:53:38 UTC)
Source: CVE Database V5
Vendor/Project: SteeltoeOSS
Product: Steeltoe.Security.Authentication.CloudFoundryBase

Description

A vulnerability in Steeltoe.Security.Authentication.CloudFoundryBase and related Steeltoe authentication libraries prior to certain versions allows improper caching of JWT signing keys. The cache uses the 'kid' value without namespacing by authority, causing keys from one identity provider to be incorrectly trusted for another in multi-scheme applications. Cached keys also do not expire, so revoked or rotated keys remain trusted until the application restarts. Fixed versions address this issue by properly namespacing and managing cache expiration.

CVSS v3.1

Score 5.9medium

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

Affected software

SteeltoeOSS/steeltoe.security.authentication.cloudfoundrybase
pkg:nuget/SteeltoeOSS/steeltoe.security.authentication.cloudfoundrybase
Affected versions
<3.4.0
SteeltoeOSS/steeltoe.security.authentication.jwtbearer
pkg:nuget/SteeltoeOSS/steeltoe.security.authentication.jwtbearer
Affected versions
<4.2.0
SteeltoeOSS/steeltoe.security.authentication.openidconnect
pkg:nuget/SteeltoeOSS/steeltoe.security.authentication.openidconnect
Affected versions
<4.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:07:05 UTC

Technical Analysis

CVE-2026-50202 describes a vulnerability in Steeltoe.Security.Authentication.CloudFoundryBase versions prior to 3.4.0, Steeltoe.Security.Authentication.JwtBearer prior to 4.2.0, and Steeltoe.Security.Authentication.OpenIdConnect prior to 4.2.0. The JWT signing key cache in the TokenKeyResolver class uses the 'kid' (key ID) as the sole cache key without differentiating by authority. This flaw allows a key fetched for one JwtBearer scheme to validate tokens for another scheme when multiple schemes with different identity providers are used in the same application. Additionally, cached keys do not expire, so rotated or revoked keys remain trusted until the application process restarts. The issue is patched in versions 3.4.0, 4.2.0, and 4.2.0 respectively. Workarounds include limiting to one JwtBearer scheme per application or restarting the application after key rotation.

Potential Impact

This vulnerability can lead to exposure of resources to the wrong authentication sphere, allowing tokens validated against one identity provider to be accepted by another, potentially enabling unauthorized access. The lack of cache expiration means revoked or rotated keys remain trusted, increasing the window of risk until application restart. The CVSS score of 5.9 (medium severity) reflects the network attack vector, high privileges required, and high impact on confidentiality and integrity without availability impact.

Mitigation Recommendations

A fix is available in Steeltoe.Security.Authentication.CloudFoundryBase version 3.4.0, Steeltoe.Security.Authentication.JwtBearer version 4.2.0, and Steeltoe.Security.Authentication.OpenIdConnect version 4.2.0. Users should upgrade to these versions to resolve the issue. If immediate upgrade is not feasible, mitigate by configuring only one JwtBearer scheme per application when using different identity providers, or restart the application process after identity provider signing key rotations to clear stale cached keys.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-03T22:05:13.646Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a33211cf198dc38c11fab3a

Added to database: 06/17/2026, 22:35:08 UTC

Last enriched: 07/02/2026, 23:07:05 UTC

Last updated: 07/15/2026, 07:47:31 UTC

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses