An administrator may publish an OpenAPI document to give an AI agent a bounded list of tools. That list becomes misleading if the gateway accepts a path that the document never declared. Apache's CVE-2026-124726 identifies such a gap in the openapi-to-mcp path handling of APISIX releases from 3.19.0 up to, but not including, 3.20.0. The relevant security…
Case · DiggingBeagle record
An MCP-converted OpenAPI tool could call an endpoint absent from its specification
Apache disclosed CVE-2026-124726 in APISIX 3.19.x: an OpenAPI-to-MCP tool did not adequately bind a requested upstream path to declared API operations, allowing a permitted caller to reach an undeclared route under relevant credentials.
Published by DiggingBeagle:
Apache APISIX 3.19.0 to before 3.20.0 with openapi-to-mcp; effective upstream permissions and callable paths determine actual reach. Advisory states potential impact, not verified theft or active exploitation.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- not established
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Primary research/advisory evidence supports the enumerated scope and outcomes, but no independent field-wide exploitation or loss denominator exists. Impact band remains unassigned; no publication or exploitation claim is inferred from the research setup. Apache APISIX 3.19.0 to before 3.20.0 with openapi-to-mcp; effective upstream permissions and callable paths determine actual reach. Advisory states potential impact, not verified theft or active exploitation.
Assessed Nov 17, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-DB255-APISIX-ADVISORY · CLM-DB255-APISIX-BOUNDARY · CLM-ENRICH256-APISIX-PATH-CREDENTIAL-SCOPE · Apache APISIX CVE-2026-124726 disclosure
At a glance
The failure class is capability mismatch: what the model sees as an allowed tool schema can differ from what the gateway actually dispatches. Require route-and-method allowlists at execution, bind upstream credentials to specific declared operations, and audit normalized target URLs, not just the tool name. An agent prompt that uses only published…
Read the implicationsNo documented production exploitation or affected-customer count was established in the advisory. The severity of accessible data depends on each upstream API permission configuration.
Limits and uncertaintyFull account
An administrator may publish an OpenAPI document to give an AI agent a bounded list of tools. That list becomes misleading if the gateway accepts a path that the document never declared. Apache's CVE-2026-124726 identifies such a gap in the openapi-to-mcp path handling of APISIX releases from 3.19.0 up to, but not including, 3.20.0.
The relevant security boundary is not whether the agent has passed gateway authentication. It is whether the converted tool's actual HTTP method, normalized path and credential context match one of the API operations the administrator intended to expose. Under the disclosed conditions, a caller could reach other API paths through the tool even though a model's advertised schema contained no such capability. The upstream service might still reject those requests, and the advisory does not quantify completed sensitive reads, changes or exploitation in the wild.
What a fix must establish
A production assessment should enumerate permitted operation identifiers and compare them against the request actually sent after path decoding, query construction and proxy routing. It should also test positive and negative controls: an allowed path should remain callable, while a same-method path absent from the OpenAPI document must fail before credentials are attached or sent upstream. Apache lists version 3.20.0 as the fix. This is an MCP authorization-scope problem, not an assertion that APISIX alone granted unrestricted administrative control.
An advertised tool name is not an upstream allowlist
The Apache advisory describes an authenticated MCP caller whose converted tool can dispatch a path that was not named in the OpenAPI description, using the gateway route's existing permissions. That is a breach of the intended tool contract even if the request ultimately receives a downstream authorization denial. The advisory does not establish that the caller can choose every HTTP verb or obtain administrative privileges. An effective regression test must pin the caller identity, method and effective upstream credential and compare the dispatched normalized route, rather than comparing an LLM-selected tool name to documentation. The practical fix is the vendor's 3.20.0 route validation plus least-privilege upstream permissions.
Mechanism and trust boundary
- 01
Configuration
OpenAPI operations are converted into a tool interface and the gateway retains credentials for upstream API access.
Boundary: declarative schema to live tool registry
- 02
Out-of-scope call
Caller supplies a path missing from the permitted document through the converted tool route.
Boundary: tool request to upstream HTTP dispatcher
- 03
Potential effect
The upstream service processes the request if its independent authentication and route rules allow it.
Boundary: gateway credential to external resource
Claims & evidence
CLM-DB255-APISIX-ADVISORYApache advisory CVE-2026-124726 identifies an undeclared-API-path invocation issue in the openapi-to-mcp tool on APISIX 3.19.0 before 3.20.0.supported
Basis: reported finding
- supportsApache APISIX CVE-2026-124726 disclosureprimary disclosure
Affected versions; Description; Solution
CLM-DB255-APISIX-BOUNDARYThe advisory limits the class to API paths not declared in the OpenAPI document; it does not establish arbitrary verb execution or a documented production victim.supported
Basis: reported finding
- supportsApache APISIX CVE-2026-124726 disclosureprimary disclosure
CVE-2026-124726: Description
CLM-ENRICH256-APISIX-PATH-CREDENTIAL-SCOPECVE-2026-124726 concerns undeclared API path access through a configured openapi-to-mcp route on APISIX 3.19.x; observed effect depends on the credential and authorization held by the upstream service, not unrestricted anonymous access.supported
Basis: reported finding
- supportsApache APISIX CVE-2026-124726 disclosureprimary disclosure
Apache disclosure: affected versions, Description and security impact
Implications
The failure class is capability mismatch: what the model sees as an allowed tool schema can differ from what the gateway actually dispatches. Require route-and-method allowlists at execution, bind upstream credentials to specific declared operations, and audit normalized target URLs, not just the tool name. An agent prompt that uses only published operations cannot compensate for a permissive server-side dispatcher. Negative controls should request undeclared paths under the same configured route credential and confirm the gateway rejects them before any upstream side effect; response-code-only checks cannot prove that the forbidden request was never sent.
Controls and mitigations
- Upgrade APISIX to 3.20.0 or later and verify the exact conversion plugin configuration.
- Check that every tool invocation matches an explicitly declared method and normalized path before adding any upstream credential.
- Restrict and monitor upstream route credentials; test undeclared routes as negative controls.
Unknowns and contradictions
- No documented production exploitation or affected-customer count was established in the advisory.
- The severity of accessible data depends on each upstream API permission configuration.
Sources and citation
Material revision history
- Nov 16, 2026 · Published version · first publication · revision 257