Back to CVE records
High 7.4Published May 28, 2026

CVE-2026-48526PyJWT: Public-key JWK accepted as HMAC secret enables forged HS256 tokens when mixed families are allowed

Updated under an hour ago ()

Does this affect you?

It affects jpadilla pyjwt and 17 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.4 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-287, CWE-347
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Modified
Record last updated
Sep 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
jpadilla pyjwt
jpadilla:pyjwt (from the name)
before 2.13.0
CNA record
from 0:4.6.31-1.el8ap not affected
CISA ADP
from 0:4.16.0-21.el10_2.2 not affected
CISA ADP
from 0:4.16.0-5.el10_0.11 not affected
CISA ADP
from 0:4.10.0-43.el9_2.23 not affected
CISA ADP
from 0:4.10.0-86.el9_6.18 not affected
CISA ADP
from 0:2.13.0-1.el8pc not affected
CISA ADP
from 0:2.13.0-1.el8pc not affected
CISA ADP
Red Hat Red Hat AI Inference Server 3.3
redhat:ai_inference_server
from 1782353093 not affected
CISA ADP
Red Hat Red Hat Migration Toolkit for Applications 8.2
redhat:migration_toolkit_applications
from 1784109883 not affected
CISA ADP

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.