CVE-2026-47107

Windmill < 1.703.2 Incorrect Default Permissions in nsjail Configuration

Published May 19, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
Description
Windmill prior to 1.703.2 contains an incorrect default permissions vulnerability in nsjail sandbox configuration files where /etc is bind-mounted without read-write restrictions, allowing authenticated users to write arbitrary entries to /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt from within script execution sandboxes. Attackers can exploit persistent poisoned entries across all subsequent script executions on the same worker pod to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle attacks, and intercept WM_TOKEN JWTs to gain workspace-admin access to other users' workspaces.

Analysis

AI-generated

Technical impact

Windmill prior to 1.703.2 ships with an incorrect default permission setting in its nsjail sandbox configuration; the /etc directory is bind‑mounted without write‑restriction, allowing an authenticated user executing a script to modify files such as /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca‑certificates.crt. These changes can persist across all subsequent executions on the same worker pod, enabling an attacker to redirect hostnames, intercept DNS queries, perform transparent HTTPS man‑in‑the‑middle attacks, and capture WM_TOKEN JWTs to obtain workspace‑admin rights across tenants. The weakness is a classic “incorrect permissions” flaw (CWE‑276) and carries a CVSS score of 8.6.

Affected Systems

The vulnerability affects any instance of Windmill deployed with a version earlier than 1.703.2, regardless of operating system. No specific patch or version list is given beyond the recommendation to upgrade to 1.703.2 or later.

Risk and Exploitability

Attackers require authenticated access to a worker pod where they can execute arbitrary scripts. From within that sandbox they can write to the bind‑mounted /etc hierarchy, so the attack vector is insider or compromised user credentials with script execution privileges. Because the effect is persistent within a pod, the impact is global across all scripts run later on that pod. The CVSS base score of 8.6 reflects this high impact; the EPSS score is 0.00016 (< 0.02%), indicating a very low but non‑zero exploitation probability, and the vulnerability is not yet listed in CISA’s KEV catalog. Nonetheless, the high severity and potential for cross‑tenant privilege escalation make it a critical risk for exposed Windmill deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Windmill to version 1.703.2 or newer, which corrects the nsjail configuration bind‑mount permissions
  • After upgrading, verify that the /etc bind mount in nsjail is now read‑only; re‑apply the vendor‑supplied settings or adjust any custom configuration accordingly
  • Restart all worker pods to clear any persisted malicious entries and ensure the corrected configuration is active

Generated by OpenCVE AI on May 20, 2026 at 15:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Windmill
Windmill windmill
CPEs cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:*
Vendors & Products Windmill
Windmill windmill
Type Values Removed Values Added
Description Windmill prior to 1.703.2 contains an incorrect default permissions vulnerability in nsjail sandbox configuration files where /etc is bind-mounted without read-write restrictions, allowing authenticated users to write arbitrary entries to /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt from within script execution sandboxes. Attackers can exploit persistent poisoned entries across all subsequent script executions on the same worker pod to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle attacks, and intercept WM_TOKEN JWTs to gain workspace-admin access to victim workspaces across tenants. Windmill prior to 1.703.2 contains an incorrect default permissions vulnerability in nsjail sandbox configuration files where /etc is bind-mounted without read-write restrictions, allowing authenticated users to write arbitrary entries to /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt from within script execution sandboxes. Attackers can exploit persistent poisoned entries across all subsequent script executions on the same worker pod to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle attacks, and intercept WM_TOKEN JWTs to gain workspace-admin access to other users' workspaces.
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Windmill-labs
Windmill-labs windmill
Vendors & Products Windmill-labs
Windmill-labs windmill
Type Values Removed Values Added
Description Windmill prior to 1.703.2 contains an incorrect default permissions vulnerability in nsjail sandbox configuration files where /etc is bind-mounted without read-write restrictions, allowing authenticated users to write arbitrary entries to /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt from within script execution sandboxes. Attackers can exploit persistent poisoned entries across all subsequent script executions on the same worker pod to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle attacks, and intercept WM_TOKEN JWTs to gain workspace-admin access to victim workspaces across tenants.
Title Windmill < 1.703.2 Incorrect Default Permissions in nsjail Configuration
Weaknesses CWE-276
References
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N'}

Weaknesses
  • CWE-276

    Incorrect Default Permissions

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:04 PM
Reserved
May 18, 2026, 7:22 PM
Status
Deferred
Published
May 19, 2026, 6:16 PM
Modified
Oct 6, 2026, 9:10 PM