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…

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: Wed Jun 17 2026 (06/17/2026, 21:53:38 UTC)
Source: CVE Database V5
Vendor/Project: SteeltoeOSS
Product: Steeltoe.Security.Authentication.CloudFoundryBase

Description

Steeltoe.Security.Authentication.CloudFoundryBase and related Steeltoe authentication libraries prior to specified versions have a vulnerability where the JWT signing key cache uses the 'kid' value as the sole cache key without differentiating by authority. This can cause tokens from one identity provider to be validated by keys from another in multi-scheme deployments. Additionally, cached keys do not expire, so revoked or rotated keys remain trusted until the application restarts. Fixed versions are available that address this issue.

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: 06/17/2026, 22:50:17 UTC

Technical Analysis

CVE-2026-50202 affects Steeltoe.Security.Authentication.CloudFoundryBase versions prior to 3.4.0, Steeltoe.Security.Authentication.JwtBearer versions prior to 4.2.0, and Steeltoe.Security.Authentication.OpenIdConnect versions prior to 4.2.0. The vulnerability arises because the JWT signing key cache in TokenKeyResolver uses the '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 incorrectly validate tokens for another scheme. Furthermore, cached keys lack expiration, causing rotated or revoked keys to 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 when multiple identity providers are used or restarting the application after key rotation to clear stale cache entries.

Potential Impact

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

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 remediate the vulnerability. If immediate upgrade is not possible, mitigate by configuring only one JwtBearer scheme per application when multiple identity providers are used, and restart the application process after any identity provider signing key rotation 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: 6/17/2026, 10:35:08 PM

Last enriched: 6/17/2026, 10:50:17 PM

Last updated: 6/18/2026, 12:14:10 AM

Views: 5

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