CVE-2026-48523: Pyjwt · From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode()
Affects pyjwtSource GCVE Database
Not known to be exploited · CVSS 5.4 Medium : upgrade to 2.10.1-4ubuntu1.1 when convenient.
Data as of 24 Nov 2026, 20:42 UTC
- Patch
- Available – fixed in 2.10.1-4ubuntu1.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu pyjwt package to 2.10.1-4ubuntu1.1.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10pyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.
References
- ubuntu.com/security/CVE-2026-48523 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-48523 (opens in a new tab)
- github.com/jpadilla/pyjwt/security/advisories/GHSA-jq35-7prp-9v3f (opens in a new tab)
- github.com/jpadilla/pyjwt/commit/95791b1759b8aa4f2203575d344d5c78564cdc81 (opens in a new tab)
- ubuntu.com/security/notices/USN-8823-1 (opens in a new tab)