Skip to main content

Envoy Gateway EUVDEUVD-2026-78079

| CVE-2026-53716 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-07-16 https://github.com/envoyproxy/gateway GHSA-cxpq-8v7q-cg56
6.5
CVSS 3.1 · Vendor: https://github.com/envoyproxy/gateway
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain EnvoyExtensionPolicy RBAC in target namespace
  2. Delivery
    Host gzip-bomb (~10 MiB) at controller-reachable URL
  3. Exploit
    Create EnvoyExtensionPolicy referencing malicious Wasm HTTP URL
  4. Install
    Controller reconciler fetches and decompresses without output bound
  5. C2
    ~10 GiB allocation triggers kernel OOM kill
  6. Execute
    Controller restarts and re-reconciles same CR
  7. Impact
    Persistent crash-loop causes cross-tenant control-plane outage

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires that the attacker already holds Kubernetes RBAC permission to create or modify EnvoyExtensionPolicy custom resources in at least one namespace served by the gateway controller - this is the baseline 'tenant' privilege described in the preconditions. The malicious EnvoyExtensionPolicy must specify a Wasm module via HTTP URL (spec.wasm[].code.http.url using the http code source type, not an OCI image); the vulnerability does not affect image-pull Wasm delivery. The controller must have outbound network connectivity to an attacker-controlled HTTP server hosting a valid gzip-encoded payload. The optional sha256 field must be either omitted or set to the correct hash of the decompressed content (since verification occurs post-decompression and does not prevent the allocation). Exploitation is bounded by the requirement for authenticated tenant access - unauthenticated external parties cannot reach the vulnerable code path. There is no operator-side Wasm-URL allowlist in the codebase, so URL-based allowlisting cannot be used as a native defense.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, score 6.5) contains a significant inconsistency: the vulnerability description explicitly identifies a cross-tenant scope change - the shared controller process services all tenants, so one tenant's OOM kill disrupts all tenants' control-plane operations. S:U (scope unchanged) does not reflect this; S:C would yield a score of approximately 7.7 and better models the actual blast radius. This discrepancy should be confirmed with the Envoy Gateway maintainers via the GHSA-cxpq-8v7q-cg56 advisory. No EPSS data was provided. The vulnerability is not listed in CISA KEV, and no public exploit code has been confirmed. Despite the absence of a public exploit, the attack complexity is genuinely low: the attacker needs no specialized knowledge beyond basic gzip tooling and Kubernetes RBAC access. The self-sustaining crash-loop mechanism (controller restarts → reconciles same CR → OOM again) elevates severity beyond a one-time denial-of-service because recovery requires active operator intervention to delete the malicious policy. The primary real-world limiting factor is that exploitation is restricted to authenticated tenants with EnvoyExtensionPolicy creation privileges - this is not remotely exploitable by unauthenticated external parties.

Exploit ScenarioDerived

A tenant with EnvoyExtensionPolicy creation rights in a multi-tenant Envoy Gateway cluster hosts a ~10 MiB gzip-of-zeros file on any HTTP endpoint reachable by the controller pod, then creates an EnvoyExtensionPolicy referencing that URL as the Wasm module source. The controller fetches the file, decompresses it without bound into approximately 10 GiB of heap memory, receives an OOM kill from the Linux kernel, restarts, immediately re-reconciles the same custom resource, and enters a persistent crash-loop that prevents all tenants in the cluster from receiving control-plane configuration updates until an operator manually deletes the offending policy.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 16, 2026

Unbounded gzip decompression in Envoy Gateway's Wasm HTTP fetch path allows a low-privileged tenant to exhaust memory in the shared controller process via a crafted gzip-bomb URL, causing persistent cross-tenant control-plane outages. Any tenant with RBAC permission to create EnvoyExtensionPolicy resources can trigger approximately 10 GiB of heap allocation from a 10 MiB compressed payload, OOM-killing the controller; because the controller restarts and immediately re-reconciles the malicious custom resource, the crash-loop is self-sustaining and affects all co-tenants until the offending policy is deleted or the controller is patched. No public exploit code has been identified at time of analysis; vendor-released patches are available in versions 1.7.4 and 1.8.1.

RemediationAI

Upgrade Envoy Gateway to version 1.7.4 (for 1.7.x deployments) or 1.8.1 (for 1.8.x deployments), as confirmed by the GitHub Security Advisory GHSA-cxpq-8v7q-cg56 at https://github.com/envoyproxy/gateway/security/advisories/GHSA-cxpq-8v7q-cg56. If immediate patching is not feasible, the most effective compensating control is to revoke or restrict RBAC permissions for creating and modifying EnvoyExtensionPolicy resources from untrusted tenants; this eliminates the attack surface entirely but also disables HTTP-based Wasm extension management for those tenants. A secondary control is to implement Kubernetes NetworkPolicy or egress firewall rules on the gateway-controller pod to prevent it from reaching arbitrary external HTTP servers, limiting Wasm URL fetches to an operator-approved set of hosts; this constrains the gzip-bomb delivery mechanism but requires careful allowlist curation to avoid breaking legitimate Wasm workflows. Note that no native Wasm-URL allowlist feature exists in the current codebase, so URL-based filtering must be enforced externally.

Affected VersionsENISA

Gateway 1.8.0-rc.0, < 1.8.1
Gateway < 1.7.4

Affected Packages

go github.com/envoyproxy/gateway fix: 1.7.4, 1.8.1
euvd gateway fix: 1.7.4
euvd gateway_1_8_0_rc_0 fix: 1.8.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Envoy Gateway is a CNCF-backed Kubernetes API gateway controller written in Go (pkg:go/github.com/envoyproxy/gateway). The vulnerability resides in the Wasm extension fetch subsystem: when an EnvoyExtensionPolicy resource specifies a Wasm module via HTTP URL (spec.wasm[].code.http.url), the controller's httpfetcher.go fetches and decompresses the content. The specific flaw is in the getFileFromGZ function (httpfetcher.go:216), which constructs a gzip.Reader from the HTTP response body and then calls io.ReadAll with no output-size limit. While the compressed input stream is bounded at 256 MiB (httpfetcher.go:139), gzip-of-zeros payloads routinely achieve decompression ratios exceeding 1000:1, meaning a 10 MiB compressed file can expand to approximately 10 GiB in memory. The data flow is envoyextensionpolicy.go:1077 → cache.go:248 → httpfetcher.go:147 → httpfetcher.go:233 → httpfetcher.go:216. CWE-789 (Uncontrolled Memory Allocation) precisely describes the root cause: no io.LimitReader or equivalent bound wraps the decompressor output. The optional sha256 integrity field provides no protection because it is checked after decompression completes - meaning the allocation damage occurs before any validation gate fires.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/envoyproxy/gateway) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.7 HIGH

S:C corrects the provided vector's S:U because the shared controller crash disrupts all co-tenants; PR:L reflects RBAC-gated EnvoyExtensionPolicy creation access.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (https://github.com/envoyproxy/gateway).

CVSS VectorVendor: https://github.com/envoyproxy/gateway

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Vulnerability report without repro case. Repro case may be added later after harness is complete.

Preconditions (4):

  • Tenant can create EnvoyExtensionPolicy (baseline)
  • Attacker hosts a gzip-bomb at a reachable URL
  • sha256 unset (optional field; check is post-decompression anyway)
  • No operator Wasm-URL allowlist (none exists in code)

Description

getFileFromGZ 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.

Threat Intelligence Overview

EPSS Score
0.7%
Top 49% exploitable
Prevalence
Medium
CNCF Kubernetes API gateway, cloud-native enterprise deployments only
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy