Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33881: CWE-94: Improper Control of Generation of Code ('Code Injection') in windmill-labs windmill

0
High
VulnerabilityCVE-2026-33881cvecve-2026-33881cwe-94
Published: Fri Mar 27 2026 (03/27/2026, 20:34:32 UTC)
Source: CVE Database V5
Vendor/Project: windmill-labs
Product: windmill

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/04/2026, 10:49:10 UTC

Technical Analysis

Windmill-labs windmill, an open-source developer platform, suffers from a CWE-94 improper code generation vulnerability due to unsafe interpolation of workspace environment variables into JavaScript string literals in the NativeTS executor. Specifically, single quotes in environment variable values are not escaped, enabling a workspace admin to inject arbitrary JavaScript code that executes in all NativeTS scripts within that workspace. This vulnerability exists in versions before 1.664.0 and is fixed in version 1.664.0. The CVSS 4.0 score is 7.3, indicating high severity, with network attack vector, low attack complexity, and no user interaction required.

Potential Impact

An attacker with workspace administrator privileges can exploit this vulnerability to execute arbitrary JavaScript code within the NativeTS execution environment of the affected windmill workspace. This could lead to unauthorized code execution, potentially compromising the integrity and confidentiality of the environment and any processes running within it. The vulnerability does not require user interaction and can be exploited remotely over the network by an authorized workspace admin.

Mitigation Recommendations

Upgrade windmill to version 1.664.0 or later, where this code injection vulnerability is patched. Since this is a vulnerability in the open-source software, applying the official fix is the recommended remediation. No additional mitigations are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-24T15:10:05.681Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c6ec5f3c064ed76ff25048

Added to database: 3/27/2026, 8:45:19 PM

Last enriched: 4/4/2026, 10:49:10 AM

Last updated: 5/11/2026, 11:52:39 PM

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses