THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-7vr2-2fgp-9w7p (high) — Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys

[GHSA] GHSA-7vr2-2fgp-9w7p (high) — Authlib incomplete algorithm-confusion fix permits HMAC forgery with prefixed public keys

medgithub_advisoriesPublished 2026-10-27

GHSA-7vr2-2fgp-9w7p Severity: high CVE: CVE-2026-114615

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

## Summary

`OctKey.import_key()` carries the only guard that stops an asymmetric public key from being used as an HMAC secret in `authlib.jose`. That guard is `raw_key.startswith(POSSIBLE_UNSAFE_KEYS)` — anchored at byte 0 — while the loader that cons

Indicators of compromise

Original source: https://github.com/advisories/GHSA-7vr2-2fgp-9w7p