CVE-2024-37568: Python authlib · lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys
Affects python-authlibSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 7.5 High · fixed in 0.15.5-1ubuntu0.1~esm1 : patch python-authlib soon.
Data as of 9 Nov 2026, 14:35 UTC
- Patch
- Available – fixed in 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
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 3 Nov 2025
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 9 Nov 2026.
What to do
Upgrade the Ubuntu python-authlib to 0.15.5-1ubuntu0.1~esm1 (package) or 1.3.0-1ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammyOther 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 and users should update Authlib to versions 0.15.5-1ubuntu0.1~esm1 or 1.3.0-1ubuntu0.1~esm1 or later. Applying the official patches from the Ubuntu security notice USN-8065-1 will remediate this vulnerability. No additional mitigation steps are required once the update is applied.
Description
Authlib versions before 1.3.1 have a vulnerability where the JWT verification process allows algorithm confusion with asymmetric public keys. Specifically, if no algorithm is specified in a jwt.decode call, HMAC verification is permitted using any asymmetric public key. This flaw can enable attackers to bypass signature verification and forge tokens, potentially leading to authentication bypass or privilege escalation. The issue is fixed in versions 0.15.5-1ubuntu0.1~esm1 and 1.3.0-1ubuntu0.1~esm1.
References
- ubuntu.com/security/CVE-2024-37568 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-37568 (opens in a new tab)
- github.com/lepture/authlib/issues/654 (opens in a new tab)
- github.com/lepture/authlib/commit/3bea812acefebc9ee108aa24557be3ba8971daf1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8065-1 (opens in a new tab)