Skip to main content
VulnerabilityPublished Updated

CVE-2025-68158: Kaskade · Authlib has 1-click Account Takeover vulnerability

Affects kaskadeSource GCVE Database

0
Compare

Not known to be exploited · CVSS 5.7 Medium : upgrade to 4.0.6_2 when convenient.

Data as of 26 Nov 2026, 21:22 UTC

CVSS 3.1 base score
5.7Medium
How severe the flaw is on the 0–10 CVSS scale.
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.6_2, 1.6.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 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.6_2; authlib to 1.6.6.

Affected software

ProductAffectedFixed in
Homebrewkaskadepkg:brew/kaskadeOther threatsAffected
  • >=4.0.4 <4.0.6_2
Fixed in
  • 4.0.6_2
PyPIauthlibpkg:pypi/authlibOther threatsAffected
  • 1.0.0 – 1.6.5
  • >=1.0.0 <1.6.6
19 affected builds
Fixed in
  • 1.6.6

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.6_2. Applications using affected versions should upgrade to 4.0.6_2 or later. The vulnerability can be mitigated by ensuring the OAuth state parameter is tied to the user's session, either by continuing to store state in the session even when caching is enabled or by incorporating a session-specific secret (e.g., a hash of the session ID) into the cache key. This ensures that state data cannot be reused across sessions, preventing CSRF-based account takeover.

Description

A vulnerability in Authlib's cache-backed state storage allows Cross-Site Request Forgery (CSRF) leading to a one-click account takeover in applications using Authlib. The issue arises because the OAuth state parameter is stored in a cache without binding it to the user's session, enabling attackers to reuse a valid state value to hijack OAuth flows. This can cause an attacker-initiated OAuth authorization code to be accepted in the context of a victim's session, potentially linking the attacker's SSO identity to the victim's account. The flaw affects Authlib versions >=4.0.4 and <4.0.6_2 and has been fixed in version 4.0.6_2. The vulnerability has a CVSS score of 5.7 (medium severity).

References

Community reviews

Loading reviews…