Cloudanix VulnDB

CVE-2026-53713

Critical · 9.1

CVSS

9.1

EPSS

0.4%

Published

Sep 14, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in how Envoy Gateway checks submitted scripts lets attackers read private files inside the system, which could expose passwords and keys used to control the cluster.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The to_absolute_normalized_path function in internal/gatewayapi/luavalidator/security.lua fails to collapse redundant path separators before is_critical_path validation, allowing Lua code submitted via EnvoyExtensionPolicy to bypass strict path checks and read arbitrary files from the controller pod filesystem.

Why it matters to the business

Attackers can obtain Kubernetes service account tokens, TLS certificates, and environment variables that grant access to the API server or xDS configuration, enabling further cluster compromise or data exfiltration with minimal authentication required.

How an attack unfolds

An authenticated user submits a crafted Lua script through EnvoyExtensionPolicy that references files using double-slash absolute paths; the validator accepts the path while the underlying Linux filesystem resolves it to the intended sensitive file, returning its contents to the attacker.

How to fix it

Upgrade to Envoy Gateway 1.7.4 or 1.8.1 where the path normalization logic has been corrected; until then restrict EnvoyExtensionPolicy creation to trusted users and enable additional admission controls.

How to confirm the fix worked

Confirm the running version is at least 1.7.4 or 1.8.1; test by submitting a policy with a double-slash path to a known non-critical file and verifying that access is now denied.

Typical attack path

  1. Obtain limited access to submit EnvoyExtensionPolicy resources
  2. Craft Lua script containing double-slash absolute file paths targeting sensitive files
  3. Submit policy to Envoy Gateway controller
  4. Receive file contents including tokens or certificates
  5. Use obtained credentials to access Kubernetes API server or xDS endpoints

How to detect it

Review Envoy Gateway controller logs for EnvoyExtensionPolicy creations containing Lua with absolute paths; inspect pod filesystem audit logs for reads of service-account tokens or certificate files by the gateway process.

What your security team should do

  • Immediately upgrade all Envoy Gateway deployments to 1.7.4 or 1.8.1
  • Audit existing EnvoyExtensionPolicy resources for suspicious Lua content
  • Limit RBAC permissions for users who can create EnvoyExtensionPolicy objects
  • Monitor controller pod filesystem access logs for unexpected file reads

The record

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, to_absolute_normalized_path in internal/gatewayapi/luavalidator/security.lua does not collapse redundant separators before is_critical_path evaluates Lua submitted through EnvoyExtensionPolicy during default Strict validation. Linux resolves a double-slash absolute path as the corresponding single-slash path, but the validator does not match the redundant-separator form, allowing submitted Lua to read arbitrary files from the gateway controller pod. Exposed files can include Kubernetes service-account tokens, TLS certificates, and process environment data, and the disclosed credentials can provide access to sensitive Kubernetes API Server or Gateway xDS server information. This issue is fixed in versions 1.7.4 and 1.8.1.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities