{"id":"CVE-2026-50202","published":"2026-06-17T21:53:38Z","modified":"2026-06-18T13:08:28Z","title":"Steeltoe's static JWKS cache shared across schemes and never invalidated","vendor":"SteeltoeOSS","product":"Steeltoe.Security.Authentication.CloudFoundryBase","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0029,"percentile":0.22046,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"references":[{"url":"https://github.com/SteeltoeOSS/security-advisories/security/advisories/GHSA-7fqc-p256-7pwj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/SteeltoeOSS/Steeltoe/commit/04db2ace3b806bfe0260bb7d4bda340f241eff48","tags":["x_refsource_MISC"]},{"url":"https://github.com/SteeltoeOSS/Steeltoe/commit/17b27b8be546ae3f83a2f6e91d45e0c84c5314b7","tags":["x_refsource_MISC"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":4.41},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"steeltoeoss","affectedVersions":[{"vendor":"SteeltoeOSS","product":"Steeltoe.Security.Authentication.CloudFoundryBase","versions":["< 3.4.0"]},{"vendor":"SteeltoeOSS","product":"Steeltoe.Security.Authentication.JwtBearer","versions":["< 4.2.0"]},{"vendor":"SteeltoeOSS","product":"Steeltoe.Security.Authentication.OpenIdConnect","versions":["< 4.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-18T13:08:02.726405Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Steeltoe.Security.Authentication.JwtBearer","vulnerableRanges":["<4.2.0"],"patched":["4.2.0"],"from":["GHSA-7fqc-p256-7pwj"],"provenance":"source"},{"ecosystem":"NuGet","package":"Steeltoe.Security.Authentication.OpenIdConnect","vulnerableRanges":["<4.2.0"],"patched":["4.2.0"],"from":["GHSA-7fqc-p256-7pwj"],"provenance":"source"},{"ecosystem":"NuGet","package":"Steeltoe.Security.Authentication.CloudFoundryBase","vulnerableRanges":["<3.4.0"],"patched":["3.4.0"],"from":["GHSA-7fqc-p256-7pwj"],"provenance":"source"}],"summary":{"text":"Steeltoe's JWT signing key cache in the TokenKeyResolver component of Steeltoe.Security.Authentication.CloudFoundryBase (plus the JwtBearer and OpenIdConnect authentication packages) keys cached keys only by kid, without namespacing by authority, and never expires them. An attacker with network access who has high-privilege credentials and can exploit the shared cache in applications with multiple JwtBearer schemes pointing at different identity providers can have a key from one provider accepted for another, while keys that were rotated or revoked remain trusted until the process restarts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:50Z"},"euvd":{"id":"EUVD-2026-37817","exploited":false,"provenance":"source"}}