{"id":"CVE-2025-4144","published":"2025-05-01T00:50:27Z","modified":"2025-05-01T15:33:23Z","title":"PKCE bypass via downgrade attack","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\n\n\nFixed in:\n\n \n\n https://github.com/cloudflare/workers-oauth-provider/pull/27 https://github.com/cloudflare/workers-oauth-provider/pull/27 \n\n\nImpact: \n\nPKCE 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00584,"percentile":0.48825,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/cloudflare/workers-oauth-provider/pull/27","tags":[]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":9.77},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 0.0.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-01T14:30:41.553527Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@cloudflare/workers-oauth-provider","vulnerableRanges":["<0.0.5"],"patched":["0.0.5"],"from":["GHSA-qgp8-v765-qxx9"],"provenance":"source"}],"summary":{"text":"The PKCE check in the OAuth implementation of workers-oauth-provider, which is part of the MCP framework, can be skipped by an attacker because of a downgrade flaw, completely bypassing PKCE protection. Exploitation requires network access and no authentication, but it does need user interaction, meaning a victim must take an action for the attack to succeed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:18Z"},"euvd":{"id":"EUVD-2025-12788","exploited":false,"provenance":"source"}}