{"id":"CVE-2026-114615","published":"2026-10-22T21:10:02Z","modified":"2026-10-29T02:38:05Z","title":"Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys","vendor":"authlib","product":"authlib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00206,"percentile":0.05975,"provenance":"source"},"cwes":[{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/authlib/authlib/security/advisories/GHSA-7vr2-2fgp-9w7p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authlib/authlib/pull/945","tags":["x_refsource_MISC"]},{"url":"https://github.com/authlib/authlib/commit/e3bd41cb29dcfee434453b135ffb487884baeedf","tags":["x_refsource_MISC"]},{"url":"https://github.com/authlib/authlib/releases/tag/v1.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":1.19},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"authlib","affectedVersions":[{"vendor":"authlib","product":"authlib","versions":[">= 1.3.1, < 1.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-29T02:37:41.689098Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"authlib","vulnerableRanges":[">=1.3.1, <1.9.0"],"patched":["1.9.0"],"from":["GHSA-7vr2-2fgp-9w7p","PYSEC-2026-4355"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-108514","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-authlib-cve-2024-37568","parents":[{"from":"CVE-2024-37568","to":"CVE-2026-114615","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a bypass of the remediation for CVE-2024-37568.","from":"CVE.org","in":"CVE-2026-114615"}]}]}}