Description
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.
Published: 2026-08-28
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Access Control Bypass
Action: Apply Patch
AI Analysis

Impact

grpc-gateway v2.28.0 parses the X-HTTP-Method-Override header in ServeMux.ServeHTTP without validating the target method. When an attacker sends a POST request with Content-Type application/x-www-form-urlencoded and supplies this header, the server changes the request method to an arbitrary value before routing. This flaw allows the requester to alter the HTTP method used for the downstream service, effectively bypassing any method-based access controls, such as those enforced by upstream proxies or web application firewalls. The effect is that endpoints protected by method restrictions can be accessed with an unsupported HTTP verb, potentially exposing functionality that should be restricted. The CVSS score of 9.8 indicates very high severity.

Affected Systems

The vulnerability affects the grpc‑gateway library, version 2.28.0. Any application that integrates this library and accepts X-HTTP-Method-Override headers is potentially impacted; the flaw exists in the ServeMux.ServeHTTP implementation of that version.

Risk and Exploitability

The CVSS score of 9.8 indicates a high severity vulnerability, and the EPSS score of < 1% suggests a low yet non‑zero probability of exploitation. It is not listed in the CISA KEV catalog. Exploitation requires only the ability to send an HTTP request with a custom header, which can be performed from any network that can reach the application. The attacker can choose any HTTP method, so the risk is the potential to circumvent method‑based controls and access otherwise protected functionality. Because the flaw operates during normal request processing, it may be usable by remote attackers without additional privilege elevation.

Generated by OpenCVE AI on September 3, 2026 at 15:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade grpc‑gateway to the latest released version that addresses the header handling flaw.
  • Configure the application (or middleware) to reject or ignore X-HTTP-Method-Override headers from untrusted sources, ensuring that only allowed HTTP methods are processed.
  • Verify that upstream proxies and web application firewalls enforce strict method checks and do not rely on the application to enforce them.

Generated by OpenCVE AI on September 3, 2026 at 15:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Title github.com/grpc-ecosystem/grpc-gateway: grpc-gateway: Access control bypass via X-HTTP-Method-Override header
Weaknesses CWE-444
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 02 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 02 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-639
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Tue, 01 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Grpc-ecosystem
Grpc-ecosystem grpc-gateway
Vendors & Products Grpc-ecosystem
Grpc-ecosystem grpc-gateway

Fri, 28 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
References

Subscriptions

Grpc-ecosystem Grpc-gateway
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-02T18:14:42.882Z

Reserved: 2026-04-06T00:00:00.000Z

Link: CVE-2026-37236

cve-icon Vulnrichment

Updated: 2026-09-02T18:14:36.814Z

cve-icon NVD

Status : Deferred

Published: 2026-08-28T16:17:46.157

Modified: 2026-09-08T19:42:20.313

Link: CVE-2026-37236

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-28T00:00:00Z

Links: CVE-2026-37236 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:15:05Z

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

  • CWE-639

    Authorization Bypass Through User-Controlled Key