4.9medium
Agentgateway: Missing parameter sanitization in MCP to OpenAPI conversion
- Severity
- 4.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-v2x6-wwfw-r2rq
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| agentgateway agentgateway | < 0.12.0 | CVE List |
| github.com/agentgateway/agentgateway (Go) | before 0.12.0 | GitHub Advisory Database |
| lfprojects agentgateway | before 0.12.0 | NVD |
All scores
| GitHub_M | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| GitHub | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
When converting MCP tools/call request to OpenAPI request, input path, query, and header values are not sanitized.
Details
When using the MCP to OpenAPI feature, the proxy lacks proper sanitization of input parameters in the MCP call, allowing:
- Injection of additional path or query parameters.
- Injection of additional headers.
Impacted Versions
This vulnerability is fixed in Agentgateway v0.12.0+. Users on older versions are recommended to upgrade to v0.12.0+.
This feature only impacts usage of the MCP to OpenAPI feature
Credits
Agentgateway extends its thanks to @spacewander for the report!
NVD (es)
Agentgateway es un plano de datos de código abierto para la conectividad de IA agéntica dentro o a través de cualquier framework o entorno de agente. Antes de la versión 0.12.0, al convertir solicitudes de herramientas/llamadas MCP a solicitudes OpenAPI, los valores de ruta de entrada, consulta y encabezado no se desinfectan. Este problema ha sido parcheado en la versión 0.12.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-29791 changed 2026-03-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v2x6-wwfw-r2rq changed 2026-03-06 | CC-BY-4.0 |
| NVD | CVE-2026-29791 changed 2026-06-17 | Public domain |