CVE-2026-49272 OAuthLib - Authentication Bypass

OAuthLib 3.3.0 to 4.0.1 contains a broken authentication caused by missing validation of device_code parameter in DeviceCodeGrant.validate_token_request, letting attackers obtain bearer tokens without device authorization, exploit requires valid client ID enabled for device workflow.

CVSS base score 8.5 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Required
EPSS
0.33% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Authentication Bypass
Impact
Broken Authentication
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Published
5 November 2026
Updated
7 November 2026
Weakness
CWE-287

Vendor fix

Upgrade to version 4.0.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs