Packages
- python-oauthlib - A generic, spec-compliant, thorough implementation of the OAuth request-signing logic
Details
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.
(
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)
Update instructions
In general, a standard system update will make all the necessary changes.
Learn more about how to get the fixes.The problem can be corrected by updating your system to the following package versions:
| Ubuntu Release | Package Version | ||
|---|---|---|---|
| 26.10 stonking | python3-oauthlib – 3.3.1-2ubuntu0.1 | ||
| 26.04 LTS resolute | python3-oauthlib – 3.3.1-1ubuntu0.1 | ||
| 24.04 LTS noble | python3-oauthlib – 3.2.2-1ubuntu0.1 | ||
| 22.04 LTS jammy | python3-oauthlib – 3.2.0-1ubuntu0.2 | ||
| 20.04 LTS focal | python3-oauthlib – 3.1.0-1ubuntu2+esm1 | ||
| 18.04 LTS bionic | python-oauthlib – 2.0.6-1ubuntu0.1~esm1 | ||
| python3-oauthlib – 2.0.6-1ubuntu0.1~esm1 | |||
| 16.04 LTS xenial | python-oauthlib – 1.0.3-1ubuntu0.1~esm1 | ||
| python3-oauthlib – 1.0.3-1ubuntu0.1~esm1 | |||
Reduce your security exposure
Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.