CVE-2024-37568Authlib
High 7.5 No auth needed
Follow: this CVE · Authlib · Authlib We alert you by email or Slack (account required).
- 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
- 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.)
What to do
- Apply the vendor's security update for Authlib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| authlib | authlib | < 1.3.1 |
Official advisories
- python313-Authlib-1.7.2-3.1 on GA media · SUSE · openSUSE-SU-2026:11614-1 · Aug 26, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- lists.fedoraproject.org
- lists.fedoraproject.org
- www.vicarius.io
- lists.debian.org