8.8high
Skipper arbitrary code execution through lua filters
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.72% (higher than 50% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cc8m-98fm-rc9gGO-2026-4327
Description
Skipper is an HTTP router and reverse proxy for service composition. The default skipper configuration before 0.23.0 was -lua-sources=inline,file. The problem starts if untrusted users can create lua filters, because of -lua-sources=inline , for example through a Kubernetes Ingress resource. The configuration inline allows these user to create a script that is able to read the filesystem accessible to the skipper process and if the user has access to read the logs, they an read skipper secrets. This vulnerability is fixed in 0.23.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| zalando skipper | < 0.23.0, before 0.23.0 | CVE List, NVD |
| github.com/zalando/skipper (Go) | before 0.23.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Skipper is an HTTP router and reverse proxy for service composition. The default skipper configuration before 0.23.0 was -lua-sources=inline,file. The problem starts if untrusted users can create lua filters, because of -lua-sources=inline , for example through a Kubernetes Ingress resource. The configuration inline allows these user to create a script that is able to read the filesystem accessible to the skipper process and if the user has access to read the logs, they an read skipper secrets. This vulnerability is fixed in 0.23.0.
GitHub Advisory Database
Impact
Arbitrary code execution through lua filters.
The default skipper configuration before v0.23 was -lua-sources=inline,file.
The problem starts if untrusted users can create lua filters, because of -lua-sources=inline , for example through a Kubernetes Ingress resource. The configuration inline allows these user to create a script that is able to read the filesystem accessible to the skipper process and if the user has access to read the logs they an read skipper secrets.
Kubernetes example (vulnerability is not limited to Kubernetes)
function request(ctx, params)
local file = io.open('/var/run/secrets/kubernetes.io/serviceaccount/token', 'r')
if file then
local token = file:read('*all')
file:close()
error('[EXFIL] ' .. token) -- Exfiltrate via error logs
end
end
Patches
https://github.com/zalando/skipper/releases/tag/v0.23.0 disables Lua by default.
Workarounds
You can reduce support of how you can pass lua filter script data by providing config for lua sources https://opensource.zalando.com/skipper/reference/scripts/#enable-and-disable-lua-sources. For example -lua-sources=file will only be exploitable if the attacker can create a lua script file on the target system.
References
https://opensource.zalando.com/skipper/reference/scripts/#enable-and-disable-lua-sources
Go Vulnerability Database
Skipper is vulnerable to arbitrary code execution through lua filters in github.com/zalando/skipper
NVD (es)
Skipper es un router HTTP y proxy inverso para composición de servicios. La configuración predeterminada de Skipper antes de la versión 0.23.0 era -lua-sources=inline,file. El problema comienza si usuarios no confiables pueden crear filtros Lua, debido a -lua-sources=inline, por ejemplo, a través de un recurso Ingress de Kubernetes. La configuración inline permite a estos usuarios crear un script que es capaz de leer el sistema de archivos accesible al proceso de Skipper y, si el usuario tiene acceso para leer los registros, puede leer los secretos de Skipper. Esta vulnerabilidad se corrige en la versión 0.23.0.
References
| https://github.com/zalando/skipper/security/advisories/GHSA-cc8m-98fm-rc9g | advisory, exploit, mitigation, vendor-advisory, web | |
| https://github.com/zalando/skipper/commit/0b52894570773b29e2f3c571b94b4211ef8fa714 | fix, patch, web | |
| https://github.com/zalando/skipper/releases/tag/v0.23.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-23742 | advisory | |
| https://github.com/zalando/skipper | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23742 changed 2026-01-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cc8m-98fm-rc9g changed 2026-02-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-4327 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2026-23742 changed 2026-06-17 | Public domain |