{"id":"CVE-2026-33881","aliases":["CVE-2026-33881"],"related":[],"kind":"vulnerability","state":"published","title":"Windmill: Rogue Workspace Admins can inject code via unescaped workspace environment variable interpolation in NativeTS executor","summary":"Windmill is an open-source developer platform for internal code: APIs, background jobs, workflows and UIs. Workspace environment variable values are interpolated into JavaScript string literals without escaping single quotes in the NativeTS executor. A workspace admin who sets a custom environment variable with a value containing `'` can inject arbitrary JavaScript that executes inside every NativeTS script in that workspace. This is a code injection bug in `worker.rs`, not related to the sandbox/NSJAIL topic. Version 1.664.0 patches the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Windmill is an open-source developer platform for internal code: APIs, background jobs, workflows and UIs. Workspace environment variable values are interpolated into JavaScript string literals without escaping single quotes in the NativeTS executor. A workspace admin who sets a custom environment variable with a value containing `'` can inject arbitrary JavaScript that executes inside every NativeTS script in that workspace. This is a code injection bug in `worker.rs`, not related to the sandbox/NSJAIL topic. Version 1.664.0 patches the issue.","source":"cvelist"}],"published":"2026-03-27T20:34:32.606Z","modified":"2026-06-17T10:38:15.030Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 1.664.0","status":"affected"}],"vendor":"windmill-labs","product":"windmill","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.664.0"}],"vendor":"windmill","product":"windmill","cpe":"cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/windmill-labs/windmill/security/advisories/GHSA-8q8j-mm3g-5c2q","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-31T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33881","url":"https://www.cve.org/CVERecord?id=CVE-2026-33881","licence":"CVE Terms of Use","modified":"2026-04-01T03:55:36.629Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33881","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33881","licence":"Public domain","modified":"2026-06-17T10:38:15.030Z"}],"updatedAt":"2026-11-25T22:59:17.436Z","epss":{"score":0.00439,"percentile":0.39932,"date":"2026-12-01T12:00:22.000Z"}}