CVE-2025-25294 Envoy Gateway Log Injection Vulnerability
Attackers can inject JSON into access logs via crafted user-agent strings, potentially corrupting log data in Envoy Gateway deployments.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-25294?
CVE-2025-25294 is a medium-severity vulnerability in envoyproxy gateway, published on 6 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. In all Envoy Gateway versions prior to 1.2.7 and 1.3.1 a default Envoy Proxy access log configuration is used. This format is vulnerable to log injection attacks. If the attacker uses a specially crafted user-agent which performs json injection, then he could add and overwrite fields to the access log. This vulnerability is fixed in 1.3.1 and 1.2.7. One can overwrite the old text based default format with JSON formatter by modifying the "EnvoyProxy.spec.telemetry.accessLog" setting.
Weakness: CWE-117
Which versions are affected by CVE-2025-25294?
6 open source packages ship an affected version, including github.com/envoyproxy/gateway and envoy-gateway. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/envoyproxy/gateway Go | All versions | 1.2.7, 1.3.1 |
github.com/envoyproxy/gateway Go | All versions | 1.2.7 |
github.com/envoyproxy/gateway Go | All versions | 1.2.7 |
github.com/envoyproxy/gateway Go | From 1.3.0-rc.1 | 1.3.1 |
github.com/envoyproxy/gateway Go | From 1.3.0-rc.1 | 1.3.1 |
envoy-gateway Bitnami | All versions | 1.2.7, 1.3.1 |
Products include Envoyproxy Gateway.
How do I fix CVE-2025-25294?
Upgrade github.com/envoyproxy/gateway to a fixed version for your release line: 1.2.7 or 1.3.1.
Is CVE-2025-25294 being exploited?
There is no known exploitation of CVE-2025-25294 in the wild and no public exploit code.
Other vulnerabilities in envoyproxy gateway
Sources
Also known as BIT-envoy-gateway-2025-25294, CLEANSTART-2026-DL05775, CLEANSTART-2026-GL17744, GHSA-mf24-chxh-hmvj, GO-2025-3504.