CVE-2025-24030: Envoy Admin Interface Exposed through prometheus metrics endpoint
Impact A user with access to a Kubernetes cluster where Envoy Gateway is installed can use a path traversal attack to execute Envoy Admin interface commands on proxies managed by Envoy Gateway. The admin interface can be used to terminate the Envoy process and extract the Envoy configuration (possibly containing confidential data).
Published Jan 23, 2025
Affected packages
github.com/envoyproxy/gateway
- Ecosystem
- Go
- Affected
- < 1.2.6
- Fixed in
- 1.2.6
- Check
go list -m github.com/envoyproxy/gateway
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A user with access to a Kubernetes cluster where Envoy Gateway is installed can use a path traversal attack to execute Envoy Admin interface commands on proxies managed by Envoy Gateway. The admin interface can be used to terminate the Envoy process and extract the Envoy configuration (possibly containing confidential data).
For example, the following command, if run from within the Kubernetes cluster, can be used to get the configuration dump of the proxy:
curl --path-as-is http://<Proxy-Service-ClusterIP>:19001/stats/prometheus/../../config_dumpPatches
1.2.6
Workarounds
The EnvoyProxy API can be used to apply a bootstrap config patch that restricts access strictly to the prometheus stats endpoint. Find below an example of such a bootstrap patch.
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
name: custom-proxy-config
namespace: default
spec:
bootstrap:
type: JSONPatch
jsonPatches:
- op: "add"
path: "/static_resources/listeners/0/filter_chains/0/filters/0/typed_config/normalize_path"
value: true
- op: "replace"
path: "/static_resources/listeners/0/filter_chains/0/filters/0/typed_config/route_config/virtual_hosts/0/routes/0/match"
value:
path: "/stats/prometheus"
headers:
- name: ":method"
exact_match: GETReferences
- Envoy Admin Interface: https://www.envoyproxy.io/docs/envoy/latest/operations/admin
- Envoy Configuration Best Practices: https://www.envoyproxy.io/docs/envoy/latest/configuration/best_practices/edge
Credited to guydc.
References
- https://github.com/envoyproxy/gateway/security/advisories/GHSA-j777-63hf-hx76
- https://nvd.nist.gov/vuln/detail/CVE-2025-24030
- https://github.com/envoyproxy/gateway/commit/3eb3301ab3dbf12b201b47bdb6074d1233be07bd
- https://www.envoyproxy.io/docs/envoy/latest/configuration/best_practices/edge
- https://www.envoyproxy.io/docs/envoy/latest/operations/admin
- https://github.com/advisories/GHSA-j777-63hf-hx76
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-53713
Envoy Gateway: Authentication Bypass via Improper Input Validation in EnvoyExtensionPolicy Lua Allows Secret Disclosure
critical9.1Jul 16, 2026CVE-2026-53714
Envoy Gateway: xDS Control Plane Information Disclosure when operating in GatewayNamespaceMode
high7.4Jul 16, 2026CVE-2026-53715
Envoy Gateway: Wasm cache ServeHTTP reads mappingPath2Cache without lock
medium5.3Jul 16, 2026CVE-2026-53716
Envoy Gateway: Wasm HTTP fetch decompresses gzip without output-size limit
medium6.5Jul 16, 2026CVE-2026-53717
Envoy Gateway: OCI layer extraction allocates make([]byte, h.Size) from untrusted tar header
medium6.5Jul 16, 2026CVE-2026-53718
Envoy Gateway custom backendRef cross-namespace ReferenceGrant bypass
medium6.4Jul 16, 2026
