{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-3125","published":"2026-03-04T19:16:19.730000Z","last_modified":"2026-06-17T10:43:05.107000Z","status":"Analyzed","cvss":{"version":"4.0","score":7.7,"severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"cna@cloudflare.com","primary":false},"auth":false,"cwes":["CWE-706","CWE-918"],"cpes":[{"criteria":"cpe:2.3:a:opennextjs:opennext_for_cloudflare:*:*:*:*:*:node.js:*:*","part":"a","vendor":"opennextjs","product":"opennext_for_cloudflare","version_end_excluding":"1.17.1"}],"cpes_truncated":false,"vendors":["opennextjs"],"products":["opennextjs/opennext_for_cloudflare"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c7mq-gh6q-6q7c","ecosystem":"npm","name":"@opennextjs/cloudflare","purl":"pkg:npm/%40opennextjs/cloudflare","ranges":[{"introduced":"0","fixed":"1.17.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-rvpw-p7vw-wj3m","ecosystem":"npm","name":"@opennextjs/cloudflare","purl":"pkg:npm/%40opennextjs/cloudflare","ranges":[{"introduced":"0","fixed":"1.3.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":61,"links":{"html_es":"/es/cve/CVE-2026-3125/","html_en":"/en/cve/CVE-2026-3125/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-3125","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-3125"},"untrusted":{"vendor_name":"Opennextjs","product_name":"Opennext For Cloudflare","desc_en":"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.\n\nFor example: \n\n https://victim-site.com/cdn-cgi\\image/aaaa/https://attacker.com \n\nIn 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.\n\nNote: 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.\n\nAdditionally, 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.","affected":[{"untrusted_vendor":"opennextjs","untrusted_product":"@opennextjs/cloudflare","versions":[]}],"references":[{"url":"https://github.com/advisories/GHSA-rvpw-p7vw-wj3m","tags":["Third Party Advisory"]},{"url":"https://github.com/opennextjs/opennextjs-cloudflare/pull/1147","tags":["Issue Tracking","Patch"]},{"url":"https://www.cve.org/cverecord?id=CVE-2025-6087","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/@opennextjs/cloudflare/v/1.17.1","tags":["Product","Release Notes"]}]}}