{"id":"CVE-2026-29791","aliases":["CVE-2026-29791","GHSA-v2x6-wwfw-r2rq"],"related":[],"kind":"vulnerability","state":"published","title":"Agentgateway: Missing parameter sanitization in MCP to OpenAPI conversion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nWhen converting MCP `tools/call` request to OpenAPI request, input path, query, and header values are not sanitized.\n\n### Details\n\nWhen using the [MCP to OpenAPI](https://agentgateway.dev/docs/standalone/latest/mcp/connect/openapi/) feature, the proxy lacks proper sanitization of input parameters in the MCP call, allowing:\n* Injection of additional path or query parameters.\n* Injection of additional headers.\n\n### Impacted Versions\n\nThis vulnerability is fixed in Agentgateway v0.12.0+. Users on older versions are recommended to upgrade to v0.12.0+.\n\nThis feature only impacts usage of the [MCP to OpenAPI](https://agentgateway.dev/docs/standalone/latest/mcp/connect/openapi/) feature\n\n### Credits\n\nAgentgateway extends its thanks to @spacewander for the report!","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-05T01:02:47.000Z","modified":"2026-06-17T10:29:53.650Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 0.12.0","status":"affected"}],"vendor":"agentgateway","product":"agentgateway","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.0"}],"ecosystem":"Go","package":"github.com/agentgateway/agentgateway","purl":"pkg:golang/github.com/agentgateway/agentgateway","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.12.0"}],"vendor":"lfprojects","product":"agentgateway","cpe":"cpe:2.3:a:lfprojects:agentgateway:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/agentgateway/agentgateway/security/advisories/GHSA-v2x6-wwfw-r2rq","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29791","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/agentgateway/agentgateway/commit/9a5287569d892e77a8be8c3bb7bf3d7744244274","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/agentgateway/agentgateway","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-09T20:50:18.880Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29791","url":"https://www.cve.org/CVERecord?id=CVE-2026-29791","licence":"CVE Terms of Use","modified":"2026-03-09T20:54:30.319Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v2x6-wwfw-r2rq","url":"https://github.com/advisories/GHSA-v2x6-wwfw-r2rq","licence":"CC-BY-4.0","modified":"2026-03-06T23:01:26.649Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29791","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29791","licence":"Public domain","modified":"2026-06-17T10:29:53.650Z"}],"updatedAt":"2026-11-25T22:59:15.422Z","epss":{"score":0.00171,"percentile":0.06847,"date":"2026-12-01T12:00:22.000Z"}}