CVE-2026-33881: Windmill: Rogue Workspace Admins can inject code via unescaped workspace environment variable interpolation in NativeTS executor

Published Mar 27, 2026
·
Updated

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 Software

2 affected components
Windmill Windmill<1.664.0
Windmill Windmill<1.664.0

Event History

Mar 27, 2026
CVE Published
via MITRE·08:34 PM
Data Sourced
via MITRE·08:34 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33881?

CVE-2026-33881 is considered a high severity vulnerability due to the potential for arbitrary code injection.

2

How do I fix CVE-2026-33881?

To fix CVE-2026-33881, update Windmill to version 1.664.0 or later to mitigate the code injection risk.

3

Who is affected by CVE-2026-33881?

CVE-2026-33881 affects users of Windmill versions prior to 1.664.0 where rogue workspace admins can exploit environment variable interpolation.

4

What type of attack is possible with CVE-2026-33881?

CVE-2026-33881 allows attackers to inject and execute arbitrary code through unescaped workspace environment variable interpolation.

5

What should I do if I cannot update Windmill to fix CVE-2026-33881?

If you cannot update Windmill, mitigate CVE-2026-33881 by restricting access to trusted workspace admins only.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203