What’s Vulnerable › Vulnerabilities
CVE-2026-33881: Windmill: Rogue Workspace Admins can inject code via unescaped workspace environment variable interpolation in NativeTS executor
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-27 · updated 2026-06-17
- Weakness: CWE-94
Description
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.
Affected products
- windmill-labs windmill: before 1.664.0 — fixed in 1.664.0
How to fix
Upgrade to a fixed version: windmill-labs windmill 1.664.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-33881 or the next vulnerability affects your stack