cve.bz

CVE-2026-49265 oauthlib oauthlib: Observable Timing Discrepancy

6.8 mediumEPSS 0.2%Fix available

Medium (6.8) in oauthlib oauthlib. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in oauthlib 4.0.0.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-208 Observable Timing Discrepancy
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-49265 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-49265?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-49265?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-49265 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
oauthlib>= 3.0.0, < 4.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xpv3-w29h-x7cvPyPIoauthlib>=3.0.0 <4.0.04.0.0
PYSEC-2026-4114PyPIoauthlib>=3.0.0 <4.0.04.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-oauthlibno fix listedDEBIAN-CVE-2026-49265
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morepython-oauthlibno fix listedUBUNTU-CVE-2026-49265
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Python 3 15 SP7python-oauthlib3.2.2-150400.12.10.1SUSE-SU-2026:4810-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-oauthlib3.2.2-160000.3.1SUSE-SU-2026:24246-1
SUSELinux Micro 6.0python-oauthlib3.2.2-159998.1.1SUSE-SU-2026:24139-1
SUSELinux Micro 6.2python-oauthlib3.2.2-160000.3.1SUSE-SU-2026:24189-1
openSUSELeap 16.0python-oauthlib3.2.2-160000.3.1openSUSE-SU-2026:22103-1
Azure Linux3python-oauthlib3.2.2-4AZL-108045

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having a Moderate impact because successful exploitation requires multiple stringent prerequisites, including intercepting a valid authorization code, measuring high-resolution network response times, and an OAuth server implementation that permits repeated verification attempts without revoking the code. While oauthlib facilitates PKCE validation in OAuth 2.0 deployments across Red Hat environments, the timing discrepancies are minor and highly susceptible to network noise in real-world scenarios. Consequently, extracting secret verifiers remotely presents significant practical hurdles.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1791473631Fixed 2026-10-13RHSA-2026:82368
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1791473614Fixed 2026-10-13RHSA-2026:82415
Red Hat Enterprise Linux AI 3.5rhelai3/disk-image-cuda-rhel9:1793206758Fixed 2026-10-29RHSA-2026:92449
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-aws-cuda-rhel9:1793194817Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-azure-cuda-rhel9:1793194815Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-cuda-rhel9:1793135861Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-gcp-cuda-rhel9:1793194815Fixed 2026-10-29RHSA-2026:92452
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel9-operatorFix deferred
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Lightspeed Services for Advanced Cluster Managementlightspeed-services-acm/ocp-rules-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-rhel9-operatorFix deferred
Migration Toolkit for Containersrhmtc/openshift-migration-rhel8-operatorFix deferred
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-rhel9-operatorFix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorFix deferred
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleFix deferred
128 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-49265.

Attack patterns (CAPEC)

  • CAPEC-462 Cross-Domain Search Timing Severity: Medium
  • CAPEC-541 Application Fingerprinting Severity: Low
  • CAPEC-580 System Footprinting Likelihood: Low · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON