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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| windmill-labs | windmill | < 1.664.0 |
References
- https://github.com/windmill-labs/windmill/security/advisories/GHSA-8q8j-mm3g-5c2qExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Mar 27, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed