Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 68%

CVE-2026-48526: CWE-287: Improper Authentication in jpadilla pyjwt

0
High
VulnerabilityCVE-2026-48526cvecve-2026-48526cwe-287cwe-347
Published: 05/28/2026 (05/28/2026, 15:09:09 UTC)
Source: CVE Database V5
Vendor/Project: jpadilla
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

pyjwt
pkg:pypi/pyjwt
Affected versions
<2.13.0

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

AILast updated: 07/30/2026, 21:41:12 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses