Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. PyJWT
  4. ›
  5. CVE-2026-102272

CVE-2026-102272: PyJWT BOM Bypass

September 29, 2026

An unauthenticated network attacker who knows the target application’s RSA public key — which is public by design and obtainable from a JWKS endpoint or certificate — can forge JWT tokens containing arbitrary claims and have them accepted by a PyJWT 2.13.0 verifier configured with a mixed algorithm set (algorithms=["HS256", "RS256"] or equivalent). The resulting impact is complete authentication and authorization bypass (C:H/I:H). Attack Complexity is High (AC:H) because the attacker must obtain the RSA public key and the verifier must use a mixed-algorithm configuration; no authentication is required (PR:N). This is a patch bypass: users who upgraded to 2.13.0 specifically to remediate CVE-2026-48526 remain vulnerable.


References

  • github.com/advisories/GHSA-r6x4-923q-g947
  • github.com/jpadilla/pyjwt/commit/180783930de91876bc0d601f826a1f2956057291
  • github.com/jpadilla/pyjwt/releases/tag/2.14.0
  • github.com/jpadilla/pyjwt/security/advisories/GHSA-r6x4-923q-g947
  • nvd.nist.gov/vuln/detail/CVE-2026-102272

Code Behaviors & Features

Detect and mitigate CVE-2026-102272 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.13.0 before 2.14.0

Fixed versions

  • 2.14.0

Solution

Upgrade to version 2.14.0 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

pypi/PyJWT/CVE-2026-102272.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 Oct 2026 12:18:01 +0000.