QSearchQSearch

CVE-2026-48523

5.4 MEDIUM

PyJWT is a JSON Web Token implementation in Python

Published: 2026-05-28 · Last updated: 2026-06-01

Severity and scoring

CVSS
5.4 MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CWE
CWE-347

Affected products

VendorProduct
pyjwt_projectpyjwt

Description

PyJWT is a JSON Web Token implementation in Python. From 2.9.0 to 2.12.1, there is a verifier-side algorithm allow-list bypass when jwt.decode() or jwt.decode_complete() are called with a PyJWK key. The token header alg is checked against the caller-supplied algorithms allow-list, but signature verification is performed with the algorithm bound to the PyJWK object instead of the header algorithm. An attacker who controls a registered JWK/JWKS private key can sign with a disallowed algorithm, advertise an allowed algorithm in the JWT header, and still be accepted. The issue affects the documented PyJWKClient.get_signing_key_from_jwt(...) flow. This vulnerability is fixed in 2.13.0.

Source: NVD

References

Related CVEs

Same vendor

  • CVE-2026-48526 PyJWT is a JSON Web Token implementation in Python (7.4 HIGH)
  • CVE-2026-48525 PyJWT is a JSON Web Token implementation in Python (5.3 MEDIUM)
  • CVE-2026-48524 PyJWT is a JSON Web Token implementation in Python (3.7 LOW)
  • CVE-2026-48522 PyJWT is a JSON Web Token implementation in Python (4.2 MEDIUM)

Same CWE

  • CVE-2026-42462 Fedify is a TypeScript library for building federated server apps powered by ActivityPub (7.0 HIGH)
  • CVE-2026-52754 Ghidra before 12.1 contains an authentication bypass vulnerability in PKIAuthenticationModule.authenticate() that allows any user with a ... (8.8 HIGH)
  • CVE-2026-41694 Since Spring Security SAML decrypts SAML Responses as well as elements of SAML LogoutRequests and LogoutResponses without requiring a val... (3.7 LOW)
  • CVE-2026-36721 A lack of cryptographic signature verification in the validateAccessToken function of bookcars v8.3 allows attackers to bypass authentica... (9.8 CRITICAL)
  • CVE-2026-44748 SAP NetWeaver Application Server ABAP and ABAP Platform allows an authenticated attacker with normal privileges to obtain a valid signed ... (9.9 CRITICAL)