{
  "id": "CVE-2026-33881",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33881",
  "published_at": "2026-03-27T20:34:32.606Z",
  "title": "Windmill: Rogue Workspace Admins can inject code via unescaped workspace environment variable interpolation in NativeTS executor",
  "vendor": "windmill-labs",
  "product": "windmill",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3,
    "nvd": 7.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "windmill-labs",
        "product": "windmill",
        "ranges": [
          "\u003c 1.664.0"
        ],
        "fixed_in": [
          "1.664.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade windmill to 1.664.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/windmill-labs/windmill/security/advisories/GHSA-8q8j-mm3g-5c2q"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
