Live threats

All CVEs / Pyjwt Project

CVE-2026-48526Pyjwt Project Pyjwt

High 7.4 No auth needed

Priority
59
CVSS 3.1
7.4
EPSS
—
Auth required
No
Published
May 28, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287, CWE-347
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pyjwt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pyjwt < 2.13.0 2.13.0 pip install "pyjwt>=2.13.0"
PyPI pyjwt < 2.13.0 2.13.0 pip install "pyjwt>=2.13.0"

Per OSV / GitHub Advisories (GHSA-xgmm-8j9v-c9wx, PYSEC-2026-179). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pyjwt_projectpyjwt< 2.13.0

Official advisories

Also: Red Hat (+10), SUSE (+5)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.