Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2026-48523· Medium 5.4

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

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=resoluteOther threatsAffected
  • <2.10.1-4ubuntu1.1
Fixed in
  • 2.10.1-4ubuntu1.1
Ubuntu 25.10pyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=questingOther threatsAffected
  • =2.10.1-2
  • =2.10.1-2ubuntu0.1
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

Community reviews

Loading reviews…