/

CVE-2026-125926

Severity:

HIGH RISK

(8.5)

Server-Side Request Forgery (CWE-918) in Amazon MCP Gateway

CVE-2026-125926

Awaiting Analysis

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Unauthorized access to internal services and disclosure of responses

Severity:

HIGH RISK

(8.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

A server-side request forgery (SSRF) vulnerability in Amazon mcp-gateway-registry may let an authenticated remote user make the gateway send crafted requests to internal network services or cloud instance metadata endpoints. If the gateway can reach those destinations and returns their responses, the user may read information that should not be externally accessible.

Affected context

The issue is in the server registration and update API of Amazon mcp-gateway-registry before version 1.35.0. Risk depends on whether an authenticated user can submit request data that influences outbound destinations, whether the gateway can reach internal services or metadata endpoints, and whether responses are exposed to the caller.

Exploit preconditions

  • Attack surface: The server registration or update API is reachable by the user.
  • Required access: An authenticated remote account with access to the relevant API operation.
  • Trigger point: Submission of crafted request data that causes the gateway to make an outbound request.
  • Why exploitation is possible: If destination controls are insufficient and the gateway relays responses, requests may reach internal services and their responses may be returned to the caller.

Why this happens

CWE-918 describes server-side request forgery: an application accepts input that influences a server-side request without adequately constraining its destination. In this case, the registration and update API can be induced to make outbound requests, creating risk when internal destinations are reachable and responses are exposed.

Potential impact

  • An attacker may read responses from internal network services.
  • Cloud instance metadata may be exposed if the gateway can reach metadata endpoints.
  • Internal services could receive requests that bypass some network boundary controls.
  • Information obtained through the gateway could support further unauthorized access.

General mitigation guidance

Reduce the influence of user-controlled data on outbound request destinations. Prefer secure-by-default destination allowlists and reject loopback, link-local, private, or otherwise disallowed address ranges where appropriate. Validate destinations after resolving names and account for redirects and DNS changes. Avoid returning raw upstream responses to callers, and apply least-privilege network egress controls so the gateway can reach only required services.

How teams detect issues like this

Review outbound request code paths for destinations derived from API input, including registration and update workflows. Static analysis and code review can look for request clients that accept user-controlled URLs or hosts without strict validation. Monitor gateway egress for unexpected connections to internal or metadata address ranges, and enforce network policies that restrict unnecessary outbound traffic. Automated security review tools may help identify risky request flows.

Sources

SourceLink
aws.amazon.comaws.amazon.com/security/security-bulletins/2026-180-aws/
github.comgithub.com/agentic-community/mcp-gateway-registry/releases/tag/1.35.0
github.comgithub.com/agentic-community/mcp-gateway-registry/security/advisories/GHSA-fc39-fwh3-wv5r

Frequently asked

questions

The described attack requires an authenticated remote user who can access the relevant server registration or update API.

Internal services and cloud metadata endpoints may be at risk when they are reachable from the gateway and the API can be made to request them.

Strictly constrain outbound destinations with secure-by-default allowlists, limit network egress, and avoid exposing raw upstream responses.

Treat destination data as untrusted, validate resolved addresses and redirects, restrict the gateway's network access, and review server-side request flows in code and security testing.

Find out what's already
exploitable in your codebase.