# CVE-2025-4144: PKCE bypass via downgrade attack

- Severity: Medium 5.3 (CVSS:4.0, scored by cloudflare) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-05-01T00:50:27.543Z
- Modified: 2026-06-17T09:32:35.627Z
- Also known as: GHSA-qgp8-v765-qxx9
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: cloudflare

## Description

PKCE was implemented in the OAuth implementation in workers-oauth-provider that is part of  MCP framework https://github.com/cloudflare/workers-mcp . However, it was found that an attacker could cause the check to be skipped.


Fixed in:

 

 https://github.com/cloudflare/workers-oauth-provider/pull/27 https://github.com/cloudflare/workers-oauth-provider/pull/27 


Impact: 

PKCE is a defense-in-depth mechanism against certain kinds of attacks and was an optional extension in OAuth 2.0 which became required in the OAuth 2.1 draft. (Note that the MCP specification requires OAuth 2.1.). This bug completely bypasses PKCE protection.

(As written by CVE List.)

## Affected

- workers-oauth-provider: before 0.0.5
- @cloudflare/workers-oauth-provider (npm): before 0.0.5
- cloudflare workers-oauth-provider: 0.0.5

## Every score

- cloudflare: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/U:Amber`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/cloudflare/workers-oauth-provider/pull/27> (issue-tracking, patch, web)
- <https://github.com/cloudflare/workers-oauth-provider/security/advisories/GHSA-qgp8-v765-qxx9> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4144> (advisory)
- <https://github.com/cloudflare/workers-oauth-provider> (package)

## Sources

- CVE List: [CVE-2025-4144](https://www.cve.org/CVERecord?id=CVE-2025-4144), CVE Terms of Use, modified 2025-05-01
- GitHub Advisory Database: [GHSA-qgp8-v765-qxx9](https://github.com/advisories/GHSA-qgp8-v765-qxx9), CC-BY-4.0, modified 2025-05-01
- NVD: [CVE-2025-4144](https://nvd.nist.gov/vuln/detail/CVE-2025-4144), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-4144 · Whole record: https://cve.day/CVE-2025-4144.json · Rebuilt by cve.day 2026-11-25T22:58:57.223Z
