Server-side Request Forgery (SSRF) Affecting @opennextjs/cloudflare package, versions <1.17.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-OPENNEXTJSCLOUDFLARE-15435545
  • published6 Mar 2026
  • disclosed4 Mar 2026
  • creditEzzer17

Introduced: 4 Mar 2026

NewCVE-2026-3125  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade @opennextjs/cloudflare to version 1.17.1 or higher.

Overview

@opennextjs/cloudflare is a Cloudflare builder for next apps

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the cdn-cgi/image/ handler due to improper path normalization. An attacker can cause the server to fetch arbitrary remote URLs and potentially expose internal or private resources by sending specially crafted requests with backslashes in the path.

Note:

This is only exploitable if the HTTP client preserves backslashes in the request path (such as using curl --path-as-is).

References

CVSS Base Scores

version 4.0
version 3.1