CVE-2026-37236: Grpc-gateway vulnerability

Published Aug 28, 2026
·
Updated

grpc-gateway v2.28.0 is vulnerable to Incorrect Access Control. The application processes the X-HTTP-Method-Override header in ServeMux.ServeHTTP without restricting allowed methods. When a POST request with Content-Type application/x-www-form-urlencoded includes this header, the request method is rewritten to an arbitrary attacker-supplied value before routing. This allows bypassing method-based access controls enforced by upstream proxies or WAFs.

Affected Software

1 affected component
grpc-gateway=v2.28.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade grpc-gateway to a version that resolves this vulnerability.

    Fixed in 2.28.0

Event History

Aug 28, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using grpc-gateway v2.28.0 are exposed when requests can reach ServeMux.ServeHTTP through an upstream proxy or WAF that applies access controls based on the original HTTP method.

2

What does an attacker need to exploit it?

An attacker needs to send a POST request with Content-Type application/x-www-form-urlencoded and an X-HTTP-Method-Override header containing the method they want the gateway to route. The gateway rewrites the method before routing.

3

Are all requests affected by the method override behavior?

The described behavior applies when the request is a POST with Content-Type application/x-www-form-urlencoded and includes X-HTTP-Method-Override. The supplied data does not establish whether this is enabled or reachable in every deployment configuration.

4

What can be done if patching is not immediately possible?

Restrict or remove X-HTTP-Method-Override at the proxy, WAF, or application boundary, and ensure access controls evaluate the effective method used for routing rather than only the original request method.

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