Vulnerability  ·  2026-11-16

Apache APISIX MCP endpoint relative path traversal / unintended proxy to undeclared endpoints (CVE-2026-124726)

VulnerabilityMedium impactGlobalCVE-2026-124726
In Apache APISIX from 3.19.0 before 3.20.0, an MCP endpoint caller can reach endpoints not declared in the OpenAPI document by path traversal, under the declared tool's HTTP method, using credentials the Route adds. The flaw is a Relative Path Traversal with Unintended Proxy (CWE-23); CVSS 4.0 base 6.9 (Medium). Published via Apache oss-security on 2026-11-13; fixed in 3.20.0.
The MCP endpoint's whole access-control model derives from the OpenAPI declaration limiting which endpoints an AI agent can reach. This bypass lets an agent invoke internal/undeclared services using the gateway's own Route credentials, breaking the containment an organization relies on when exposing APISIX as a tool surface to an LLM agent.
A caller of APISIX's MCP endpoint exploits a relative path traversal (CWE-23) combined with an unintended-proxy condition to invoke endpoints that were never declared in the OpenAPI document, under the declared tool's HTTP method and using the credentials the Route adds.
Apache APISIX 3.19.0 before 3.20.0
Upgrade Apache APISIX to 3.20.0. Review OpenAPI-declared endpoint restrictions and the credentials each Route grants to the MCP surface.
Apache oss-security mailing list (CVE-2026-124726)NVD record CVE-2026-124726
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →