/

CVE-2026-51031

Severity:

HIGH RISK

(7.5)

SSRF (CWE-918) in FlareSolverr /v1 API endpoint

CVE-2026-51031

Deferred

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Information Disclosure via Server-Side Request Forgery

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

FlareSolverr versions prior to 3.4.7 contain a server-side request forgery (SSRF) flaw in the /v1 API endpoint that lets attackers abuse the service as an HTTP proxy.

A remote attacker can coerce the server into making arbitrary outbound requests, potentially exposing sensitive internal resources and metadata.

Affected context

The vulnerability occurs in deployments of FlareSolverr that expose the /v1 API endpoint and accept user-supplied target URLs or similar parameters.

When the application forwards these requests without sufficient validation or destination restrictions, it can be tricked into contacting internal or otherwise restricted services on behalf of the attacker.

This typically arises where FlareSolverr is reachable from the internet or from untrusted clients and has network access to backend systems or cloud metadata services.

Exploit preconditions

  • Attack surface: The publicly or internally exposed /v1 HTTP API endpoint.
  • Required access: Ability to send crafted requests to the FlareSolverr service; no prior authentication may be required depending on configuration.
  • Trigger point: Supplying a malicious or internal URL (or equivalent parameter) that the /v1 endpoint uses to initiate outbound requests.
  • Why exploitation is possible: The endpoint forwards user-controlled URLs without enforcing strict allowlists, host/IP filtering, or scheme validation, enabling requests to internal networks or sensitive services.

Why this happens

This issue stems from treating user-supplied URLs or network destinations as inherently trustworthy and passing them directly into server-side HTTP requests.

Without robust validation and network egress controls, the application effectively becomes an SSRF-capable proxy that can reach internal or protected resources on behalf of an attacker.

Conceptually, this maps to CWE-918: Server-Side Request Forgery, where the server's own network position and trust relationships are abused by untrusted input controlling outbound connections.

Potential impact

  • Access to internal web services that are not directly exposed to the internet.
  • Retrieval of sensitive configuration data or metadata from internal or cloud provider endpoints.
  • Discovery of internal network structure, hostnames, and available services.
  • Use of the application as a pivot point for further attacks against backend systems.

General mitigation guidance

Effective mitigation generally focuses on constraining where the server can connect and how user input influences outbound requests.

Common defensive patterns include:

  • Implementing strict allowlists of permitted domains, IP ranges, or paths for server-initiated HTTP requests.
  • Rejecting requests to private, loopback, or link-local address ranges, and blocking access to cloud metadata endpoints.
  • Validating and normalizing URLs server-side, including scheme checks and DNS re-resolution before connection.
  • Segmenting network access so that application instances exposed to untrusted clients have minimal reach into internal services.
  • Applying least-privilege principles to network egress policies and avoiding unnecessary outbound connectivity.

How teams detect issues like this

Organizations can detect SSRF risks and active abuse through several complementary approaches:

  • Static analysis and code review rules that flag direct use of user-supplied URLs in HTTP client libraries or request functions.
  • Security reviews focused on endpoints that accept URLs, hostnames, or similar parameters and initiate outbound connections.
  • Network monitoring and logging of outbound requests from application instances, with alerts for connections to internal address ranges or unexpected destinations.
  • Web application firewall (WAF) or reverse proxy rules that detect and block patterns indicative of SSRF attempts, such as accessing private IP addresses or metadata endpoints.

Sources

SourceLink
xinyi234.github.ioxinyi234.github.io/2026/04/13/FlareSolverr-Server-Side-Request-Forgery-SSRF-Vulnerability-Report/

Frequently asked

questions

Yes. If the /v1 API endpoint is reachable from untrusted networks, a remote attacker can exploit the SSRF by sending crafted requests that cause the server to make outbound connections on their behalf.

The attacker typically only needs network access to the FlareSolverr service and the ability to call the /v1 endpoint. Depending on deployment, this may not require any authentication or prior compromise.

The most robust fix is to restrict outbound destinations through strict allowlists and to enforce comprehensive URL validation, combined with blocking access to private and metadata address ranges and minimizing the application's network reach.

Design endpoints so that user input cannot directly control outbound network destinations, apply centralized URL validation utilities, enforce network egress controls, and include SSRF-focused checks in code review and automated security testing pipelines.

Find out what's already
exploitable in your codebase.