USN-9177-1: Security vulnerability

Published Nov 20, 2026
·
Updated

It was discovered that PyJWT incorrectly accepted non-canonical encodings of token signature segments. An attacker could possibly use this issue to bypass token revocation checks.

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.4
  2. Upgrade

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

    Fixed in 2.7.0-1ubuntu0.5
  3. Upgrade

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

    Fixed in 2.3.0-1ubuntu0.7

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Applications that use PyJWT and rely on token signature segments being represented canonically when enforcing token revocation checks may be exposed.

2

What does an attacker need to exploit it?

An attacker would need to provide a token using a non-canonical encoding of its signature segment. The disclosed impact is a possible bypass of token revocation checks.

3

How can I tell whether my deployment is affected?

Review whether your application uses PyJWT and performs token revocation checks that could be bypassed when equivalent signature segments have non-canonical encodings. The referenced Ubuntu source package updates are pyjwt 2.10.1-4ubuntu1.4 and 2.7.0-1ubuntu0.5.

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