# CVE-2026-22771: Envoy Extension Policy lua scripts injection causes arbitrary command execution

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 56% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-12T18:08:22.532Z
- Modified: 2026-09-10T03:50:59.323Z
- Also known as: GHSA-xrwg-mqj6-6m22, BIT-ENVOY-GATEWAY-2026-22771, GO-2026-4312
- Related: CGA-jgq8-jpw6-mpf8
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- envoyproxy gateway: < 1.5.7; >= 1.6.0-rc.0, < 1.6.2; before 1.5.7; from 1.6.0 before 1.6.2
- rhcl-1/rhcl-operator-bundle: no versions given
- rhcl-1/rhcl-rhel9-operator: no versions given
- github.com/envoyproxy/gateway (Go): from 1.6.0-rc.0 before 1.6.2; before 1.5.7
- envoy-gateway (Bitnami): before 1.5.7; from 1.6.0 before 1.6.2

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/envoyproxy/gateway/security/advisories/GHSA-xrwg-mqj6-6m22> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-22771> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2428735> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22771.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22771> (advisory, web)
- <https://github.com/envoyproxy/gateway> (package)

## Sources

- CVE List: [CVE-2026-22771](https://www.cve.org/CVERecord?id=CVE-2026-22771), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-xrwg-mqj6-6m22](https://github.com/advisories/GHSA-xrwg-mqj6-6m22), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4312](https://pkg.go.dev/vuln/GO-2026-4312), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2026-22771](https://nvd.nist.gov/vuln/detail/CVE-2026-22771), Public domain, modified 2026-07-15
- Bitnami Vulnerability Database: [BIT-ENVOY-GATEWAY-2026-22771](https://osv.dev/vulnerability/BIT-ENVOY-GATEWAY-2026-22771), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-22771 · Whole record: https://cve.day/CVE-2026-22771.json · Rebuilt by cve.day 2026-11-25T22:59:12.733Z
