CVE-2026-29791
Agentgateway is missing parameter sanitization in MCP to OpenAPI conversion
Auswirkung
### 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](https://agentgateway.dev/docs/standalone/latest/mcp/connect/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](https://agentgateway.dev/docs/standalone/latest/mcp/connect/openapi/) feature ### Credits Agentgateway extends its thanks to @spacewander for the report!
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/agentgateway/agentgateway | < 0.12.0 | 0.12.0 |
Betroffene Produkte · Lfprojects
| Produkt | Betroffene Versionen |
|---|---|
| Agentgateway | vor 0.12.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/agentgateway/agentgateway/security/advisories/GHSA-v2x6-wwfw-r2rq
- https://github.com/advisories/GHSA-v2x6-wwfw-r2rq
- https://github.com/agentgateway/agentgateway/commit/9a5287569d892e77a8be8c3bb7bf3d7744244274
- https://nvd.nist.gov/vuln/detail/CVE-2026-29791