Paper/Archive/CVE-2026-27962

CVE-2026-27962

authlib authlib — Authlib JWS JWK Header Injection: Signature Verification Bypass

Description · from the CVE record

Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.9, a JWK Header Injection vulnerability in authlib's JWS implementation allows an unauthenticated attacker to forge arbitrary JWT tokens that pass signature verification. When key=None is passed to any JWS deserialization function, the library extracts and uses the cryptographic key embedded in the attacker-controlled JWT jwk header field. An attacker can sign a token with their own private key, embed the matching public key in the header, and have the server accept the forged token as cryptographically valid — bypassing authentication and authorization entirely. This issue has been patched in version 1.6.9.

Affected

ProductAffectedFixed inSource
authlib< 1.6.9–CNA
Red Hat Quay 3.10see advisory1773971077redhat-SADP
Red Hat Quay 3.14see advisory1775512163redhat-SADP
Red Hat Quay 3.15see advisory1780891395redhat-SADP
Red Hat Quay 3.16see advisory1779204086redhat-SADP
Red Hat Quay 3.18see advisory1784987273redhat-SADP
Lightspeed Coresee advisory–redhat-SADP
Red Hat Ansible Automation Platform 2see advisory–redhat-SADP
Red Hat Ansible Automation Platform 2see advisory–redhat-SADP
Red Hat OpenShift AI (RHOAI)see advisory–redhat-SADP
Red Hat OpenShift AI (RHOAI)see advisory–redhat-SADP
Red Hat OpenShift AI (RHOAI)see advisory–redhat-SADP

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
redhat-SADP (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refgithub.com/authlib/authlib/security/advisories/GHSA-wvwj-cvrp-7pv5refgithub.com/authlib/authlib/commit/a5d4b2d4c9e46bfa11c82f85fdc2bcc0b50ae681refgithub.com/authlib/authlib/releases/tag/v1.6.9refaccess.redhat.com/security/cve/CVE-2026-27962refbugzilla.redhat.com/show_bug.cgi?id=2448164refsecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27962.jsonadvisoryaccess.redhat.com/errata/RHSA-2026:5665advisoryaccess.redhat.com/errata/RHSA-2026:7314advisoryaccess.redhat.com/errata/RHSA-2026:24853advisoryaccess.redhat.com/errata/RHSA-2026:19375advisoryaccess.redhat.com/errata/RHSA-2026:48085