USN-9212-1: PyJWT vulnerabilities

Published Nov 26, 2026
·
Updated

It was discovered that PyJWT incorrectly handled errors when parsing deeply nested token headers. An attacker could possibly use this issue to cause applications using PyJWT to fail unexpectedly, resulting in a denial of service. (CVE-2026-102265) It was discovered that PyJWT modified the options mapping supplied by an application when signature verification was disabled. If an application reused that mapping for a later call with signature verification enabled, an attacker could possibly use this issue to bypass token claim checks, such as expiration. This issue only affected Ubuntu 22.04 LTS. (CVE-2026-103001)

Affected Software

6 affected componentsFixes available
All of the following
ubuntu/python3-jwt<2.10.1-4ubuntu1.5
2.10.1-4ubuntu1.5
Ubuntu Ubuntu=26.04
All of the following
ubuntu/python3-jwt<2.7.0-1ubuntu0.6
2.7.0-1ubuntu0.6
Ubuntu Ubuntu=24.04
All of the following
ubuntu/python3-jwt<2.3.0-1ubuntu0.8
2.3.0-1ubuntu0.8
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/python3-jwt to a version that resolves this vulnerability.

    Fixed in 2.10.1-4ubuntu1.5
  2. Upgrade

    Upgrade ubuntu/python3-jwt to a version that resolves this vulnerability.

    Fixed in 2.7.0-1ubuntu0.6
  3. Upgrade

    Upgrade ubuntu/python3-jwt to a version that resolves this vulnerability.

    Fixed in 2.3.0-1ubuntu0.8

Event History

Nov 26, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed to the denial-of-service issue?

Applications using PyJWT may be exposed if they parse attacker-controlled tokens with deeply nested headers. An attacker could cause the application to fail unexpectedly.

2

When can the claim-check bypass occur?

The bypass requires an application to disable signature verification while supplying an options mapping, then reuse that same mapping for a later verification-enabled call. In that sequence, token claim checks such as expiration may be bypassed.

3

Which systems are affected by the signature-verification options issue?

The options-mapping issue, CVE-2026-103001, only affected Ubuntu 22.04 LTS. The provided data does not limit the deeply nested header denial-of-service issue to that release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203