Skip to content
OpenAdvisories
Critical USN-8916-1 6 CVEs

pyjwt vulnerabilities

Published Oct 13, 2026 · Updated Oct 27, 2026

Summary

YuSung Han discovered that PyJWT did not properly validate certain JWK keys
when performing HMAC verification. An attacker could possibly use this
issue to forge authentication tokens. This issue only affected Ubuntu
26.04 LTS. (CVE-2026-102266)

Rohan Das discovered that PyJWT incorrectly handled redirects when fetching
key sets. A remote attacker could possibly use this issue to cause PyJWT
to disclose sensitive information. This issue only affected Ubuntu 22.04
LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS. (CVE-2026-102267)

It was discovered that PyJWT incorrectly recognized certain PEM
representations. An attacker who knew the public key could possibly use
this issue to forge authentication tokens. This issue only affected Ubuntu
18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu
26.04 LTS. (CVE-2026-102268)

Nuno Lopes discovered that PyJWT incorrectly handled DER public keys when
performing HMAC verification. An attacker who knew the public key could
possibly use this issue to forge authentication tokens. (CVE-2026-102271)

It was discovered that PyJWT did not properly handle certain JWK keys
prefixed with a byte-order mark. An attacker who knew the public key could
possibly use this issue to forge authentication tokens. (CVE-2026-102272)

Charles Vosburgh discovered that PyJWT incorrectly handled certain JWK
containers when performing HMAC verification. An attacker who knew the
public key could possibly use this issue to forge authentication tokens.
(CVE-2026-102273)

Fixed packages 6

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS pyjwt 2.3.0-1ubuntu0.5
Ubuntu · 24.04 LTS 24.04:LTS pyjwt 2.7.0-1ubuntu0.3
Ubuntu · 26.04 LTS 26.04:LTS pyjwt 2.10.1-4ubuntu1.2
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS pyjwt 1.3.0-1ubuntu0.1+esm3
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS pyjwt 1.5.3+ds1-1ubuntu0.1+esm3
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS pyjwt 1.7.1-2ubuntu2.1+esm3

Vulnerabilities 6

References

  • report
    https://ubuntu.com/security/CVE-2026-102266
  • report
    https://ubuntu.com/security/CVE-2026-102267
  • report
    https://ubuntu.com/security/CVE-2026-102268
  • report
    https://ubuntu.com/security/CVE-2026-102271
  • report
    https://ubuntu.com/security/CVE-2026-102272
  • report
    https://ubuntu.com/security/CVE-2026-102273