CVE-2025-24030: Envoy Admin Interface Exposed through prometheus metrics endpoint

Published Jan 23, 2025
·
Updated

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/../../configdump Patches 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: "/staticresources/listeners/0/filterchains/0/filters/0/typedconfig/normalizepath" value: true - op: "replace" path: "/staticresources/listeners/0/filterchains/0/filters/0/typedconfig/routeconfig/virtualhosts/0/routes/0/match" value: path: "/stats/prometheus" headers: - name: ":method" exactmatch: GET

References - Envoy Admin Interface: https://www.envoyproxy.io/docs/envoy/latest/operations/admin - Envoy Configuration Best Practices: https://www.envoyproxy.io/docs/envoy/latest/configuration/bestpractices/edge

Other sources

Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. A user with access to the Kubernetes cluster can use a path traversal attack to execute Envoy Admin interface commands on proxies managed by any version of Envoy Gateway prior to 1.2.6. The admin interface can be used to terminate the Envoy process and extract the Envoy configuration (possibly containing confidential data). Version 1.2.6 fixes the issue. As a workaround, 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.

MITRE

Affected Software

4 affected componentsFixes available
go/github.com/envoyproxy/gateway<1.2.6
1.2.6
Envoy Gateway<1.2.6
Envoy Proxy<1.2.6
Envoyproxy Gateway<1.2.6

Event History

Jan 23, 2025
CVE Published
via MITRE·03:20 AM
Data Sourced
via MITRE·03:20 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
RemedyAffected Software
Advisory Published
via GitHub·05:51 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-24030?

The vulnerability CVE-2025-24030 is considered high severity due to its potential impact on the Envoy Admin interface.

2

How do I fix CVE-2025-24030?

To mitigate CVE-2025-24030, users should upgrade Envoy Gateway to version 1.2.6 or later.

3

What type of attack does CVE-2025-24030 enable?

CVE-2025-24030 enables a path traversal attack that allows unauthorized access to Envoy Admin interface commands.

4

Who is affected by CVE-2025-24030?

Any user with access to a Kubernetes cluster running an affected version of Envoy Gateway is at risk with CVE-2025-24030.

5

What can an attacker do with CVE-2025-24030?

An attacker exploiting CVE-2025-24030 can terminate the Envoy process and extract sensitive information from the Envoy configuration.

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