Skip to main content
VulnerabilityPublished

CVE-2024-37568: lepture Authlib · Improper Access Control

Source CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.5 High · fixed in 1.3.1 : patch affected systems soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 26 Oct 2026.

What to do

AI-suggested

  1. Upgrade lepture Authlib to version 1.3.1 or later immediately, as this version contains the fix for the algorithm confusion vulnerability.
  2. Review all jwt.decode calls in application code to ensure that the 'algorithms' parameter is explicitly specified, restricting accepted algorithms to those intended (e.g., ['RS256'] for RSA signatures). Avoid relying on default algorithm selection.
  3. Implement strict input validation and token verification policies to detect and reject tokens with unexpected or unsupported algorithms.
  4. Conduct code audits and penetration testing focused on JWT handling to identify any other potential misconfigurations or vulnerabilities.
  5. Monitor authentication logs for anomalies such as unexpected token issuances or verification failures that could indicate exploitation attempts.
  6. Educate developers on secure JWT usage patterns and the risks of algorithm confusion attacks.
  7. If upgrading immediately is not feasible, consider implementing compensating controls such as web application firewalls (WAFs) with rules to detect suspicious JWT tokens or unusual authentication patterns.
  8. Maintain an inventory of applications and services using Authlib to ensure comprehensive coverage of the mitigation efforts.

Description

lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)

References

Community reviews

Loading reviews…