USN-9188-1: OAuthLib vulnerabilities

Published Nov 23, 2026
·
Updated

It was discovered that OAuthLib incorrectly handled JSONP callback parameters in the token revocation endpoint. A remote attacker could possibly use this issue to execute arbitrary code in a client application. (CVE-2026-49264) Elvin Latifli discovered that OAuthLib incorrectly compared PKCE code verifiers, using a comparison that was not constant-time. A remote attacker could possibly use this issue to obtain access tokens, resulting in an account takeover. This issue only affected Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 20.04 LTS. (CVE-2026-49265) Strick Sheng discovered that OAuthLib incorrectly validated the client identity. A remote attacker could possibly use this issue to obtain tokens authorized under another client, bypassing token authorization. (CVE-2026-118669) Kyle Hekhuis discovered that OAuthLib incorrectly validated device codes in the device authorization workflow. A remote attacker could possibly use this issue to obtain a token without completing device authorization. This issue only affected Ubuntu 26.10 and Ubuntu 26.04 LTS. (CVE-2026-49272)

Affected Software

18 affected componentsFixes available
All of the following
ubuntu/python3-oauthlib<3.3.1-2ubuntu0.1
3.3.1-2ubuntu0.1
Ubuntu Ubuntu=26.10
All of the following
ubuntu/python3-oauthlib<3.3.1-1ubuntu0.1
3.3.1-1ubuntu0.1
Ubuntu Ubuntu=26.04
All of the following
ubuntu/python3-oauthlib<3.2.2-1ubuntu0.1
3.2.2-1ubuntu0.1
Ubuntu Ubuntu=24.04
All of the following
ubuntu/python3-oauthlib<3.2.0-1ubuntu0.2
3.2.0-1ubuntu0.2
Ubuntu Ubuntu=22.04
All of the following
ubuntu/python3-oauthlib<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python-oauthlib<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python3-oauthlib<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python-oauthlib<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3-oauthlib<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 3.3.1-2ubuntu0.1
  2. Upgrade

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

    Fixed in 3.3.1-1ubuntu0.1
  3. Upgrade

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

    Fixed in 3.2.2-1ubuntu0.1
  4. Upgrade

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

    Fixed in 3.2.0-1ubuntu0.2
  5. Upgrade

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

    Fixed in Ubuntu Pro
  6. Upgrade

    Upgrade ubuntu/python-oauthlib to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Nov 23, 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 Ubuntu releases are explicitly affected by the PKCE timing issue?

CVE-2026-49265 is explicitly stated to affect Ubuntu 26.10, Ubuntu 26.04 LTS, Ubuntu 24.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 20.04 LTS.

2

Which releases are affected by the device authorization workflow issue?

CVE-2026-49272 is explicitly limited to Ubuntu 26.10 and Ubuntu 26.04 LTS. The issue can allow a remote attacker to obtain a token without completing device authorization.

3

What authorization flows are relevant when assessing exposure?

Assess whether OAuthLib is used for token revocation with JSONP callbacks, PKCE verification, client identity validation, or device authorization workflows. The advisory associates separate impacts with each of these areas, including code execution in a client application, account takeover, authorization bypass, and device-flow token issuance.

4

Does the advisory provide a release-specific scope for every issue?

No. It gives explicit Ubuntu release limitations for CVE-2026-49265 and CVE-2026-49272 only. No release-specific limitation is provided in the advisory text for CVE-2026-49264 or CVE-2026-118669.

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