CVEBrief

Home / Cloudflare / Workers-oauth-provider / CVE-2025-4143

CVE-2025-4143: is it exploited, and which versions of Cloudflare Workers-oauth-provider are affected and fixed?

CVE-2025-4143 is an open redirect vulnerability in Cloudflare Workers-oauth-provider. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: @cloudflare/workers-oauth-provider before 0.0.5 (GitHub advisory GHSA-4pc9-x2fx-p7vj). Fixed in 0.0.5 (GitHub advisory GHSA-4pc9-x2fx-p7vj). Severity: Medium (6.0, CVSS 4.0, from cloudflare).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:20 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:08 UTC
Affected
@cloudflare/workers-oauth-provider before 0.0.5
GitHub advisory GHSA-4pc9-x2fx-p7vj
Fixed in
0.0.5
GitHub advisory GHSA-4pc9-x2fx-p7vj
Severity
Medium 6.0
CVSS 4.0 from cloudflare
Exploit odds (EPSS)
0.34% in 30 days
higher than 29% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-4143?

Missing validation of redirect_uri on authorize endpoint

The OAuth implementation in workers-oauth-provider that is part of MCP framework https://github.com/cloudflare/workers-mcp , did not correctly validate that redirect_uri was on the allowed list of redirect URIs for the given client registration. Fixed in:  https://github.com/cloudflare/workers-oauth-provider/pull/26 https://github.com/cloudflare/workers-oauth-provider/pull/26 Impact: Under certain circumstances (see below), if a victim had previously authorized with a server built on workers-oath-provider, and an attacker could later trick the victim into visiting a malicious web site, then attacker could potentially steal the victim's credentials to the same OAuth server and subsequently impersonate them. In order for the attack to be possible, the OAuth server's authorized callback must be designed to auto-approve authorizations that appear to come from an OAuth client that the victim has authorized previously. The authorization flow is not implemented by workers-oauth-provider; it is up to the application built on top to decide whether to implement such automatic re-authorization. However, many applications do implement such logic. Note: It is a basic, well-known requirement that OAuth servers should verify that the redirect URI is among the allowed list for the client, both during the authorization flow and subsequently when exchanging the authorization code for an access token. workers-oauth-provider implemented only the latter check, not the former. Unfortunately, the former is the much more important check. Readers who are familiar with OAuth may recognize that failing to check redirect URIs against the allowed list is a well-known, basic mistake, covered extensively in the RFC and elsewhere. The author of this library would like everyone to know that he was, in fact, well-aware of this requirement, thought about it a lot while designing the library, and then, somehow, forgot to actually make sure the check was in the code. That is, it's not that he didn't know what he was doing, it's that he knew what he was doing but flubbed it.

From the CVE record by cloudflare, last updated May 1, 2025, 15:33 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
workers-oauth-providernot stated

As the CVE record by cloudflare states it, last updated May 1, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
npm@cloudflare/workers-oauth-provider< 0.0.50.0.5GHSA-4pc9-x2fx-p7vj

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 28, 2025. Summary: @cloudflare/workers-oauth-provider missing validation of redirect_uri on authorize endpoint.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
cloudflareworkers-oauth-provider0.0.5application

NVD analysis (status Analyzed), last modified June 17, 2026, 09:32 UTC.

How severe is CVE-2025-4143?

ScoreVersionVectorSource
Medium 6.0CVSS 4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/U:Ambercloudflare
Medium 6.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-4143 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 1, 2025)
EPSS
0.34% probability of exploitation activity in the next 30 days, percentile 28.9 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 30, 2025
Published
May 1, 2025, 00:19 UTC
CVE record updated
May 1, 2025, 15:33 UTC by cloudflare
NVD
Analyzed, last modified June 17, 2026, 09:32 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Workers-oauth-provider?

Every CVE in Workers-oauth-provider

Questions about CVE-2025-4143

Is CVE-2025-4143 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Cloudflare Workers-oauth-provider are affected by CVE-2025-4143?

@cloudflare/workers-oauth-provider before 0.0.5, per the GitHub advisory GHSA-4pc9-x2fx-p7vj. The tables above give every range the sources list.

Which version fixes CVE-2025-4143?

0.0.5, per the GitHub advisory GHSA-4pc9-x2fx-p7vj. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-4143?

Medium (6.0, CVSS 4.0, from cloudflare). The severity table above shows each score with its source.

Where is the official record of CVE-2025-4143?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.