cve.bz

CVE-2026-27962 authlib authlib

9.1 criticalExploit referenceEPSS 0.6%Fix available

Critical (9.1) in authlib authlib. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in authlib 1.6.9.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-03-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27962 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27962?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27962?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27962 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
authlib:authlibbefore 1.6.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wvwj-cvrp-7pv5PyPIauthlib<1.6.91.6.9
PYSEC-2026-287PyPIauthlib<1.6.91.6.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-authlib0.15.4-1+deb11u2DLA-4579-1
Debian12python-authlib1.2.0-1+deb12u2DEBIAN-CVE-2026-27962
Debian13python-authlibno fix listedDEBIAN-CVE-2026-27962
Debian14python-authlib1.6.9-1DEBIAN-CVE-2026-27962
Ubuntu25.10, 26.10python-authlibno fix listedUBUNTU-CVE-2026-27962
UbuntuPro:22.04:LTSpython-authlib0.15.5-1ubuntu0.1~esm2UBUNTU-CVE-2026-27962 USN-8557-1
UbuntuPro:24.04:LTSpython-authlib1.3.0-1ubuntu0.1~esm2UBUNTU-CVE-2026-27962 USN-8557-1
UbuntuPro:26.04:LTSpython-authlib1.6.7-1ubuntu0.1~esm1UBUNTU-CVE-2026-27962 USN-8557-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python-Authlib1.3.1-150600.3.17.1SUSE-SU-2026:0975-1
openSUSELeap 15.6python-Authlib1.3.1-150600.3.17.1SUSE-SU-2026:0975-1
openSUSELeap 16.0python-Authlib1.5.2-bp160.3.1openSUSE-SU-2026:20392-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This critical vulnerability in Authlib's JWS implementation allows unauthenticated attackers to forge JWTs by embedding their own cryptographic key in the token header. Impact is high to confidentiality and integrity as attackers can bypass authentication.

The impact for Red Hat Quay is rated as low because it imports authlib solely as a JWK parsing utility and performs all JWT signature verification through PyJWT, so the vulnerable jws.deserialize_compact() code path is never called.

Red Hat OpenShift AI is not affected, since authlib is only present as a transitive dependency in the dev dependency group and is not included in production image builds, so the vulnerable code is not present in the shipped product.

Red Hat Satellite is not affected, as authlib is only present as a dependency of fastmcp. In Satellite, fastmcp only invokes authlib using jwt.decode() which isn't able to reach the vulnerability condition even with key=none.

ProductPackageStateAdvisory
Red Hat Quay 3.10quay/quay-rhel8:1773971077Fixed 2026-03-24RHSA-2026:5665
Red Hat Quay 3.14quay/quay-rhel8:1775512163Fixed 2026-04-09RHSA-2026:7314
Red Hat Quay 3.15quay/quay-rhel8:1780891395Fixed 2026-06-09RHSA-2026:24853
Red Hat Quay 3.16quay/quay-rhel9:1779204086Fixed 2026-05-19RHSA-2026:19375
Red Hat Quay 3.18quay/quay-rhel9:1784987273Fixed 2026-07-29RHSA-2026:48085
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-chatbot-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mlflow-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9Not affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-minimal-cuda-py312-rhel9Not affected
8 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27962.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON