CVEfocus › CVE database › CVE-2026-114615

CVE-2026-114615Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys

CVSS 7.4 HighEPSS 0.2% (higher than 6% of CVEs)Published 2026-10-22Updated 2026-10-29Assigner: GitHub_M

Authlib is a Python library which builds OAuth and OpenID Connect servers. From 1.3.1 until 1.9.0, OctKey.import_key() checks asymmetric-key markers only at byte zero while Authlib's PEM loaders accept leading whitespace, comments, or a byte-order mark. In deployments that use the documented mixed algorithm registry and already configure verification with PEM or certificate bytes containing such a prefix, an unauthenticated attacker who knows those same public-key bytes can use them as an HMAC secret and forge HS256 tokens with arbitrary identity or authorization claims. This is a bypass of the remediation for CVE-2024-37568. The module-level jwt object reaches OctKey.import_key() in authlib/jose/rfc7518/oct_key.py, where POSSIBLE_UNSAFE_KEYS fails to identify prefixed asymmetric key material. This issue is fixed in version 1.9.0.

CWE-184CWE-347

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python-authlibFix pendingUBUNTU-CVE-2026-114615
Ubuntu 26.04python-authlibFix pendingUBUNTU-CVE-2026-114615
Ubuntu 24.04python-authlibFix pendingUBUNTU-CVE-2026-114615
Ubuntu 22.04python-authlibFix pendingUBUNTU-CVE-2026-114615
Debian 14python-authlibFixed1.9.1-1DEBIAN-CVE-2026-114615
Debian 13python-authlibFix pendingDEBIAN-CVE-2026-114615
Debian 12python-authlibFix pendingDEBIAN-CVE-2026-114615
PyPI libraryauthlibFixed1.9.0PYSEC-2026-4355

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.