# CVE-2026-49265: OAuthLib: Timing Attack Vulnerability in PKCE code\_verifier Comparison

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-13 · Modified: 2026-10-13
- Aliases: GHSA-xpv3-w29h-x7cv, PYSEC-2026-4114, CGA-2fx9-2vh4-xqvf, CGA-2r82-rch9-fjq2, CGA-382r-mpjv-448f, CGA-389c-phx3-4r7h, CGA-42ch-3xgq-3v2q, CGA-4jp8-876m-cg58, CGA-55j5-j9px-77qh, CGA-55w5-jfr2-3mfv, CGA-5xw4-qwwc-mq6c, CGA-64fq-4856-rh4f, CGA-6gpx-g269-hpw9, CGA-6vrg-pm8w-8j93, CGA-6x7m-xh36-3v6v, CGA-6xgj-8fm9-g4x9, CGA-77vf-8m69-xvhm, CGA-7f96-x7wc-gqqg, CGA-8hw2-66r4-9rjg, CGA-96m8-qmvr-36m9, CGA-9wx7-239h-wcx7, CGA-c54c-9cp2-r95h, CGA-cqgx-76q8-qxp4, CGA-f99w-m8fw-xg85, CGA-gqw4-78xm-2594, CGA-h7pc-5mg2-wgh3, CGA-hmwg-cp4h-rx84, CGA-hpfp-698g-qv3j, CGA-j45g-cjh9-g69c, CGA-m8v2-mrw6-mqfj, CGA-p6pj-qx4h-w7xq, CGA-r3wr-v24v-5w6w, CGA-rpq9-vp45-r5fx, CGA-vp5c-qw29-3wjx, CGA-wc9m-c6v5-qqf8, CGA-x3w5-g6xw-gppr, CGA-2m49-498r-rmqg, CGA-2rwx-6w9w-p4r3, CGA-2w44-gcc9-g7qp, CGA-2wwq-c976-jqr3, CGA-2x3c-6xj9-8q67, CGA-354r-2q97-hx3p, CGA-36pv-r9mp-rjjh, CGA-3jvm-pmjm-2698, CGA-3vq5-px4c-4g8q, CGA-422w-x95c-xh94, CGA-42mp-272m-g66p, CGA-4943-vx8w-5fhx, CGA-4fg5-hcgg-8c7r, CGA-4h64-w93c-j3m3, CGA-4h6v-w33m-9qvf, CGA-4q6h-939g-x255, CGA-5333-835v-5v8j, CGA-5h6f-mpc8-45fp, CGA-5j26-j3c8-h9q2, CGA-5q35-m28p-c27f, CGA-6ghc-r6rp-prr6, CGA-6hcm-q683-5w9x, CGA-6vf2-rp4r-pvwh, CGA-73mm-34pj-xvv8, CGA-79xp-8f2c-7x5w, CGA-7fg9-wxhc-mg7j, CGA-7m2r-cwq9-5f77, CGA-83f2-fjvw-h7ww, CGA-87gp-7wqp-xjrx, CGA-8c64-7c2g-fm2p, CGA-8rmg-j7gr-978m, CGA-8v2x-gwq6-vrmg, CGA-93r5-3j2j-pvc8, CGA-95gx-qjpg-6r87, CGA-95rq-c459-5frm, CGA-9664-q6g2-96r2, CGA-9grq-fqcp-f8x9, CGA-9hr6-q6vp-7745, CGA-9p6f-fvxw-5w62, CGA-c2hm-rm7q-pj26, CGA-c4c9-x3gc-q692, CGA-c6jg-h8wx-45qq, CGA-cfh7-w4vf-2jv7, CGA-cgcf-gwxq-37c3, CGA-cgwr-vc2c-28rj, CGA-cp9c-mgch-xrq4, CGA-f53r-5r59-c935, CGA-f69f-wg9v-v7c7, CGA-f7vp-59v8-9jf6, CGA-f98w-6h5p-rx9m, CGA-f9p5-57f3-rp78, CGA-fmfq-x2rj-6m95, CGA-frjh-7x7w-86g6, CGA-frxp-35fc-5864, CGA-fv22-xmj6-7pjp, CGA-fx7x-27hx-rjxr, CGA-g3fw-r29p-m3rg, CGA-g3xf-9hg2-v2pj, CGA-gcfq-h8xx-8hv7, CGA-gf9m-j3pj-rwpg, CGA-h292-mm5f-mp6q, CGA-h6pr-4h82-2mq4, CGA-hhcm-xp75-m4pg, CGA-hm9p-9j97-h232, CGA-hmpm-6286-gjjh, CGA-hpc9-m8fw-88vc, CGA-hr5q-jmg8-5639, CGA-hv49-hwj5-3jw8, CGA-j7x4-p7qw-h764, CGA-jfw5-3gwj-9wg7, CGA-jrpq-3xr5-wqwc, CGA-m33x-3gmj-c85p, CGA-m3r2-r7h6-37qv, CGA-m75h-hmwf-g538, CGA-mc3w-cwrc-f835, CGA-mgpc-rpq9-c5vh, CGA-mj72-92g7-7552, CGA-mjq9-2fw7-hm8r, CGA-mqg3-9vm4-fv4j, CGA-mrx7-942v-cjgr, CGA-p85p-9xxm-897g, CGA-p87c-m8ph-mw2m, CGA-p9gp-m25v-c5q8, CGA-phqg-5r27-mv4g, CGA-pjrh-w26q-rr9r, CGA-pr2w-m843-gc7r, CGA-pv8r-j5xr-v8qx, CGA-pwvm-rqg4-2chg, CGA-pxgc-vwq5-p42h, CGA-q2jv-2635-4qfh, CGA-q5wj-pvhf-w9qp, CGA-q64j-rvpx-5fm5, CGA-q79c-pfrg-xqw2, CGA-q8cv-v62f-34pp, CGA-q937-6m2p-6p76, CGA-q9c2-fx4p-35q3, CGA-qg78-cpfm-g67g, CGA-qqgx-wghq-v2fh, CGA-qr2v-w673-vgpp, CGA-r364-pm56-ggv5, CGA-r3vr-pmf2-hfq3, CGA-r6qg-ghxp-3r6g, CGA-rf56-xgxf-mmcp, CGA-rm6g-4fj8-9xwv, CGA-rrgf-pchj-7jpp, CGA-v8v8-wrw3-44h3, CGA-vffh-76hj-w7r6, CGA-vq38-mf97-ppjr, CGA-vqx7-rx88-mxwp, CGA-vr7h-fw8r-rwx7, CGA-vrxq-8268-cm39, CGA-w248-p35v-gwh4, CGA-w2px-qcq4-fmjc, CGA-w575-v5g6-cfgx, CGA-w5fh-gwjj-vp83, CGA-w6q5-c9m4-6q56, CGA-wgpm-vwmm-vx8h, CGA-whf2-g987-xj5p, CGA-wrcf-9php-hvvf, CGA-wrf5-j856-g3c5, CGA-wv2m-w828-p3m6, CGA-x24r-rqvr-g5xq, CGA-x46c-f5mv-38r9, CGA-x4h3-9xxf-7jv4, CGA-xg4c-7mwr-4cm6, CGA-xq89-f5vc-8774, CGA-xv59-gcjf-j8fq, DEBIAN-CVE-2026-49265, UBUNTU-CVE-2026-49265
- Record: https://cvemate.com/vulnerability/CVE-2026-49265 · JSON: https://cvemate.com/vulnerability/CVE-2026-49265/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.242%, percentile 16.464%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 104)

- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard ansible-operator (Chainguard): \< 1.42.3-r18
- chainguard ansible-operator-fips (Chainguard): \< 1.42.3-r15
- chainguard authentik-2025.12 (Chainguard): All versions (No fix recorded) \| \< 2025.12.6-r25
- chainguard authentik-2026.2 (Chainguard): All versions (No fix recorded) \| \< 2026.2.7-r12
- chainguard authentik-2026.5 (Chainguard): \< 2026.5.7-r8
- chainguard authentik-fips-2025.12 (Chainguard): All versions (No fix recorded) \| \< 2025.12.6-r25
- chainguard authentik-fips-2026.2 (Chainguard): All versions (No fix recorded) \| \< 2026.2.7-r12
- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.7-r9
- chainguard awx (Chainguard): \< 24.6.1-r62
- chainguard az (Chainguard): \< 2.90.0-r2
- chainguard azureml-inference-server-http (Chainguard): All versions (No fix recorded) \| \< 1.5.1-r10
- chainguard azureml-inference-server-http-fips (Chainguard): \< 1.5.1-r9
- chainguard chroma (Chainguard): \< 1.5.9-r2
- chainguard dagster (Chainguard): \< 1.13.25-r0
- chainguard dagster-fips (Chainguard): \< 1.13.24-r1
- chainguard dask-kubernetes (Chainguard): \< 2026.3.0-r15
- chainguard dask-kubernetes-fips (Chainguard): \< 2026.3.0-r12
- chainguard datadog-agent-7.77-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.78-core-integrations (Chainguard): All versions (No fix recorded) \| \< 7.78.4-r28

## References

- <https://github.com/oauthlib/oauthlib/security/advisories/GHSA-xpv3-w29h-x7cv>
- <https://github.com/oauthlib/oauthlib/pull/963>
- <https://github.com/oauthlib/oauthlib/commit/40b0ab56da3682c2484a4b78bbff309f8025d950>
- <https://github.com/oauthlib/oauthlib>
- <https://pypi.org/project/oauthlib>
- <https://github.com/advisories/GHSA-xpv3-w29h-x7cv>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49265>
- <https://github.com/oauthlib/oauthlib/commit/74664d3fe037a354e180e305135c6bab1747a6b0>
- <https://github.com/oauthlib/oauthlib/releases/tag/v4.0.0>
- <https://github.com/pypa/advisory-database/tree/main/vulns/oauthlib/PYSEC-2026-4114.yaml>
- <https://security-tracker.debian.org/tracker/CVE-2026-49265>
- <https://ubuntu.com/security/CVE-2026-49265>
- <https://www.cve.org/CVERecord?id=CVE-2026-49265>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49265.json>
- <https://ubuntu.com/security/notices/USN-9188-1>

---

Data as of 2026-12-05T08:24:24.227Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
