CVE-2026-23742: Skipper arbitrary code execution through lua filters
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) lua 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
Other sources
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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23742?
CVE-2026-23742 is classified as a critical vulnerability due to the potential for arbitrary code execution.
How do I fix CVE-2026-23742?
To fix CVE-2026-23742, upgrade Skipper to version 0.23.0 or later.
What causes CVE-2026-23742?
CVE-2026-23742 is caused by allowing untrusted users to create Lua filters with the default configurations of Skipper.
Which versions of Skipper are affected by CVE-2026-23742?
Versions of Skipper prior to 0.23.0 are affected by CVE-2026-23742.
What is the impact of CVE-2026-23742 on systems running Skipper?
The impact of CVE-2026-23742 on systems running Skipper includes the risk of arbitrary code execution if exploited.