CVE-2025-59420: Authlib · JWS/JWT accepts unknown crit headers (RFC violation → possible authz bypass)
Affects kaskadeSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 4.0.5_3 soon.
Data as of 26 Nov 2026, 21:22 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.5_3, 1.6.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Oct 2026.
What to do
Upgrade kaskade to 4.0.5_3; authlib to 1.6.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewkaskadepkg:brew/kaskadeOther threats | Affected
| Fixed in
|
PyPIauthlibpkg:pypi/authlibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Authlib version 4.0.5_3. Users should upgrade to this version or later to ensure proper enforcement of the `crit` header semantics as per RFC 7515. Until patched, avoid relying on Authlib for verifying tokens that use critical headers or operate in mixed-language environments with strict verifiers. No other mitigations are specified.
Description
Authlib version 1.6.3's JWS verification improperly accepts JSON Web Signatures (JWS) that declare unknown critical header parameters (`crit`), violating RFC 7515 requirements. This flaw allows tokens with critical headers that strict verifiers reject to be accepted, potentially causing authorization bypass in mixed-language environments. The issue arises because Authlib does not enforce the 'must-understand' semantics of the `crit` header, leading to split-brain verification scenarios where some services reject tokens while others accept them. This can enable replay attacks or privilege escalation if critical security semantics are ignored.
References
- github.com/authlib/authlib/security/advisories/GHSA-9ggr-2464-2j32 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-59420 (opens in a new tab)
- github.com/authlib/authlib/commit/6b1813e4392eb7c168c276099ff7783b176479df (opens in a new tab)
- github.com/authlib/authlib (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/10/msg00032.html (opens in a new tab)