Live threats

All CVEs / Authlib

CVE-2024-37568Authlib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.6%
probability of exploitation in 30 days · percentile 41
Auth required
No
Published
Jun 9, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347, CWE-284
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.)

Original NVD text.

What to do

  1. Apply the vendor's security update for Authlib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI authlib < 1.3.1 1.3.1 pip install "authlib>=1.3.1"
PyPI authlib < 1.3.1 1.3.1 pip install "authlib>=1.3.1"

Per OSV / GitHub Advisories (GHSA-5357-c2jx-v7qh, PYSEC-2024-52). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
authlibauthlib< 1.3.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.