/

CVE-2026-65057

Severity:

CRITICAL RISK

(9.3)

Server-Side Request Forgery (CWE-918) in Keep Healthcheck

CVE-2026-65057

Deferred

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Unauthorized access to internal services and cloud metadata

Severity:

CRITICAL RISK

(9.3)

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

A server-side request forgery flaw in Keep allows attackers to control outbound HTTP requests made by the backend via an unprotected healthcheck endpoint.

By sending crafted JSON with a malicious host parameter, unauthenticated attackers can pivot the server to reach internal services or cloud metadata endpoints, exposing sensitive credentials and internal topology.

Affected context

The vulnerability appears in deployments of Keep that expose the healthcheck endpoint without strict authentication, input validation, or host allowlisting.

It is relevant in environments where the backend has network reachability to internal services, cloud provider metadata endpoints, or other sensitive infrastructure.

Risk increases when the backend's egress traffic is not constrained, and when internal APIs trust calls originating from this service.

Exploit preconditions

  • Attack surface: Publicly exposed healthcheck endpoint that accepts JSON input.
  • Required access: Network access to the healthcheck endpoint; no authentication needed.
  • Trigger point: Submission of a crafted JSON payload specifying an attacker-controlled host parameter.
  • Why exploitation is possible: The backend uses the supplied host value directly to construct outbound HTTP requests without enforcing validation, allowlists, or network segmentation, enabling SSRF into internal or cloud infrastructure.

Why this happens

This issue stems from trusting user-supplied network endpoints and routing them through privileged server-side HTTP clients.

The healthcheck endpoint accepts a host parameter from the request body and uses it to perform outbound checks without validating that the host is safe, internal-only, or part of an approved list.

Conceptually, this maps to CWE-918: Server-Side Request Forgery (SSRF), where an attacker influences how the server connects to other network resources, leveraging its position and credentials to reach targets they could not access directly.

Potential impact

  • Theft of cloud instance or service account credentials via cloud metadata endpoints.
  • Access to internal microservices or management APIs not exposed externally.
  • Discovery of internal network structure, hostnames, and open ports.
  • Potential lateral movement or privilege escalation using obtained secrets.
  • Abuse of backend IP reputation, possibly impacting other services.

General mitigation guidance

Effective mitigation focuses on restricting how user input can influence server-initiated network calls and reducing backend network trust.

Common defensive patterns include:

  • Enforcing strict allowlists for outbound hosts and protocols used by healthcheck or diagnostic endpoints.
  • Normalizing and validating host parameters to reject private IP ranges, link-local addresses, and cloud metadata domains.
  • Removing or severely limiting user-controlled URLs or hosts in healthcheck functionality, favoring static configuration.
  • Constraining egress traffic using network policies, firewalls, or service mesh rules so the backend cannot freely reach sensitive internal or metadata endpoints.
  • Applying least-privilege to attached cloud identities so metadata compromise yields minimal access.

How teams detect issues like this

Detection typically relies on identifying patterns where user input flows directly into outbound HTTP clients or URL construction logic.

High-level approaches include:

  • Static analysis rules that flag use of request-supplied host or URL fields passed into HTTP libraries without validation or allowlisting.
  • Code reviews focused on healthcheck, diagnostic, and proxy endpoints that permit user control over target hosts or URLs.
  • Logging and monitoring of unusual egress traffic, particularly calls to cloud metadata IPs, internal administrative domains, or non-standard ports, originating from web-facing services.
  • Policy enforcement in CI/CD that requires justification and safeguards when implementing user-configurable network checks or proxies.

Sources

SourceLink
github.comgithub.com/keephq/keep
github.comgithub.com/keephq/keep/issues/6630
vulncheck.comvulncheck.com/advisories/keep-unauthenticated-server-side-request-forgery-via-post-providers-healthcheck

Frequently asked

questions

Yes. Because the healthcheck endpoint is unauthenticated and network-accessible, a remote attacker can exploit the SSRF by sending crafted JSON requests from outside the organization.

Only network access to the vulnerable healthcheck endpoint is required. No valid user account or prior compromise is needed, though internal reachability of sensitive targets depends on the backend's network position.

Remove user control over outbound request destinations in healthcheck or similar endpoints, and enforce strict host allowlists and input validation wherever server-side HTTP clients consume user input. Combine this with egress controls so even misconfigurations are contained.

Architect services so they do not act as open proxies, treat any user-influenced network destination as untrusted, and apply layered defenses: validated allowlists, network segmentation, metadata endpoint protections, and least-privilege cloud identities. Incorporate SSRF-specific checks into design reviews and static analysis policies.

Find out what's already
exploitable in your codebase.