/

CVE-2026-79659

Severity:

HIGH RISK

(7.7)

SSRF (CWE-918) in Ech0 Peer Connection Health Checks

CVE-2026-79659

Awaiting Analysis

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Internal Service and Cloud Metadata Access

Severity:

HIGH RISK

(7.7)

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

Ech0 contains a server-side request forgery vulnerability in the fetchPeerConnectInfo function, which can issue HTTP requests to attacker-supplied URLs without sufficient validation.

An authenticated attacker may abuse connection health checks or peer connection operations to reach internal services, cloud metadata endpoints, or other network locations that are normally inaccessible from outside the deployment.

Affected context

The vulnerability occurs in Ech0 deployments where authenticated users can trigger peer connection or connection health-check operations. Risk is greater when the server can access private network services, cloud instance metadata endpoints, administrative interfaces, or other sensitive destinations, and when outbound requests are not restricted by network policy or URL validation.

Exploit preconditions

  • Attack surface: Peer connection and connection health-check functionality
  • Required access: Valid authentication with permission to invoke the affected operations
  • Trigger point: Processing of a user-supplied URL by fetchPeerConnectInfo
  • Why exploitation is possible: The server makes outbound HTTP requests without adequately validating the destination or restricting access to internal address ranges

Why this happens

The underlying bug is server-side request forgery, mapped to CWE-918. The application accepts a URL influenced by an authenticated user and uses it for a server-side HTTP request without applying robust destination validation, scheme restrictions, redirect controls, and private-network protections. As a result, the server becomes an unintended proxy to resources reachable from its network environment.

Potential impact

  • An attacker may access internal services that trust requests from the application network.
  • Sensitive cloud instance metadata or temporary credentials could be exposed.
  • Internal administrative interfaces or service APIs could be queried.
  • Network topology and service information could be disclosed.
  • Compromised credentials could enable further access or lateral movement.

General mitigation guidance

Mitigation generally focuses on reducing server-side URL trust and constraining outbound network access.

Common defensive patterns include:

  • Allowing requests only to explicitly approved destinations or registered peers.
  • Validating schemes, hostnames, resolved addresses, ports, and redirect targets.
  • Blocking loopback, link-local, private, reserved, and internal address ranges after DNS resolution.
  • Restricting outbound traffic with network segmentation, egress filtering, and workload-level policy.
  • Preventing access to cloud metadata services where platform controls support that boundary.
  • Applying least-privilege permissions to the authenticated operations that initiate peer requests.
  • Returning minimal response content and avoiding exposure of raw upstream responses.

How teams detect issues like this

High-level detection approaches include:

  • Static analysis rules identifying HTTP client calls that consume user-controlled URLs.
  • Code review checks for missing allowlists, destination validation, redirect handling, and private-address blocking.
  • Dynamic testing with requests targeting loopback, private, link-local, unusual IP representations, and redirect chains.
  • Egress monitoring for application requests to internal ranges, metadata endpoints, or unexpected external hosts.
  • Policy enforcement requiring approved peer destinations and restricting outbound connectivity.
  • Neutral automated security review tools may help identify URL-fetching paths that lack SSRF protections.

Sources

SourceLink
github.comgithub.com/lin-snow/Ech0/security/advisories/GHSA-8mc6-xjpr-h98x
vulncheck.comvulncheck.com/advisories/ech0-before-server-side-request-forgery-via-fetchpeerconnectinfo

Frequently asked

questions

It may be exploitable over the network when an authenticated user can invoke the affected peer connection or health-check functionality and the server has access to sensitive destinations.

The attacker generally needs valid authentication and sufficient authorization to trigger operations that process the attacker-controlled URL. The exact scope depends on Ech0's deployment and access controls.

Use an explicit destination allowlist, validate resolved addresses and redirects, and enforce network-level egress restrictions rather than relying only on user-supplied URL checks.

Treat all externally influenced URLs as untrusted, centralize safe HTTP request handling, test private and cloud metadata address ranges, and monitor outbound requests from application workloads.

Find out what's already
exploitable in your codebase.