CVE Catalog

CVE-2026-37236

Unknown
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker can bypass method-based access controls, potentially leading to unauthorized operations such as data modification or deletion. This can compromise system integrity and confidentiality.

Recommendation

Update grpc-gateway to a patched version or configure the server to ignore the X-HTTP-Method-Override header. Additionally, consider adding WAF rules to block this header.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS