{"id":"CVE-2025-25294","aliases":["BIT-envoy-gateway-2025-25294","EUVD-2025-7667","GHSA-mf24-chxh-hmvj","GO-2025-3504","openSUSE-SU-2025:14889-1"],"status":"published","title":"Envoy Gateway Log Injection Vulnerability","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00286,"percentile":0.21304,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-117"],"published":"2025-03-06T18:46:23Z","modified":"2026-10-28T02:31:14Z","fixes":[{"ecosystem":"Go","package":"github.com/envoyproxy/gateway","fixed_in":["1.2.7","1.3.1"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"envoy-gateway","fixed_in":["1.2.7","1.3.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/envoyproxy/gateway","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.7"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/envoyproxy/gateway","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0-rc.1"},{"fixed":"1.3.1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"envoy-gateway","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.7"},{"introduced":"1.3.0"},{"fixed":"1.3.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/envoyproxy/gateway","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.7"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/envoyproxy/gateway","ranges":[{"type":"SEMVER","events":[{"introduced":"1.3.0-rc.1"},{"fixed":"1.3.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/envoyproxy/gateway","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.2.7"},{"introduced":"1.3.0-rc.1"},{"fixed":"1.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"govulncheck-vulndb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.20250312T181707-1.1"}]}],"bundled":31}],"products":[{"vendor":"envoyproxy","product":"gateway"},{"vendor":"netscaler","product":"gateway"}],"references":[{"url":"https://github.com/envoyproxy/gateway/security/advisories/GHSA-mf24-chxh-hmvj","tags":["x_refsource_CONFIRM","Mitigation","Third Party Advisory","advisory","web"]},{"url":"https://github.com/envoyproxy/gateway/commit/8f48f5199cf1bbb9a8ac0695c5171bfef6c9198a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/envoyproxy/gateway/commit/041d474a70d5921e5d65e6e14ea60e14dac70b01","tags":["web","fix"]},{"url":"https://github.com/envoyproxy/gateway/commit/358bed50dcb7b32f39a2edb252fb1399c7fc65dc","tags":["web","fix"]},{"url":"https://github.com/envoyproxy/gateway/releases/tag/v1.2.7","tags":["web"]},{"url":"https://github.com/envoyproxy/gateway/releases/tag/v1.3.1","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25294","tags":["web","advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3504","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mf24-chxh-hmvj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25294.json","tags":["advisory"]},{"url":"https://github.com/envoyproxy/gateway","tags":["package"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-57603","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-57604","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-0426","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-1243","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-1293","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-1412","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-20051","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-22870","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-22952","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-23387","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-23388","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-23389","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-24016","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-24526","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-24806","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-24976","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-25196","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-25199","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-25204","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-25279","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-25294","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27088","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27090","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27100","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27112","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27144","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27155","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27414","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27421","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27507","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27509","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-25294","title":"Envoy Gateway Log Injection Vulnerability","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.","status":"published","published":"2025-03-06T18:46:23.913Z","modified":"2025-03-06T20:34:27.649Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T14:32:31.971896Z"}],"euvd":[{"id":"EUVD-2025-7667","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.","status":"published","published":"2025-03-06T18:46:23Z","modified":"2025-03-06T20:34:27Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:53:11.059252Z"}],"ghsa":[{"id":"GHSA-mf24-chxh-hmvj","title":"Envoy Gateway Log Injection Vulnerability","description":"### Impact\nIn 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. \n\nIf the attacker uses a specially crafted user-agent which performs json injection, then he could add and overwrite fields to the access log. \n\nExamples of attacks include:\n\n-  Using following string as user agent : `HELLO-WORLD\", \"evil-ip\": \"1.1.1.1\", \"x-forwarded-for\": \"1.1.1.1` would lead to setting of new access log properties and overwrite of existing properties. Existing properties such as the value of the X-Forwarded-For header may have importance for security analysis of access logs, and their overwrite can be used to hide malicious activity. \n\n- Using the following string as user-agent : `\"` which renders an invalid json document. The invalid document may fail to be processed by observability solutions, which would allow attacker to hide malicious activity.  \n\n### Patches\n1.3.1, 1.2.7\n\n### Fix\nUsing JSON format as the default format for access logs. The logged document will contain the same key and values as before. Only the order of properties is different inside the logged document.\n\n### Workaround\nOne can overwrite the old text based default format with JSON formatter by setting the following property: \n\"EnvoyProxy.spec.telemetry.[accessLog](https://gateway.envoyproxy.io/v1.3/api/extension_types/#proxyaccesslog)\" to \n\n```\nsettings:\n- format:\n    type: JSON\n    json:\n      start_time: '%START_TIME%'\n      method: '%REQ(:METHOD)%'\n      x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%'\n      protocol: '%PROTOCOL%'\n      response_code: '%RESPONSE_CODE%'\n      response_flags: '%RESPONSE_FLAGS%'\n      response_code_details: '%RESPONSE_CODE_DETAILS%'\n      connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%'\n      upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%'\n      bytes_received: '%BYTES_RECEIVED%'\n      bytes_sent: '%BYTES_SENT%'\n      duration: '%DURATION%'\n      x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%'\n      x-forwarded-for: '%REQ(X-FORWARDED-FOR)%'\n      user-agent: '%REQ(USER-AGENT)%'\n      x-request-id: '%REQ(X-REQUEST-ID)%'\n      :authority: '%REQ(:AUTHORITY)%'\n      upstream_host: '%UPSTREAM_HOST%'\n      upstream_cluster: '%UPSTREAM_CLUSTER%'\n      upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%'\n      downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%'\n      downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%'\n      requested_server_name: '%REQUESTED_SERVER_NAME%'\n      route_name: '%ROUTE_NAME%'\n```\nsee API definition [here](https://gateway.envoyproxy.io/v1.3/api/extension_types/#proxyaccesslogformat)\n\n### References\n_Are there any links users can visit to find out more?_","status":"published","published":"2025-03-06T19:11:39Z","modified":"2025-03-11T17:15:39Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T14:38:34.185137Z"}],"nvd":[{"id":"CVE-2025-25294","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.","status":"published","published":"2025-03-06T19:15:27.267Z","modified":"2026-06-17T09:00:38.02Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T14:10:53.101324Z"}],"osv":[{"id":"CVE-2025-25294","title":"Envoy Gateway Log Injection Vulnerability","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.","status":"published","published":"2025-03-06T18:46:23.913Z","modified":"2026-10-28T02:31:14.358507062Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T15:44:47.386092Z"},{"id":"GHSA-mf24-chxh-hmvj","title":"Envoy Gateway Log Injection Vulnerability","description":"### Impact\nIn 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. \n\nIf the attacker uses a specially crafted user-agent which performs json injection, then he could add and overwrite fields to the access log. \n\nExamples of attacks include:\n\n-  Using following string as user agent : `HELLO-WORLD\", \"evil-ip\": \"1.1.1.1\", \"x-forwarded-for\": \"1.1.1.1` would lead to setting of new access log properties and overwrite of existing properties. Existing properties such as the value of the X-Forwarded-For header may have importance for security analysis of access logs, and their overwrite can be used to hide malicious activity. \n\n- Using the following string as user-agent : `\"` which renders an invalid json document. The invalid document may fail to be processed by observability solutions, which would allow attacker to hide malicious activity.  \n\n### Patches\n1.3.1, 1.2.7\n\n### Fix\nUsing JSON format as the default format for access logs. The logged document will contain the same key and values as before. Only the order of properties is different inside the logged document.\n\n### Workaround\nOne can overwrite the old text based default format with JSON formatter by setting the following property: \n\"EnvoyProxy.spec.telemetry.[accessLog](https://gateway.envoyproxy.io/v1.3/api/extension_types/#proxyaccesslog)\" to \n\n```\nsettings:\n- format:\n    type: JSON\n    json:\n      start_time: '%START_TIME%'\n      method: '%REQ(:METHOD)%'\n      x-envoy-origin-path: '%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%'\n      protocol: '%PROTOCOL%'\n      response_code: '%RESPONSE_CODE%'\n      response_flags: '%RESPONSE_FLAGS%'\n      response_code_details: '%RESPONSE_CODE_DETAILS%'\n      connection_termination_details: '%CONNECTION_TERMINATION_DETAILS%'\n      upstream_transport_failure_reason: '%UPSTREAM_TRANSPORT_FAILURE_REASON%'\n      bytes_received: '%BYTES_RECEIVED%'\n      bytes_sent: '%BYTES_SENT%'\n      duration: '%DURATION%'\n      x-envoy-upstream-service-time: '%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%'\n      x-forwarded-for: '%REQ(X-FORWARDED-FOR)%'\n      user-agent: '%REQ(USER-AGENT)%'\n      x-request-id: '%REQ(X-REQUEST-ID)%'\n      :authority: '%REQ(:AUTHORITY)%'\n      upstream_host: '%UPSTREAM_HOST%'\n      upstream_cluster: '%UPSTREAM_CLUSTER%'\n      upstream_local_address: '%UPSTREAM_LOCAL_ADDRESS%'\n      downstream_local_address: '%DOWNSTREAM_LOCAL_ADDRESS%'\n      downstream_remote_address: '%DOWNSTREAM_REMOTE_ADDRESS%'\n      requested_server_name: '%REQUESTED_SERVER_NAME%'\n      route_name: '%ROUTE_NAME%'\n```\nsee API definition [here](https://gateway.envoyproxy.io/v1.3/api/extension_types/#proxyaccesslogformat)\n\n### References\n_Are there any links users can visit to find out more?_","status":"published","published":"2025-03-06T19:11:39Z","modified":"2026-09-10T03:50:56.848559841Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-117"],"updated_at":"2026-11-02T15:46:51.811331Z"},{"id":"BIT-envoy-gateway-2025-25294","title":"Envoy Gateway Log Injection Vulnerability","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.","status":"published","published":"2025-09-09T05:37:54.31Z","modified":"2026-09-08T08:47:08.922523962Z","updated_at":"2026-11-02T15:28:29.563843Z"},{"id":"GO-2025-3504","title":"Envoy Gateway Log Injection Vulnerability in github.com/envoyproxy/gateway","description":"Envoy Gateway Log Injection Vulnerability in github.com/envoyproxy/gateway","status":"published","published":"2025-03-10T19:01:10Z","modified":"2026-02-04T04:32:08.838752Z","updated_at":"2026-11-02T15:47:01.728182Z"},{"id":"openSUSE-SU-2025:14889-1","title":"govulncheck-vulndb-0.0.20250312T181707-1.1 on GA media","description":"These are all security issues fixed in the govulncheck-vulndb-0.0.20250312T181707-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-03-13T00:00:00Z","modified":"2026-02-04T04:02:14.938926Z","updated_at":"2026-11-02T16:58:37.399567Z"}]}}
