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

Published Mar 5, 2026
·
Updated

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!

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
go/github.com/agentgateway/agentgateway<0.12.0
0.12.0
Lfprojects Agentgateway<0.12.0

Event History

Mar 5, 2026
Advisory Published
via GitHub·01:02 AM
Data Sourced
via GitHub·01:02 AM
DescriptionSeverityWeaknessAffected Software
Mar 6, 2026
CVE Published
via MITRE·08:39 PM
Data Sourced
via MITRE·08:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
Affected Software
May 31, 58181
Event
via NVD·04:05 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-29791?

The severity of CVE-2026-29791 is rated as medium due to the missing parameter sanitization in the MCP to OpenAPI conversion.

2

How do I fix CVE-2026-29791?

To fix CVE-2026-29791, ensure that parameter sanitization is implemented for input path, query, and header values during the MCP to OpenAPI conversion.

3

Which versions of Agentgateway are affected by CVE-2026-29791?

CVE-2026-29791 affects Agentgateway versions prior to 0.12.0.

4

What kind of vulnerability is CVE-2026-29791?

CVE-2026-29791 is classified as an input validation vulnerability due to missing sanitization.

5

Is CVE-2026-29791 a critical vulnerability?

No, CVE-2026-29791 is not considered a critical vulnerability, but it requires attention to prevent potential security risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203