CVE-2026-48526: CWE-287: Improper Authentication in jpadilla pyjwt
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.
AI Analysis
Technical Summary
CVE-2026-48526 affects the PyJWT Python library, which implements JSON Web Tokens. Before version 2.13.0, the library does not properly validate the use of JSON Web Keys in HMAC algorithms during token verification. This improper authentication allows an attacker to use the issuer's public key as the secret key for HMAC, enabling the creation of forged tokens that bypass authentication checks. The issue is addressed in PyJWT version 2.13.0. Red Hat advisories confirm the vulnerability and provide updated packages that include the fix.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to bypass authentication by forging JSON Web Tokens, potentially leading to unauthorized access with high confidentiality and integrity impact. There is no impact on availability reported. The CVSS v3.1 base score is 7.4 (High), reflecting network attack vector, high complexity, no privileges required, no user interaction, and high confidentiality and integrity impacts.
Mitigation Recommendations
A fix is available in PyJWT version 2.13.0. Users should upgrade to version 2.13.0 or later to remediate this vulnerability. Red Hat has released updated packages for affected products incorporating this fix. Patch status is confirmed by vendor advisories. No alternative mitigations or workarounds are indicated.
CVE-2026-48526: CWE-287: Improper Authentication in jpadilla pyjwt
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.
CVSS v3.1
Score 7.4high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-48526 affects the PyJWT Python library, which implements JSON Web Tokens. Before version 2.13.0, the library does not properly validate the use of JSON Web Keys in HMAC algorithms during token verification. This improper authentication allows an attacker to use the issuer's public key as the secret key for HMAC, enabling the creation of forged tokens that bypass authentication checks. The issue is addressed in PyJWT version 2.13.0. Red Hat advisories confirm the vulnerability and provide updated packages that include the fix.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to bypass authentication by forging JSON Web Tokens, potentially leading to unauthorized access with high confidentiality and integrity impact. There is no impact on availability reported. The CVSS v3.1 base score is 7.4 (High), reflecting network attack vector, high complexity, no privileges required, no user interaction, and high confidentiality and integrity impacts.
Mitigation Recommendations
A fix is available in PyJWT version 2.13.0. Users should upgrade to version 2.13.0 or later to remediate this vulnerability. Red Hat has released updated packages for affected products incorporating this fix. Patch status is confirmed by vendor advisories. No alternative mitigations or workarounds are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-21T16:18:10.619Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-48526","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25902","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:26206","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30089","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30088","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25928","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:30076","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:28571","vendor":"Red Hat"}]
Threat ID: 6a186056e29bf47b500b42de
Added to database: 05/28/2026, 15:33:42 UTC
Last enriched: 07/30/2026, 21:41:12 UTC
Last updated: 07/31/2026, 21:26:43 UTC
Views: 86
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.