7.3High

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

windmill-labs windmill Published: (7 months ago)

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
windmill windmill < 1.664.0
windmill-labs windmill < 1.664.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:* < 1.664.0