Advisory

USN-8823-1

Also known as: CVE-2026-48522, CVE-2026-48523, CVE-2026-48524, CVE-2026-48525, CVE-2026-48526

Summary

pyjwt vulnerabilities

Details

It was discovered that PyJWT incorrectly handled certain URIs when using
PyJWKClient. A remote attacker could possibly use this issue to perform
server-side request forgery (SSRF) or expose sensitive local files.
This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS and Ubuntu
26.04 LTS. (CVE-2026-48522)

It was discovered that PyJWT incorrectly verified cryptographic signatures
when decoding tokens with PyJWK keys. A remote attacker could possibly
use this issue to bypass signature verification and forge valid JSON Web
Tokens. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-48523)

It was discovered that PyJWT incorrectly handled unknown key identifiers
in PyJWKClient. A remote attacker could possibly use this issue to cause
PyJWT to make excessive network requests, resulting in a denial of service.
This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS.
(CVE-2026-48524)

It was discovered that PyJWT incorrectly handled payload decoding during
detached JWS token verification. A remote attacker could possibly use
this issue to cause PyJWT to consume excessive resources, resulting in
a denial of service. This issue only affected Ubuntu 24.04 LTS and
Ubuntu 26.04 LTS. (CVE-2026-48525)

It was discovered that PyJWT incorrectly validated JSON Web Keys when
decoding tokens with both HMAC and asymmetric algorithms enabled. A remote
attacker could possibly use this issue to forge valid tokens, resulting
in an authentication bypass. (CVE-2026-48526)

Severity

Not rated by the source.

Dates

Published
2026-09-25 07:49 UTC
Modified
2026-09-28 11:42 UTC

Affected packages and fixes

pyjwt

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.3.0-1ubuntu0.4 (ecosystem)

Fixed versions

2.3.0-1ubuntu0.4

Fix

  • Fixed version 2.3.0-1ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pyjwt

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.7.0-1ubuntu0.2 (ecosystem)

Fixed versions

2.7.0-1ubuntu0.2

Fix

  • Fixed version 2.7.0-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pyjwt

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.10.1-4ubuntu1.1 (ecosystem)

Fixed versions

2.10.1-4ubuntu1.1

Fix

  • Fixed version 2.10.1-4ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences