{"id":"CVE-2026-53713","aliases":["CVE-2026-53713","GHSA-wcrf-9vrr-854f","BIT-ENVOY-GATEWAY-2026-53713","GO-2026-6011"],"related":["CGA-5hvq-2f9c-wgx9"],"kind":"vulnerability","state":"published","title":"Envoy Gateway: Authentication Bypass via Improper Input Validation in EnvoyExtensionPolicy Lua Allows Secret Disclosure","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, 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.","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, 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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe `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/`.\n\nThis allows Lua code submitted as an `EnvoyExtensionPolicy` to read arbitrary files from the gateway controller pod's filesystem during Strict validation (the default), including:\n\n* `/etc/passwd`\n* Kubernetes SA tokens via `//var/run/secrets/kubernetes.io/serviceaccount/token`\n* TLS certificates via `//certs/...`\n* Process environment via `//proc/self/environ`\n\nThese credentials can be used to read sensitive information from the K8s API Server or from the Gateway XDS server.\n\n### Patches\n\nThis has been patched in versions >= v1.7.4 and v1.8.1\n\n  - Collapse redundant path separators (`//` to `/`) so double-slash variants like `//etc/passwd` and `//var/run/secrets/...` are matched by the critical-path check.\n  - Rewrite the traversal check to reject any `.` or `..` segment in any position and across both separator styles (catches `/etc/./passwd`, `./etc/passwd`, `/etc/.`).\n\n### Workarounds\nPlease refer to the `Warning` section in [Lua docs](https://gateway.envoyproxy.io/v1.8/tasks/extensibility/lua/) for measures to reduce risk.\n\n### Credits\n\nEnvoy Gateway thanks @dashingDragon and @Donjon-Cerberus for reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Envoy Gateway: Authentication Bypass via Improper Input Validation in EnvoyExtensionPolicy Lua Allows Secret Disclosure in github.com/envoyproxy/gateway","format":"markdown","source":"go"}],"published":"2026-07-16T19:23:38.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:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-20"],"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-wcrf-9vrr-854f","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-53713","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-16T18:34:03.346Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53713","url":"https://www.cve.org/CVERecord?id=CVE-2026-53713","licence":"CVE Terms of Use","modified":"2026-09-16T18:34:11.830Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wcrf-9vrr-854f","url":"https://github.com/advisories/GHSA-wcrf-9vrr-854f","licence":"CC-BY-4.0","modified":"2026-09-21T09:40:42.754Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6011","url":"https://pkg.go.dev/vuln/GO-2026-6011","licence":"CC-BY-4.0","modified":"2026-09-21T09:40:42.754Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53713","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53713","licence":"Public domain","modified":"2026-09-30T17:43:24.057Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-GATEWAY-2026-53713","url":"https://osv.dev/vulnerability/BIT-ENVOY-GATEWAY-2026-53713","licence":"Apache-2.0","modified":"2026-09-21T09:40:42.754Z"}],"updatedAt":"2026-11-25T22:59:38.386Z","epss":{"score":0.00414,"percentile":0.37773,"date":"2026-12-01T12:00:22.000Z"}}