# oauthlib (PyPI) vulnerabilities

5 known vulnerabilities (2 high, 3 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 4.0.1 (Oct 31, 2026): no advisory affects it
- Newest unaffected release: 4.0.1 (Oct 31, 2026), the latest release
- Weekly downloads: 64.2M
- Dependents: 13.6K
- Releases: 54 since 0.0.1 (Apr 11, 2012)
- Registry: https://pypi.org/project/oauthlib/
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-49272: 3.3.0 to 3.3.1 (4.0.0 is outside it)
- CVE-2026-118669: 0.0.1 to 3.3.1 (4.0.0 is outside it)
- CVE-2026-49264: 0.6.1 to 3.3.1 (4.0.0 is outside it)
- CVE-2026-49265: 3.0.0 to 3.3.1 (4.0.0 is outside it)
- CVE-2022-36087: 3.1.1 to 3.2.1 (3.2.2 is outside it)

## Advisories (5)

### [CVE-2026-49272](https://cve.now/CVE-2026-49272): OAuthLib: Bearer token can be retrieved as long as client knows a valid client ID for device workflow

- Severity: High 8.5
- Published: Nov 5, 2026
- Affected: from 3.3.0, fixed in 4.0.0.
- Fixed in 4.0.0 (released Sep 28, 2026, 38 days before disclosure).
- The latest release, 4.0.1, is not affected.

### [CVE-2026-118669](https://cve.now/CVE-2026-118669): OAuthLib: Token grants can use attacker-supplied client\_id for authorization after authenticating a different client

- Severity: High 8.4
- Published: Oct 28, 2026
- Affected: fixed in 4.0.0.
- Fixed in 4.0.0 (released Sep 28, 2026, 30 days before disclosure).
- The latest release, 4.0.1, is not affected.

### [CVE-2026-49264](https://cve.now/CVE-2026-49264): OAuthLib: Unsafe JSONP callback injection in RevocationEndpoint allows arbitrary JavaScript response generation

- Severity: Medium 6.1
- Published: Oct 13, 2026
- Affected: from 0.6.1, fixed in 4.0.0.
- Fixed in 4.0.0 (released Sep 28, 2026, 15 days before disclosure).
- The latest release, 4.0.1, is not affected.

### [CVE-2026-49265](https://cve.now/CVE-2026-49265): OAuthLib: Timing Attack Vulnerability in PKCE code\_verifier Comparison

- Severity: Medium 6.8
- Published: Oct 13, 2026
- Affected: from 3.0.0, fixed in 4.0.0.
- Fixed in 4.0.0 (released Sep 28, 2026, 15 days before disclosure).
- The latest release, 4.0.1, is not affected.

### [CVE-2022-36087](https://cve.now/CVE-2022-36087): OAuthLib vulnerable DoS when attacker provides malicious IPV6 URI

- Severity: Medium 5.7
- Published: Sep 9, 2022
- Affected: from 3.1.1, fixed in 3.2.1; from 3.1.1, fixed in 3.2.2.
- Fixed in 3.2.2 (released Oct 17, 2022, 38 days after disclosure).
- The latest release, 4.0.1, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/pypi/oauthlib
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
