{"id":"CVE-2026-23742","aliases":["CVE-2026-23742","GHSA-cc8m-98fm-rc9g","GO-2026-4327"],"related":[],"kind":"vulnerability","state":"published","title":"Skipper arbitrary code execution through lua filters","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nArbitrary code execution through [lua filters](https://opensource.zalando.com/skipper/reference/scripts/).\n\nThe default skipper configuration before v0.23 was `-lua-sources=inline,file`. \nThe 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.\n\nKubernetes example (vulnerability is not limited to Kubernetes)\n```lua\nfunction request(ctx, params)\n  local file = io.open('/var/run/secrets/kubernetes.io/serviceaccount/token', 'r')\n  if file then\n    local token = file:read('*all')\n    file:close()\n    error('[EXFIL] ' .. token)  -- Exfiltrate via error logs\n  end\nend\n```\n\n### Patches\n\nhttps://github.com/zalando/skipper/releases/tag/v0.23.0 disables Lua by default.\n\n### Workarounds\n\nYou 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. \n\n### References\n\nhttps://opensource.zalando.com/skipper/reference/scripts/#enable-and-disable-lua-sources","format":"markdown","source":"ghsa"},{"lang":"en","text":"Skipper is vulnerable to arbitrary code execution through lua filters in github.com/zalando/skipper","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-01-16T20:07:46.746Z","modified":"2026-06-17T10:22:01.943Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94","CWE-250","CWE-522"],"affected":[{"ranges":[{"version":"< 0.23.0","status":"affected"}],"vendor":"zalando","product":"skipper","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.23.0"}],"ecosystem":"Go","package":"github.com/zalando/skipper","purl":"pkg:golang/github.com/zalando/skipper","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.23.0"}],"ecosystem":"Go","package":"github.com/zalando/skipper","purl":"pkg:golang/github.com/zalando/skipper","source":"go"},{"ranges":[{"status":"affected","fixed":"0.23.0"}],"vendor":"zalando","product":"skipper","cpe":"cpe:2.3:a:zalando:skipper:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/zalando/skipper/security/advisories/GHSA-cc8m-98fm-rc9g","tags":["advisory","exploit","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zalando/skipper/commit/0b52894570773b29e2f3c571b94b4211ef8fa714","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/zalando/skipper/releases/tag/v0.23.0","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23742","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/zalando/skipper","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-16T20:22:53.499Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23742","url":"https://www.cve.org/CVERecord?id=CVE-2026-23742","licence":"CVE Terms of Use","modified":"2026-01-16T20:24:12.702Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cc8m-98fm-rc9g","url":"https://github.com/advisories/GHSA-cc8m-98fm-rc9g","licence":"CC-BY-4.0","modified":"2026-02-03T22:40:59.690Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4327","url":"https://pkg.go.dev/vuln/GO-2026-4327","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:53.106Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23742","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23742","licence":"Public domain","modified":"2026-06-17T10:22:01.943Z"}],"updatedAt":"2026-11-25T22:59:12.900Z","epss":{"score":0.00716,"percentile":0.49545,"date":"2026-11-30T12:00:22.000Z"}}