CVE-2026-49265
Last modified
CVE-2026-49265 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 3.0.0 until 4.0.0, OAuthLib's PKCE checks in oauthlib/oauth2/rfc6749/grant_types/authorization_code.py compare attacker-supplied code_verifier values with stored challenges using ordinary string equality in code_challenge_method_plain and code_challenge_method_s256. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
Description
OAuthLib is an implementation of the OAuth request-signing logic for Python 3.6+. From 3.0.0 until 4.0.0, OAuthLib's PKCE checks in oauthlib/oauth2/rfc6749/grant_types/authorization_code.py compare attacker-supplied code_verifier values with stored challenges using ordinary string equality in code_challenge_method_plain and code_challenge_method_s256. Because the comparison can return after a length difference or the first mismatching character, repeated token endpoint measurements can reveal common-prefix timing information that could potentially allow recovery of the code_verifier, unauthorized access-token acquisition, and account takeover. Practical exploitation requires an intercepted, single-use authorization code and enough measurements to overcome real-world network noise; the local timing benchmark does not establish practical remote account takeover, so the weakness remains a defense-in-depth concern. This issue is fixed in version 4.0.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| oauthlib | oauthlib | >= 3.0.0, < 4.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49265?
How severe is CVE-2026-49265?
How do I fix CVE-2026-49265?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4926Impact: A bad regular expression is generated any time you …7.5
- CVE-2026-49260PhpWeasyPrint is a PHP library allowing PDF generation from …8.2
- CVE-2026-49261MariaDB server is a community developed fork of MySQL server…9.8
- CVE-2026-49262In the Aimeos Pagible content management system prior to ver…3
- CVE-2026-49263Capstone is a disassembly framework. Prior to version 6.0.0-…2
- CVE-2026-49264OAuthLib is an implementation of the OAuth request-signing l…6.1
- CVE-2026-49267Apache Airflow's EmailOperator and the underlying `airflow.u…5.9
- CVE-2026-49268A remote attacker can inject LDAP special characters into th…9.1
- CVE-2026-49269Apple M1 GPUs retain register file data between compute shad…8.6
- CVE-2026-4927Exposure of sensitive information in the users MFA feature i…6.5
- CVE-2026-49270Exposure of Sensitive Information Through Metadata vulnerabi…5.9
- CVE-2026-49271libheif is a HEIF and AVIF file format decoder and encoder. …6.5
Are you affected by CVE-2026-49265?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
