CVE-2025-25294
MEDIUM 5.3CVSS 3.1Envoy Gateway Log Injection Vulnerability
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.
- Published
- 6 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-117
- Also known as
- BIT-envoy-gateway-2025-25294GHSA-mf24-chxh-hmvjGO-2025-3504
- Sources
- NVDJSONOSV GHSA-mf24-chxh-hmvjJSONOSV GO-2025-3504JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | envoyproxy | gatewaycpe:2.3:a:envoyproxy:gateway:*:*:*:*:*:*:*:* |
< 1.2.7 | 1.2.7 |
| NVD | envoyproxy | gatewaycpe:2.3:a:envoyproxy:gateway:*:*:*:*:*:*:*:* |
>= 1.3.0, < 1.3.1 | 1.3.1 |
| OSV | Go | github.com/envoyproxy/gateway | < 1.2.7 | 1.2.7 |
| OSV | Go | github.com/envoyproxy/gateway | >= 1.3.0-rc.1, < 1.3.1 | 1.3.1 |
| OSV | Go | github.com/envoyproxy/gateway | < 1.2.7; >= 1.3.0-rc.1, < 1.3.1 | 1.2.7, 1.3.1 |
References
- https://github.com/envoyproxy/gateway/commit/8f48f5199cf1bbb9a8ac0695c5171bfef6c9198a · Patch, WEB, FIX
- https://github.com/envoyproxy/gateway/security/advisories/GHSA-mf24-chxh-hmvj · Mitigation, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-25294 · ADVISORY
- https://github.com/envoyproxy/gateway/commit/041d474a70d5921e5d65e6e14ea60e14dac70b01 · WEB, FIX
- https://github.com/envoyproxy/gateway/commit/358bed50dcb7b32f39a2edb252fb1399c7fc65dc · WEB, FIX
- https://github.com/envoyproxy/gateway · PACKAGE
- https://github.com/envoyproxy/gateway/releases/tag/v1.2.7 · WEB
- https://github.com/envoyproxy/gateway/releases/tag/v1.3.1 · WEB
- https://pkg.go.dev/vuln/GO-2025-3504 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Mar 2025)