CVE-2023-30845
CWE-287Published: April 26, 2023· Updated: Jun 17, 2026
Official Description
ESPv2 is a service proxy that provides API management capabilities using Google Service Infrastructure. ESPv2 2.20.0 through 2.42.0 contains an authentication bypass vulnerability. API clients can craft a malicious `X-HTTP-Method-Override` header value to bypass JWT authentication in specific cases.
ESPv2 allows malicious requests to bypass authentication if both the conditions are true: The requested HTTP method is **not** in the API service definition (OpenAPI spec or gRPC `google.api.http` proto annotations, and the specified `X-HTTP-Method-Override` is a valid HTTP method in the API service definition. ESPv2 will forward the request to your backend without checking the JWT. Attackers can craft requests with a malicious `X-HTTP-Method-Override` value that allows them to bypass specifying JWTs. Restricting API access with API keys works as intended and is not affected by this vulnerability.
Upgrade deployments to release v2.43.0 or higher to receive a patch. This release ensures that JWT authentication occurs, even when the caller specifies `x-http-method-override`. `x-http-method-override` is still supported by v2.43.0+. API clients can continue sending this header to ESPv2.
Risk Analysis
ESPv2 contains an authentication bypass vulnerability that allows API clients to circumvent JWT authentication. By crafting a malicious X-HTTP-Method-Override header, an attacker can force the proxy to forward requests to the backend without validation. The critical CVSS score reflects the potential for full unauthorized access to backend services.
There is no known public exploit for this vulnerability, and it is not currently listed in the CISA KEV catalog. It is remotely exploitable with low attack complexity.
Users should upgrade to a patched version of ESPv2 beyond 2.42.0. Ensure API service definitions are strictly configured to prevent unexpected method handling.
Technical Analysis
CVE-2023-30845 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-287): Authentication bypass vulnerabilities allow attackers to access protected resources without valid credentials.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (8)
Quick Facts
Related CVEs (CWE-287)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-30845 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts