CVE-2026-29791

Agentgateway: Missing parameter sanitization in MCP to OpenAPI conversion

Published Mar 6, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
Description
Agentgateway is an open source data plane for agentic AI connectivity within or across any agent framework or environment. Prior to version 0.12.0, when converting MCP tools/call request to OpenAPI request, input path, query, and header values are not sanitized. This issue has been patched in version 0.12.0.

Analysis

AI-generated

Technical impact

Agentgateway allows external systems to convert MCP tool calls into OpenAPI requests. In versions earlier than 0.12.0, the conversion process fails to sanitize input values for path segments, query parameters, and headers, creating a classic input validation flaw (CWE‑20). An attacker who can supply crafted MCP calls may cause the generated OpenAPI request to contain malformed or malicious values, potentially leading to unintended API behavior, information disclosure, or denial of service.

Affected Systems

All installations of Agentgateway older than version 0.12.0. The affected product is the open‑source data plane component named Agentgateway, as listed by the CNA vendor product pair agentgateway:agentgateway. No other vendor or product variants are referenced in the advisory.

Risk and Exploitability

The CVSS score of 4.9 indicates a moderate risk, and the EPSS score of less than 1% suggests the likelihood of real‑world exploitation is very low at present. The vulnerability is not currently listed in the CISA KEV catalog, further indicating limited exploitation activity. If an attacker can reach the MCP interface, they can manipulate the OpenAPI request generation, though this does not immediately grant arbitrary code execution. The principal risk lies in accidental or malicious alteration of downstream API requests.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Agentgateway to version 0.12.0 or later, which includes the input sanitization fixes for MCP to OpenAPI conversion.
  • If upgrade cannot be applied immediately, restrict network access to the MCP endpoint so that only trusted hosts can send conversion requests, reducing the attack surface.
  • Implement custom input validation or sanitization for path, query, and header values before they are passed to the OpenAPI converter, ensuring that only expected characters and formats are accepted.

Generated by OpenCVE AI on April 16, 2026 at 11:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-v2x6-wwfw-r2rq Agentgateway is missing parameter sanitization in MCP to OpenAPI conversion
History
Type Values Removed Values Added
First Time appeared Lfprojects
Lfprojects agentgateway
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:lfprojects:agentgateway:*:*:*:*:*:*:*:*
Vendors & Products Lfprojects
Lfprojects agentgateway
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Agentgateway
Agentgateway agentgateway
Vendors & Products Agentgateway
Agentgateway agentgateway
Type Values Removed Values Added
Description Agentgateway is an open source data plane for agentic AI connectivity within or across any agent framework or environment. Prior to version 0.12.0, when converting MCP tools/call request to OpenAPI request, input path, query, and header values are not sanitized. This issue has been patched in version 0.12.0.
Title Agentgateway: Missing parameter sanitization in MCP to OpenAPI conversion
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 9, 2026, 8:54 PM
Reserved
Mar 4, 2026, 4:26 PM
Status
Analyzed
Published
Mar 6, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:29 AM