High severity · published Mar 27, 2026
CVE-2026-33881
Windmill: Rogue Workspace Admins can inject code via unescaped workspace environment variable interpolation in NativeTS executor
7.2
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WI
windmill · windmill-labs
< 1.664.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33881
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-33881
Exploit
https://github.com/windmill-labs/windmill/security/advisories/GHSA-8q8j-mm3g-5c2q
More from windmill
8.1
CVE-2026-47107
Windmill < 1.703.2 Incorrect Default Permissions in nsjail Configuration
7.5
CVE-2026-29059
Windmill: SUPERADMIN_SECRET (rarely used) can be accessed publicly
6.5
CVE-2026-72541
Windmill Labs Windmill - Missing Authorization
6.5
CVE-2026-72539
Windmill Labs Windmill - Information Disclosure
5.4
CVE-2026-72542
Windmill Labs Windmill - Missing Authorization
