Advisory

GHSA-v2x6-wwfw-r2rq

Also known as: CVE-2026-29791

Summary

Agentgateway is missing parameter sanitization in MCP to OpenAPI conversion

Details

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!

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-05 01:02 UTC
Modified
2026-03-06 23:01 UTC

Affected packages and fixes

github.com/agentgateway/agentgateway

Go · All systems

Affected

  • introduced 0, fixed 0.12.0 (semver)

Fixed versions

0.12.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences