Skip to content
OpenAdvisories
High SUSE-SU-2026:2627-1 4 CVEs

Security update for python-PyJWT

Published Jun 25, 2026 · Updated Jun 26, 2026

Summary

This update for python-PyJWT fixes the following issues

- CVE-2026-48522: `PyJWKClient` passes URI arguments directly to `urllib.request.urlopen()` and allows for SSRF and
token forgery (bsc#1266798).
- CVE-2026-48523: verifier-side algorithm allow-list bypass when `jwt.decode()` or `jwt.decode_complete()` are called
with a PyJWK key (bsc#1266799).
- CVE-2026-48525: unbounded Base64URL decoding of unused payload segment in `b64=false` detached JWS allows for DoS
(bsc#1266801).
- CVE-2026-48526: no validation of use of JSON Web Keys in HMAC algorithm when decoding JSON Web Tokens allows for
forged HS256 tokens (bsc#1266802).

Fixed packages 12

ReleasePackageFixed in
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-ESPOS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLE HPC 15 SP5 Linux Enterprise High Performance Computing 15 SP5-LTSS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLE Micro 5.5 Linux Enterprise Micro 5.5 python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES 15 SP7 Linux Enterprise Module for Basesystem 15 SP7 python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES 15 SP5 Linux Enterprise Server 15 SP5-LTSS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES 15 SP6 Linux Enterprise Server 15 SP6-LTSS python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES for SAP 15 SP5 Linux Enterprise Server for SAP Applications 15 SP5 python-PyJWT 2.4.0-150200.3.14.1
SUSE · SLES for SAP 15 SP6 Linux Enterprise Server for SAP Applications 15 SP6 python-PyJWT 2.4.0-150200.3.14.1

Vulnerabilities 4

  • High 7.4

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

    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 t…

  • Medium 5.4

    PyJWT: Algorithm allow-list bypass when decoding with `PyJWK` / `PyJWKClient` keys

    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 …

  • Medium 5.3

    PyJWT: Unauthenticated DoS via unbounded Base64URL decoding of unused payload segment in b64=false detached JWS

    PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enf…

  • Medium 4.2

    PyJWKClient: missing scheme allowlist enables SSRF + token forgery via file://, ftp://, data: schemes

    PyJWT is a JSON Web Token implementation in Python. Prior to 2.13.0, PyJWKClient passes its uri argument directly to urllib.request.urlopen() which uses Python stdlib's default OpenerDirector registering HTTPHandler, HTTPSHandler, FTPHandler, FileHandler, and…

References

  • report
    https://bugzilla.suse.com/1266798
  • report
    https://bugzilla.suse.com/1266799
  • report
    https://bugzilla.suse.com/1266801
  • report
    https://bugzilla.suse.com/1266802
  • web
    https://www.suse.com/security/cve/CVE-2026-48522
  • web
    https://www.suse.com/security/cve/CVE-2026-48523
  • web
    https://www.suse.com/security/cve/CVE-2026-48525
  • web
    https://www.suse.com/security/cve/CVE-2026-48526