CVE-2025-59936
published critical CVSS 3.0 · 9.4get-jwks poisoned JWKS cache allows post-fetch issuer validation bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nearform | — | get-jwks< 11.0.2 | Affected | Not stated | GitHub_M |
Description
get-jwks contains fetch utils for JWKS keys. In versions prior to 11.0.2, a vulnerability in get-jwks can lead to cache poisoning in the JWKS key-fetching mechanism. When the iss (issuer) claim is validated only after keys are retrieved from the cache, it is possible for cached keys from an unexpected issuer to be reused, resulting in a bypass of issuer validation. This design flaw enables a potential attack where a malicious actor crafts a pair of JWTs, the first one ensuring that a chosen public key is fetched and stored in the shared JWKS cache, and the second one leveraging that cached key to pass signature validation for a targeted iss value. The vulnerability will work only if the iss validation is done after the use of get-jwks for keys retrieval. This issue has been patched in version 11.0.2.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nearform | get-jwks | < 11.0.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
2Provider assertions
2GitHub_M · cna
get-jwks poisoned JWKS cache allows post-fetch issuer validation bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c753da5d583ca698f70c15d04643c25e9b162baa31afb4e47f343b490b0c16e7
- Ingested
- 23 Sep 2026, 08:54:33 UTC
- Source record
- Official CVE record