# CVE-2026-50202: Steeltoe's static JWKS cache shared across schemes and never invalidated

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-06-17T21:53:38.208Z
- Modified: 2026-07-02T20:56:33.604Z
- Also known as: GHSA-7fqc-p256-7pwj
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Steeltoe is an open source project that provides a collection of libraries that helps users build cloud-native applications. In Steeltoe.Security.Authentication.CloudFoundryBase prior to version 3.4.0, Steeltoe.Security.Authentication.JwtBearer prior to version 4.2.0, and Steeltoe.Security.Authentication.OpenIdConnect prior to version 4.2.0, 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. 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 patch the issue. If an immediate upgrade is not possible: In multi-scheme deployments, configure only one `JwtBearer` scheme per application when different identity providers are required; and/or restart the application process after an identity provider signing key rotation to clear stale cached keys.

(As written by CVE List.)

## Affected

- SteeltoeOSS Steeltoe.Security.Authentication.CloudFoundryBase: < 3.4.0
- SteeltoeOSS Steeltoe.Security.Authentication.JwtBearer: < 4.2.0
- SteeltoeOSS Steeltoe.Security.Authentication.OpenIdConnect: < 4.2.0
- Steeltoe.Security.Authentication.JwtBearer (NuGet): before 4.2.0
- Steeltoe.Security.Authentication.OpenIdConnect (NuGet): before 4.2.0
- Steeltoe.Security.Authentication.CloudFoundryBase (NuGet): before 3.4.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 5.9 Medium `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-7pwj> (web)
- <https://github.com/SteeltoeOSS/Steeltoe/commit/04db2ace3b806bfe0260bb7d4bda340f241eff48> (web)
- <https://github.com/SteeltoeOSS/Steeltoe/commit/17b27b8be546ae3f83a2f6e91d45e0c84c5314b7> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50202> (advisory)
- <https://github.com/SteeltoeOSS/security-advisories> (package)

## Sources

- CVE List: [CVE-2026-50202](https://www.cve.org/CVERecord?id=CVE-2026-50202), CVE Terms of Use, modified 2026-06-18
- GitHub Advisory Database: [GHSA-7fqc-p256-7pwj](https://github.com/advisories/GHSA-7fqc-p256-7pwj), CC-BY-4.0, modified 2026-07-02
- NVD: [CVE-2026-50202](https://nvd.nist.gov/vuln/detail/CVE-2026-50202), Public domain, modified 2026-06-22

---

Page: https://cve.day/CVE-2026-50202 · Whole record: https://cve.day/CVE-2026-50202.json · Rebuilt by cve.day 2026-11-25T22:59:25.024Z
