Code injection in windmill
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Windmill Labs | windmill | before 1.664.0 | 1.664.0 | Patch available | CNA |
- windmill VendorWindmill Labs Affected before 1.664.0 Fixed in 1.664.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:* | before 1.664.0 | Vulnerable | Windmill Labs |
- cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:* Versions before 1.664.0 Vulnerable ·Windmill Labs
Remediation
- Fix · CNA windmill (windmill-labs) Fixed in 1.664.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33881
References
More Windmill Labs Windmill vulnerabilities
- TI-2026-18211 Windmill < 1.615.0 Operator Role Missing Authorization Checks RCE CVSS 4.0HIGH 8.7
- TI-2026-23204 Windmill: SUPERADMIN_SECRET (rarely used) can be accessed publicly CVSS 4.0MEDIUM 6.9
- TI-2026-21449 Windmill Exposes Workspace Slack OAuth Client Secrets to Non-Admin Workspace Members CVSS 3.1LOW 2.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences