Agentgateway is missing parameter sanitization in MCP to OpenAPI conversion
Moderate severity
GitHub Reviewed
Published
Mar 4, 2026
in
agentgateway/agentgateway
•
Updated Mar 6, 2026
Package
Affected versions
< 0.12.0
Patched versions
0.12.0
Description
Published to the GitHub Advisory Database
Mar 5, 2026
Reviewed
Mar 5, 2026
Published by the National Vulnerability Database
Mar 6, 2026
Last updated
Mar 6, 2026
Summary
When converting MCP
tools/callrequest 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:
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