Skip to main content
CVE-2026-48526VulnerabilityPublished Updated

Pyjwt: Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC

Affects pyjwtSource GCVE Database

0
Compare
Authoritative record:CVE-2026-48526· High 7.4

Not known to be exploited · CVSS 7.4 High · fixed in 1.3.0-1ubuntu0.1+esm2 : patch pyjwt soon.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.0-1ubuntu0.1+esm2, 1.5.3+ds1-1ubuntu0.1+esm2, 1.7.1-2ubuntu2.1+esm2 +3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

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–
Ubuntu 24.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=nobleOther threatsAffected
  • <2.7.0-1ubuntu0.2
Fixed in
  • 2.7.0-1ubuntu0.2
Ubuntu 22.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=jammyOther threatsAffected
  • <2.3.0-1ubuntu0.4
Fixed in
  • 2.3.0-1ubuntu0.4
Ubuntu Pro 20.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/focalOther threatsAffected
  • <1.7.1-2ubuntu2.1+esm2
Fixed in
  • 1.7.1-2ubuntu2.1+esm2
Ubuntu Pro 18.04 LTSpyjwtpkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1.5.3+ds1-1ubuntu0.1+esm2
Fixed in
  • 1.5.3+ds1-1ubuntu0.1+esm2

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. Prior to 2.13.0, when the verifier is decoding JSON Web Tokens, while supporting both asymmetric and HMAC algorithms, the library does not validate use of JSON Web Keys in HMAC algorithm, allowing attacker to use the issuer public key as the secret key for HMAC algorithm. This vulnerability is fixed in 2.13.0.

References

Community reviews

Loading reviews…