MediumVulnerability
CVE-2025-4143: workers-oauth-provider skips redirect_uri allowlist check in auth
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-4143
- Published
- Record updated
- Affected
- @cloudflare/workers-oauth-provider < 0.0.5
- Fixed in
- 0.0.5
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
The OAuth implementation in workers-oauth-provider, part of the MCP framework, did not check redirect_uri against the client's allowed redirect URI list during the authorization flow, though it did check during code exchange. If a victim had previously authorized a server built on this library, an attacker who tricks the victim into visiting a malicious site could steal the victim's OAuth credentials and impersonate them, provided the application auto-approves re-authorization for previously authorized clients.
Mitigation
Fixed in https://github.com/cloudflare/workers-oauth-provider/pull/26
Topics
Related items
- MediumCVE-2026-139894: davila7 claude-code-templates missing authentication in Claude API proxySame vendor, NVD/CVE Database
- HighGHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverSame vendor, GitHub Advisory Database
- HighCVE-2026-111770: Model Context Protocol TypeScript SDK misroutes responses across clientsSame vendor, NVD/CVE Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSame vendor, NVD/CVE Database
- HighCVE-2026-88066: Claude Desktop on Windows git.exe execution via search pathSame vendor, NVD/CVE Database