Home / Cloudflare / Create-cloudflare / CVE-2025-6087
CVE-2025-6087: is it exploited, and which versions of Create-cloudflare are affected and fixed?
CVE-2025-6087 is a server-side request forgery (SSRF) vulnerability in Create-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, 12:08 UTC). Affected: @opennextjs/cloudflare before 1.3.0 (GitHub advisory GHSA-rvpw-p7vw-wj3m). Fixed in 1.3.0 (GitHub advisory GHSA-rvpw-p7vw-wj3m). Severity: High (7.8, CVSS 4.0, from cloudflare).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-6087?
SSRF vulnerability in opennextjs-cloudflare via /_next/image endpoint
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.
From the CVE record by cloudflare, last updated June 16, 2025, 18:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| opennextjs-cloudflare | not stated |
As the CVE record by cloudflare states it, last updated June 16, 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?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @opennextjs/cloudflare | < 1.3.0 | 1.3.0 | GHSA-rvpw-p7vw-wj3m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 16, 2025. Summary: OpenNext for Cloudflare (opennextjs-cloudflare) has a SSRF vulnerability via /_next/image endpoint.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cloudflare | create-cloudflare | before 2.49.3 | application |
| opennextjs | opennext for cloudflare | before 1.3.0 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:01 UTC.
How severe is CVE-2025-6087?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | 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:L/SA:N | cloudflare |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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-2025-6087 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, June 16, 2025)
- EPSS
- 0.97% probability of exploitation activity in the next 30 days, percentile 63.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-918 Server-Side Request Forgery
Where are the vendor advisories and references?
Who found and reported it?
- Edward Coristine (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 14, 2025
- Published
- June 16, 2025, 18:30 UTC
- CVE record updated
- June 16, 2025, 18:55 UTC by cloudflare
- NVD
- Analyzed, last modified June 17, 2026, 10:01 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-6087
Is CVE-2025-6087 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.97% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Create-cloudflare are affected by CVE-2025-6087?
@opennextjs/cloudflare before 1.3.0, per the GitHub advisory GHSA-rvpw-p7vw-wj3m. The tables above give every range the sources list.
Which version fixes CVE-2025-6087?
1.3.0, per the GitHub advisory GHSA-rvpw-p7vw-wj3m. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-6087?
High (7.8, CVSS 4.0, from cloudflare). The severity table above shows each score with its source.
Where is the official record of CVE-2025-6087?
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.