{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-114615","id":"CVE-2026-114615","title":"Authlib token forgery via prefixed public keys in HMAC verification","description":"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","descriptionLong":"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.","published":"2026-10-22T21:10:02.023Z","updated":"2026-11-03T17:26:57.500810415Z","reserved":"2026-10-21T20:34:25.600Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"}],"rating":"high","products":["authlib"],"affectedProducts":[{"vendor":"authlib","product":"authlib","defaultStatus":null,"versions":[{"version":">= 1.3.1, < 1.9.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"authlib","purl":"pkg:pypi/authlib","ranges":[">=1.3.1 <1.9.0"],"fixed":["1.9.0"],"advisory":"GHSA-7vr2-2fgp-9w7p"}],"cwes":["CWE-184","CWE-347"],"aliases":["GHSA-7vr2-2fgp-9w7p","PYSEC-2026-4355"],"references":[{"url":"https://github.com/authlib/authlib/security/advisories/GHSA-7vr2-2fgp-9w7p","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Vendor Advisory","advisory","web","evidence"]},{"url":"https://github.com/authlib/authlib/pull/945","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/authlib/authlib/commit/e3bd41cb29dcfee434453b135ffb487884baeedf","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/authlib/authlib/releases/tag/v1.9.0","tags":["x_refsource_MISC","Release Notes","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114615.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114615","tags":["advisory"]},{"url":"https://github.com/authlib/authlib","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00213,"epssPercentile":0.11661,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-114615","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114615","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-114615","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7vr2-2fgp-9w7p","ok":true,"note":"GHSA-7vr2-2fgp-9w7p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114615","ok":true,"note":"scored 2026-11-18"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}