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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 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

  2. 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

  3. 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

Link to claim
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

Link to claim
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

Link to claim

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

  1. Nov 16, 2026 · Published version · first publication · revision 257