What happened
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.
Why it matters
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.
Attack vector
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.
Affected systems
Apache APISIX 3.19.0 before 3.20.0
Mitigation
Upgrade Apache APISIX to 3.20.0. Review OpenAPI-declared endpoint restrictions and the credentials each Route grants to the MCP surface.