GHSA-7fqc-p256-7pwj

Suggest an improvement
Source
https://github.com/advisories/GHSA-7fqc-p256-7pwj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-7fqc-p256-7pwj/GHSA-7fqc-p256-7pwj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7fqc-p256-7pwj
Aliases
Published
2026-07-02T20:31:47Z
Modified
2026-07-02T20:45:11.927488692Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Steeltoe's static JWKS cache shared across schemes and never invalidated
Details

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.
Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-668"
    ],
    "severity": "MODERATE",
    "github_reviewed_at": "2026-07-02T20:31:47Z",
    "nvd_published_at": "2026-06-17T23:17:04Z"
}
References

Affected packages

NuGet
Steeltoe.Security.Authentication.JwtBearer

Package

Name
Steeltoe.Security.Authentication.JwtBearer
View open source insights on deps.dev
Purl
pkg:nuget/Steeltoe.Security.Authentication.JwtBearer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.0

Affected versions

4.*
4.0.0-beta1
4.0.0-rc1
4.0.0
4.1.0

Database specific

last_known_affected_version_range
"<= 4.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-7fqc-p256-7pwj/GHSA-7fqc-p256-7pwj.json"
Steeltoe.Security.Authentication.OpenIdConnect

Package

Name
Steeltoe.Security.Authentication.OpenIdConnect
View open source insights on deps.dev
Purl
pkg:nuget/Steeltoe.Security.Authentication.OpenIdConnect

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.0

Affected versions

4.*
4.0.0-beta1
4.0.0-rc1
4.0.0
4.1.0

Database specific

last_known_affected_version_range
"<= 4.1.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-7fqc-p256-7pwj/GHSA-7fqc-p256-7pwj.json"
Steeltoe.Security.Authentication.CloudFoundryBase

Package

Name
Steeltoe.Security.Authentication.CloudFoundryBase
View open source insights on deps.dev
Purl
pkg:nuget/Steeltoe.Security.Authentication.CloudFoundryBase

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.0

Affected versions

2.*
2.2.0-rc1
2.2.0-rc2
2.2.0
2.3.0-rc1
2.3.0-rc2
2.3.0
2.4.0-rc1
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
3.*
3.0.0-m1
3.0.0-m2
3.0.0-m3
3.0.0-rc1
3.0.0
3.0.1
3.0.2
3.1.0-rc1
3.1.0-rc2
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0-rc1
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.2.5
3.2.6
3.2.7
3.2.8
3.3.0

Database specific

last_known_affected_version_range
"<= 3.3.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-7fqc-p256-7pwj/GHSA-7fqc-p256-7pwj.json"