CVE-2025-25294 Envoy Gateway Log Injection Vulnerability

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
github.com/envoyproxy/gateway GoAll versions1.2.7, 1.3.1
github.com/envoyproxy/gateway GoAll versions1.2.7
github.com/envoyproxy/gateway GoAll versions1.2.7
github.com/envoyproxy/gateway GoFrom 1.3.0-rc.11.3.1
github.com/envoyproxy/gateway GoFrom 1.3.0-rc.11.3.1
envoy-gateway BitnamiAll versions1.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.

Sources

Also known as BIT-envoy-gateway-2025-25294, CLEANSTART-2026-DL05775, CLEANSTART-2026-GL17744, GHSA-mf24-chxh-hmvj, GO-2025-3504.

Is CVE-2025-25294 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free