Skip to main content
VulnerabilityPublished Updated

CVE-2026-41425: Authlib · Cross-site request forging when using cache

Affects kaskadeSource GCVE Database

0
Compare
Authoritative record:CVE-2026-41425· Medium 5.4

Not known to be exploited · CVSS 5.4 Medium : upgrade to 4.0.7_3 when convenient.

Data as of 26 Nov 2026, 21:22 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.4
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.7_3, 1.6.11
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.7_3; authlib to 1.6.11.

Affected software

ProductAffectedFixed in
Homebrewkaskadepkg:brew/kaskadeOther threatsAffected
  • >=4.0.4 <4.0.7_3
Fixed in
  • 4.0.7_3
PyPIauthlibpkg:pypi/authlibOther threatsAffected
  • <1.6.11
Fixed in
  • 1.6.11

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 in Authlib version 4.0.7_3 that addresses this CSRF vulnerability by ensuring proper client verification when using the cache parameter. Users should upgrade to version 4.0.7_3 or later to remediate this issue. Until patched, avoid using the cache parameter for auth state storage or implement additional CSRF protections as recommended by RFC 6749 section 10.12.

Description

A cross-site request forgery (CSRF) vulnerability exists in Authlib's OAuth integration when using the cache parameter to store auth state. Without the cache, SessionMiddleware ties the client to the auth state, preventing CSRF. However, when the cache is used, no such protection is in place, allowing an attacker to trick a victim into completing an authorization flow that ties the attacker's account to the victim. This affects all users using the cache for auth state storage in versions >=4.0.4 and <4.0.7_3.

References

Community reviews

Loading reviews…