Loading advisory.
Loading advisory.
Envoy Gateway: Authentication Bypass via Improper Input Validation in EnvoyExtensionPolicy Lua Allows Secret Disclosure
The to_absolute_normalized_path function (security.lua:28-43) does not collapse redundant path separators (// → /). On Linux, //etc/passwd is equivalent to /etc/passwd (POSIX path semantics), but is_critical_path fails to match the double-slash variant because //etc/passwd does not start with /etc/.
Published 2026-07-16 19:23 UTC · Modified 2026-09-21 09:40 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/envoyproxy/gateway | Go | >= 1.8.0-rc.0, < 1.8.1 < 1.7.4 | 1.8.1, 1.7.4 | go get github.com/envoyproxy/gateway@v1.8.1go get github.com/envoyproxy/gateway@v1.7.4 |
The to_absolute_normalized_path function (security.lua:28-43) does not collapse redundant path separators (// → /). On Linux, //etc/passwd is equivalent to /etc/passwd (POSIX path semantics), but is_critical_path fails to match the double-slash variant because //etc/passwd does not start with /etc/.
This allows Lua code submitted as an EnvoyExtensionPolicy to read arbitrary files from the gateway controller pod's filesystem during Strict validation (the default), including:
/etc/passwd
Kubernetes SA tokens via //var/run/secrets/kubernetes.io/serviceaccount/token
TLS certificates via //certs/...
Process environment via //proc/self/environ
These credentials can be used to read sensitive information from the K8s API Server or from the Gateway XDS server.
This has been patched in versions >= v1.7.4 and v1.8.1
Collapse redundant path separators (// to /) so double-slash variants like //etc/passwd and //var/run/secrets/... are matched by the critical-path check.
Rewrite the traversal check to reject any . or .. segment in any position and across both separator styles (catches /etc/./passwd, ./etc/passwd, /etc/.).
Please refer to the Warning section in Lua docs for measures to reduce risk.
Envoy Gateway thanks @dashingDragon and @Donjon-Cerberus for reporting this issue.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |