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.
Metrics
Affected Vendors & Products
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-12788 | 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. |
Github GHSA |
GHSA-qgp8-v765-qxx9 | @cloudflare/workers-oauth-provider PKCE bypass via downgrade attack |
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
| Link | Providers |
|---|---|
| https://github.com/cloudflare/workers-oauth-provider/pull/27 |
|
Mon, 12 May 2025 20:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Cloudflare
Cloudflare workers-oauth-provider |
|
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:a:cloudflare:workers-oauth-provider:0.0.5:*:*:*:*:*:*:* | |
| Vendors & Products |
Cloudflare
Cloudflare workers-oauth-provider |
|
| Metrics |
cvssV3_1
|
Thu, 01 May 2025 16:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Thu, 01 May 2025 01:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | PKCE bypass via downgrade attack | |
| Weaknesses | CWE-287 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: cloudflare
Published:
Updated: 2025-05-01T15:33:23.092Z
Reserved: 2025-04-30T16:39:00.801Z
Link: CVE-2025-4144
Updated: 2025-05-01T14:51:45.618Z
Status : Analyzed
Published: 2025-05-01T01:15:54.267
Modified: 2025-05-12T19:39:31.053
Link: CVE-2025-4144
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA