NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-29791: Agentgateway is missing parameter sanitization in MCP to OpenAPI conversion

mediumCVSS 3.1 4.9GHSA-v2x6-wwfw-r2rq

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

Published Mar 5, 2026 · Updated Mar 6, 2026

Affected packages

github.com/agentgateway/agentgateway

Ecosystem
Go
Affected
< 0.12.0
Fixed in
0.12.0
Check
go list -m github.com/agentgateway/agentgateway

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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!

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology