CVE-2025-61920: Kaskade · Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
Affects kaskadeSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 4.0.5_4 soon.
Data as of 26 Nov 2026, 21:22 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.5_4, 1.6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation 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_4; authlib to 1.6.5.
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 patch is available and should be applied immediately. Authlib version 1.6.4 and later enforce limits of 256 KB on decoded header and signature segment sizes, mitigating the vulnerability. Additionally, it is recommended to reject JWS/JWT inputs exceeding a few kilobytes at the proxy or WAF layer and to implement rate limiting on verification endpoints. Temporary workarounds include enforcing input size limits before passing tokens to Authlib and using application-level throttling to reduce amplification risk.
Description
Authlib's JOSE implementation in versions up to 1.6.3 is vulnerable to a denial of service (DoS) attack via oversized JWS/JWT header or signature segments. An unauthenticated attacker can submit tokens with base64url-encoded segments spanning hundreds of megabytes, causing excessive CPU and memory consumption during verification. This results in service resource exhaustion and potential downtime. The vulnerability is fixed in Authlib version 1.6.4 and later, which enforce a 256 KB limit on header and signature segment sizes.
References
- github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-61920 (opens in a new tab)
- github.com/authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf88447e5e (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)