CVE-2025-25294: Envoy Gateway - Log Injection
- Cve: CVE-2025-25294
- Name: Envoy Gateway - Log Injection
- 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.
- Impact: Attackers can inject malicious data into access logs, potentially leading to log manipulation or information disclosure.
- Remediation: Update to version 1.2.7 or 1.3.1, or modify the 'EnvoyProxy.spec.telemetry.accessLog' setting to use JSON formatter.
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to craft a specific user-agent
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00286
- Epss percentile: 0.21414
- Assignee: [email protected]
- Published at: 2025-03-06T19:15:27Z
- Age in days: 628
- Modified at: 2026-06-17T09:00:38Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-25294
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-117 | Improper Output Neutralization for Logs |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/envoyproxy/gateway/commit/8f48f5199cf1bbb9a8ac0695c5171bfef6c9198a | nvd | Patch |
| https://github.com/envoyproxy/gateway/security/advisories/GHSA-mf24-chxh-hmvj | nvd | Mitigation, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| envoyproxy:gateway | >= 1.3.0, < 1.3.1; < 1.2.7 | no | nvd | /v1/products/envoyproxy/gateway |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| envoyproxy/gateway | commit, package, releases, security_advisory | yes | /v1/repositories/envoyproxy/gateway |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts