{"id":"CVE-2026-22771","published":"2026-01-12T18:08:22Z","modified":"2026-07-15T01:19:24Z","title":"Envoy Extension Policy lua scripts injection causes arbitrary command execution","vendor":"envoyproxy","product":"gateway","tier":"tail","description":{"text":"Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Prior to 1.5.7 and 1.6.2, EnvoyExtensionPolicy Lua scripts executed by Envoy proxy can be used to leak the proxy's credentials. These credentials can then be used to communicate with the control plane and gain access to all secrets that are used by Envoy proxy, e.g. TLS private keys and credentials used for downstream and upstream communication. This vulnerability is fixed in 1.5.7 and 1.6.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00622,"percentile":0.50739,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/envoyproxy/gateway/security/advisories/GHSA-xrwg-mqj6-6m22","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22771","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2428735","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22771.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":10.15},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"envoyproxy","affectedVersions":[{"vendor":"envoyproxy","product":"gateway","versions":["< 1.5.7",">= 1.6.0-rc.0, < 1.6.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-01-12T18:49:10.805589Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/envoyproxy/gateway","vulnerableRanges":[">=1.6.0-rc.0, <1.6.2","<1.5.7"],"patched":["1.6.2","1.5.7"],"from":["GHSA-xrwg-mqj6-6m22","GO-2026-4312"],"provenance":"source"}],"summary":{"text":"Envoy Gateway, an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway, contains a code injection flaw in how EnvoyExtensionPolicy Lua scripts are handled, affecting versions prior to 1.5.7 and 1.6.2. An attacker with low-privilege access and network reachability can exploit it without user interaction to leak the proxy's credentials, which can then be used to reach the control plane and obtain secrets used by Envoy proxy, such as TLS private keys and upstream and downstream credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:03:29Z"},"euvd":{"id":"EUVD-2026-2007","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-24030","published":"2025-01-23","fixed":"1.2.6","kev":false},{"cve":"CVE-2025-25294","published":"2025-03-06","fixed":"1.3.1","kev":false,"link":{"from":"CVE-2025-25294","to":"CVE-2026-22771","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/envoyproxy/gateway","fromFixed":"1.3.1","toFixed":"1.5.7","daysApart":312}]}},{"cve":"CVE-2026-22771","published":"2026-01-12","fixed":"1.6.2","kev":false},{"cve":"CVE-2026-53713","published":"2026-09-14","fixed":"1.8.1","kev":false},{"cve":"CVE-2026-53714","published":"2026-09-14","fixed":"1.8.1","kev":false},{"cve":"CVE-2026-53715","published":"2026-09-14","fixed":"1.8.1","kev":false}],"package":"Go:github.com/envoyproxy/gateway"}}