Authentication policy bypass via mismatched verification algorithm
Published May 28, 2026 · Updated May 28, 2026
Improper signature verification in PyJWT 2.9.0 through 2.12.1 allows remote authenticated users to bypass JWT algorithm policy. In jwt/api_jws.py, _verify_signature() checks the token header algorithm against the allow-list but verifies with the algorithm bound to the PyJWK key. Exploitation requires control of an accepted JWK/JWKS private key and permits authentication as that registered principal with a blocked algorithm, not keyless forgery or cross-tenant impersonation.
Summary
What happened
Improper signature verification in PyJWT 2.9.0 through 2.12.1 allows remote authenticated users to bypass JWT algorithm policy. In jwt/api_jws.py, _verify_signature() checks the token header algorithm against the allow-list but verifies with the algorithm bound to the PyJWK key. Exploitation requires control of an accepted JWK/JWKS private key and permits authentication as that registered principal with a blocked algorithm, not keyless forgery or cross-tenant impersonation.
The record
- CVE
- CVE-2026-48523
- Published
- May 28, 2026
- Updated
- May 28, 2026
- Vendor
- Jose Padilla
- Product
- PyJWT
- Classifications
- CWE-347, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 28, 2026CVE publishedPublication date reported by the CVE source.
- May 28, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 2.9.0, < 2.13.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream PyJWK algorithm-policy bypass proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo