{"id":"CVE-2026-53716","aliases":["CVE-2026-53716","GHSA-cxpq-8v7q-cg56","BIT-ENVOY-GATEWAY-2026-53716","GO-2026-6006"],"related":["CGA-c787-mxq5-xhgv"],"kind":"vulnerability","state":"published","title":"Envoy Gateway: Wasm HTTP fetch decompresses gzip without output-size limit","summary":"Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Prior to 1.7.4 and 1.8.1, getFileFromGZ in internal/wasm/httpfetcher.go calls io.ReadAll on a gzip.Reader without limiting decompressed output when a tenant-controlled EnvoyExtensionPolicy.spec.wasm[].code.http.url points to a reachable compressed Wasm payload. The 256 MiB compressed-input cap does not constrain the expanded size, no operator Wasm URL allowlist exists, and the optional sha256 check occurs only after decompression, so a comparatively small gzip stream can force a multi-gigabyte allocation in the shared controller. The resulting out-of-memory termination restarts the controller, re-reconciles the persistent custom resource, and can create a persistent cross-tenant control-plane outage. This issue is fixed in versions 1.7.4 and 1.8.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Envoy Gateway is an open source project for managing Envoy Proxy as a standalone or Kubernetes-based application gateway. Prior to 1.7.4 and 1.8.1, getFileFromGZ in internal/wasm/httpfetcher.go calls io.ReadAll on a gzip.Reader without limiting decompressed output when a tenant-controlled EnvoyExtensionPolicy.spec.wasm[].code.http.url points to a reachable compressed Wasm payload. The 256 MiB compressed-input cap does not constrain the expanded size, no operator Wasm URL allowlist exists, and the optional sha256 check occurs only after decompression, so a comparatively small gzip stream can force a multi-gigabyte allocation in the shared controller. The resulting out-of-memory termination restarts the controller, re-reconciles the persistent custom resource, and can create a persistent cross-tenant control-plane outage. This issue is fixed in versions 1.7.4 and 1.8.1.","source":"cvelist"},{"lang":"en","text":"Vulnerability report without repro case. Repro case may be added later after harness is complete.\n\n**Preconditions (4):**\n- Tenant can create EnvoyExtensionPolicy (baseline)\n- Attacker hosts a gzip-bomb at a reachable URL\n- sha256 unset (optional field; check is post-decompression anyway)\n- No operator Wasm-URL allowlist (none exists in code)\n\n**Description**\n\ngetFileFromGZ calls io.ReadAll on a raw gzip.Reader (httpfetcher.go:216) with no output bound, while the compressed input is capped at 256 MiB (httpfetcher.go:139). The bytes originate from a tenant-controlled EnvoyExtensionPolicy.spec.wasm[].code.http.url (envoyextensionpolicy.go:1077 → cache.go:248 → httpfetcher.go:147 → :233), so an untrusted tenant can point at a ~10 MiB gzip-of-zeros and force ~10 GiB allocation in the shared controller process. All candidate guards execute either before the body is buffered or after decompression. OOM-kills, restarts, re-reconciles same CR, crash-loops — persistent cross-tenant control-plane outage with PR:L/AC:L and scope change → HIGH despite availability-only.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Envoy Gateway: Wasm HTTP fetch decompresses gzip without output-size limit in github.com/envoyproxy/gateway","format":"markdown","source":"go"}],"published":"2026-07-16T19:18:08.000Z","modified":"2026-09-30T17:43:24.057Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"version":"< 1.7.4","status":"affected"},{"version":">= 1.8.0-rc.0, < 1.8.1","status":"affected"}],"vendor":"envoyproxy","product":"gateway","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.8.0-rc.0","status":"affected","fixed":"1.8.1"}],"ecosystem":"Go","package":"github.com/envoyproxy/gateway","purl":"pkg:golang/github.com/envoyproxy/gateway","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.4"}],"ecosystem":"Go","package":"github.com/envoyproxy/gateway","purl":"pkg:golang/github.com/envoyproxy/gateway","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.4"},{"type":"semver","introduced":"1.8.0-rc.0","status":"affected","fixed":"1.8.1"}],"ecosystem":"Go","package":"github.com/envoyproxy/gateway","purl":"pkg:golang/github.com/envoyproxy/gateway","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.4"},{"type":"semver","introduced":"1.8.0","status":"affected","fixed":"1.8.1"}],"ecosystem":"Bitnami","package":"envoy-gateway","purl":"pkg:bitnami/envoy-gateway","source":"bitnami"}],"references":[{"url":"https://github.com/envoyproxy/gateway/security/advisories/GHSA-cxpq-8v7q-cg56","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/pull/9171","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/pull/9172","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/pull/9173","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/commit/5a78db82b7cf4fc5bebbeda2c50952892038a464","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/commit/96e2b750868a459ace4b8b68e6a6e4fb0152b9b7","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/commit/b4737180c7e597490c6363075c565fa8cf24eead","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/releases/tag/v1.7.4","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway/releases/tag/v1.8.1","tags":["web","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/gateway","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53716","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-16T16:21:03.789Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53716","url":"https://www.cve.org/CVERecord?id=CVE-2026-53716","licence":"CVE Terms of Use","modified":"2026-09-16T16:21:20.674Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cxpq-8v7q-cg56","url":"https://github.com/advisories/GHSA-cxpq-8v7q-cg56","licence":"CC-BY-4.0","modified":"2026-09-21T09:40:46.854Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6006","url":"https://pkg.go.dev/vuln/GO-2026-6006","licence":"CC-BY-4.0","modified":"2026-09-21T09:40:46.854Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53716","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53716","licence":"Public domain","modified":"2026-09-30T17:43:24.057Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-GATEWAY-2026-53716","url":"https://osv.dev/vulnerability/BIT-ENVOY-GATEWAY-2026-53716","licence":"Apache-2.0","modified":"2026-09-21T09:40:46.854Z"}],"updatedAt":"2026-11-25T22:59:38.387Z","epss":{"score":0.00685,"percentile":0.53881,"date":"2026-12-01T12:00:22.000Z"}}