Skip to main content

Envoy Gateway EUVDEUVD-2026-78069

| CVE-2026-53717 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-07-16 https://github.com/envoyproxy/gateway GHSA-h7pq-86h8-rp5x
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 create rights
  2. Delivery
    Stand up attacker-controlled OCI registry
  3. Exploit
    Craft tar layer with PAX/GNU oversized header entry
  4. Install
    Submit malicious EnvoyExtensionPolicy referencing registry URL
  5. C2
    Controller fetches and processes OCI image
  6. Execute
    make([]byte, multi-TB) triggers Go runtime OOM throw
  7. Impact
    Controller crash-loops, cluster-wide DoS persists via CRD

Vulnerability Assessment

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

Exploitation requires all four of the following conditions: (1) the attacker holds Kubernetes RBAC permission to create or modify EnvoyExtensionPolicy resources in at least one namespace - this is a tenant-level privilege that should be restricted to trusted operators; (2) the Envoy Gateway controller pod has outbound network egress to the attacker-controlled OCI registry - no registry allowlist is implemented in the codebase to prevent this; (3) the controller is running a vulnerable version (< 1.7.4 or >= 1.8.0-rc.0 and < 1.8.1); (4) the malicious OCI layer presents a Docker or OCI-compatible media type to pass content-type validation. Exploitation is strictly limited to principals with EnvoyExtensionPolicy write access; clusters where this CRD permission is restricted to platform operators are not at risk from tenant-level attackers. Once triggered, the CRD must be explicitly deleted to stop the crash loop - patching or restarting the controller alone is insufficient.

Impact

The CVSS 6.5 (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) vector is consistent with the described attack. PR:L accurately reflects the tenant-level RBAC prerequisite. S:U is the technically correct CVSSv3 classification since the controller and its managed resources share the same security authority, though this understates the practical blast radius: all tenants sharing the controller lose availability, not just the submitting tenant. The real-world risk is higher than CVSS alone suggests for multi-tenant clusters where tenants are granted EnvoyExtensionPolicy create rights - the exploit is single-request, non-volumetric, and self-sustaining through the persisted CRD. EPSS data was not provided in source intelligence. No CISA KEV listing exists at time of analysis, and no POC code has been published. The absence of any registry allowlist in the codebase means there is no built-in defensive control to prevent the controller from contacting attacker-controlled registries. The combination of low complexity, low privilege, and permanent effect until manual remediation elevates operational priority beyond the raw score.

Exploit ScenarioDerived

A tenant with EnvoyExtensionPolicy RBAC create rights submits a policy with a Wasm image URL pointing to an attacker-operated OCI registry. The registry responds with a valid OCI manifest pointing to a tar layer containing a single entry whose PAX-extended header claims a 2 TB size while the actual stream contains only a few bytes. The Envoy Gateway controller calls make([]byte, 2_000_000_000_000), the Go runtime throws an out-of-memory error, the controller process exits, restarts, re-reads the persisted CRD, and repeats - crash-looping indefinitely and denying all cluster tenants the ability to receive gateway configuration updates. No POC code is publicly available at time of analysis.

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

Uncontrolled memory allocation in Envoy Gateway's OCI image fetcher allows a low-privileged tenant to crash-loop the shared controller cluster-wide. Versions before 1.7.4 and in the 1.8.x pre-release range before 1.8.1 are affected. By submitting an EnvoyExtensionPolicy referencing a malicious OCI registry serving a tar layer with a PAX/GNU-encoded multi-terabyte header size, an attacker triggers an unrecoverable Go runtime OOM in the controller - a single-request, non-volumetric, persistent denial of service that persists across restarts until the CRD is manually deleted. No public exploit identified at time of analysis.

RemediationAI

Upgrade Envoy Gateway to version 1.8.1 (for deployments on the 1.8.x line) or 1.7.4 (for deployments on the 1.7.x line), per the vendor advisory at https://github.com/envoyproxy/gateway/security/advisories/GHSA-h7pq-86h8-rp5x. If immediate upgrade is not possible, restrict RBAC so that only fully trusted, operator-class principals can create or modify EnvoyExtensionPolicy resources - this eliminates the ability of untrusted tenants to point the controller at arbitrary OCI registries, though it reduces self-service capability for tenants. As a complementary control, apply Kubernetes NetworkPolicy or an external egress firewall to restrict the controller pod's outbound connections to known-good, internally-managed OCI registries; note that no registry allowlist exists in the application code itself, so enforcement must be done at the infrastructure layer. Critically, any malicious EnvoyExtensionPolicy CRD that has already been applied must be identified and deleted to break the crash loop, even after the controller is patched and restarted.

Affected VersionsENISA

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

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 (pkg:go/github.com/envoyproxy/gateway) is a Kubernetes-native control plane that implements the Gateway API and manages Envoy proxy configuration, including support for WebAssembly extensions via EnvoyExtensionPolicy CRDs. The vulnerable code path in imagefetcher.go:287 performs make([]byte, h.Size) where h.Size comes directly from a tar archive header returned by tr.Next(). OCI image layers are tar archives; the PAX and GNU tar extensions allow a 512-byte on-wire header to encode arbitrary 64-bit size values, including multi-terabyte claims. While a LimitReader at line 278 correctly bounds the number of bytes actually read from the network stream, it does not constrain the integer value returned in the header struct itself, so the allocation is attempted with the full attacker-supplied size before any data is read. CWE-789 (Uncontrolled Memory Allocation) is the precise root cause - the allocation operand is derived entirely from an untrusted external source with no upper-bound validation. The call chain is: EnvoyExtensionPolicy spec.wasm[].code.image.url → envoyextensionpolicy.go:1157 → cache.go:262/299 → imagefetcher.go:218 → imagefetcher.go:287.

Know when Docker gets its next vulnerability

  • 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 6.5 MEDIUM

Network-reachable via Kubernetes API with low privilege (tenant RBAC); no confidentiality or integrity impact; full availability loss via unrecoverable OOM.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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:L
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)
  • Controller has egress to attacker-controlled OCI registry
  • No registry allowlist (none exists in code)
  • Layer presents Docker/OCI media type

Description

At imagefetcher.go:287, make([]byte, h.Size) uses the attacker-controlled tar-header size; the LimitReader at :278 bounds bytes read from the stream but not the header-declared size returned by tr.Next() (a 512-byte header can claim a multi-TB entry via PAX/GNU encoding). Reached from untrusted tenant input via EnvoyExtensionPolicy spec.wasm[].code.image.url (envoyextensionpolicy.go:1157 → cache.go:262/299 → imagefetcher.go:218 → :287), and the allocation happens for every tar entry regardless of filename. The resulting Go runtime OOM throw is unrecoverable and, because the CRD persists, crash-loops the shared controller - single-request, non-volumetric, cluster-wide DoS.

Threat Intelligence Overview

EPSS Score
0.7%
Top 48% exploitable
Prevalence
Low
Kubernetes-native gateway, niche relative to mainstream ingress controllers
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.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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