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.
Published: 2026-05-19
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 20 May 2026 13:15:00 +0000

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'}


Tue, 19 May 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 19 May 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Windmill-labs
Windmill-labs windmill
Vendors & Products Windmill-labs
Windmill-labs windmill

Tue, 19 May 2026 17:45:00 +0000

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'}


Subscriptions

Windmill-labs Windmill
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-05-20T12:57:21.323Z

Reserved: 2026-05-18T19:22:26.748Z

Link: CVE-2026-47107

cve-icon Vulnrichment

Updated: 2026-05-19T18:36:23.336Z

cve-icon NVD

Status : Deferred

Published: 2026-05-19T18:16:22.167

Modified: 2026-05-20T13:16:38.933

Link: CVE-2026-47107

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-20T15:30:33Z

Weaknesses