CVE-2025-6087 in Cloudflare Create-Cloudflare and 1 more product
A Server-Side Request Forgery (SSRF) vulnerability was identified in the @opennextjs/cloudflare package. The vulnerability stems from an unimplemented feature in the Cloudflare adapter for Open Next, which allowed unauthenticated users to proxy arbitrary remote content via the /_next/image endpoint. This issue allo...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Cloudflare | Create-Cloudflare | < 2.49.3 |
| Opennextjs | Opennext For Cloudflare | < 1.3.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A Server-Side Request Forgery (SSRF) vulnerability was identified in the @opennextjs/cloudflare package. The vulnerability stems from an unimplemented feature in the Cloudflare adapter for Open Next, which allowed unauthenticated users to proxy arbitrary remote content via the /_next/image endpoint. This issue allowed attackers to load remote resources from arbitrary hosts under the victim site’s domain for any site deployed using the Cloudflare adapter for Open Next. For example: https://victim-site.com/_next/image?url=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. Impact: * SSRF via unrestricted remote URL loading * Arbitrary remote content loading * Potential internal service exposure or phishing risks through domain abuse Mitigation: The following mitigations have been put in place: * Server side updates to Cloudflare’s platform to restrict the content loaded via the /_next/image endpoint to images. The update automatically mitigates the issue for all existing and any future sites deployed to Cloudflare using the affected version of the Cloudflare adapter for Open Next * Root cause fix https://github.com/opennextjs/opennextjs-cloudflare/pull/727 to the Cloudflare adapter for Open Next. The patched version of the adapter is found here @opennextjs/[email protected] https://www.npmjs.com/package/@opennextjs/cloudflare/v/1.3.0 * Package dependency update https://github.com/cloudflare/workers-sdk/pull/9608 to create-cloudflare (c3) to use the fixed version of the Cloudflare adapter for Open Next. The patched version of create-cloudflare is found here: [email protected] https://www.npmjs.com/package/create-cloudflare/v/2.49.3 In addition to the automatic mitigation deployed on Cloudflare’s platform, we encourage affected users to upgrade to @opennext/cloudflare v1.3.0 and use the remotePatterns https://nextjs.org/docs/pages/api-reference/components/image#remotepatterns filter in Next config https://nextjs.org/docs/pages/api-reference/components/image#remotepatterns if they need to allow-list external urls with images assets.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-6087 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-031242-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2025-06-16 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-918: Server-Side Request Forgery (SSRF)
Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.
Related attack patterns (CAPEC)
CAPEC-664 Server Side Request Forgery via CWE-918
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Server-Side Request Forgery (SSRF) vulnerability was identified in the @opennextjs/cloudflare package, allowing unauthenticated users to proxy arbitrary remote content via the /_next/image endpoint.
The vulnerability stems from an unimplemented feature in the Cloudflare adapter for Open Next, which permits attackers to load remote resources from arbitrary hosts under the victim site's domain, potentially leading to unauthorized data exposure or other malicious activities.
Questions
What is CVE-2025-6087?
A Server-Side Request Forgery (SSRF) vulnerability was identified in the @opennextjs/cloudflare package, allowing unauthenticated users to proxy arbitrary remote content via the /_next/image endpoint.
What is the CVSS score for CVE-2025-6087?
CVE-2025-6087 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.8%.
Is CVE-2025-6087 actively exploited?
No confirmed active exploitation of CVE-2025-6087 as of 2026-09-25.
How do I remediate CVE-2025-6087?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-6087?
CVE-2025-6087 affects Cloudflare Create-Cloudflare; Opennextjs Opennext For Cloudflare.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Cloudflare","product":"Create-Cloudflare","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.