CVE-2026-47107: Incorrect Default Permissions in windmill-labs windmill
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.
AI Analysis
Technical Summary
CVE-2026-47107 describes an incorrect default permissions vulnerability in windmill-labs windmill prior to version 1.703.2. The issue arises because the nsjail sandbox configuration bind-mounts /etc without read-write restrictions, allowing authenticated users executing scripts in the sandbox to write arbitrary entries to critical system files like /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt. Exploitation can result in persistent poisoning of DNS and SSL trust settings across script executions on the same worker pod. This enables attackers to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle attacks, and capture WM_TOKEN JWTs, which can be used to escalate privileges and access other users' workspaces with admin rights.
Potential Impact
The vulnerability allows authenticated users to modify critical system configuration files within the sandbox environment, leading to persistent DNS and SSL poisoning. This can cause hostname redirection, interception of DNS queries, and man-in-the-middle attacks on HTTPS traffic. Additionally, attackers can intercept WM_TOKEN JWTs, enabling them to gain workspace-admin access to other users' workspaces, significantly compromising confidentiality and integrity within the affected environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user access to the affected versions and avoid running untrusted scripts in the sandbox environment. Monitor vendor communications for updates regarding patches or configuration changes to nsjail sandbox permissions that address this issue.
CVE-2026-47107: Incorrect Default Permissions in windmill-labs windmill
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.
CVSS v4.0
Score 8.6high
Affected software
pkg:github/windmill-labs/windmillRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-47107 describes an incorrect default permissions vulnerability in windmill-labs windmill prior to version 1.703.2. The issue arises because the nsjail sandbox configuration bind-mounts /etc without read-write restrictions, allowing authenticated users executing scripts in the sandbox to write arbitrary entries to critical system files like /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt. Exploitation can result in persistent poisoning of DNS and SSL trust settings across script executions on the same worker pod. This enables attackers to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle attacks, and capture WM_TOKEN JWTs, which can be used to escalate privileges and access other users' workspaces with admin rights.
Potential Impact
The vulnerability allows authenticated users to modify critical system configuration files within the sandbox environment, leading to persistent DNS and SSL poisoning. This can cause hostname redirection, interception of DNS queries, and man-in-the-middle attacks on HTTPS traffic. Additionally, attackers can intercept WM_TOKEN JWTs, enabling them to gain workspace-admin access to other users' workspaces, significantly compromising confidentiality and integrity within the affected environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user access to the affected versions and avoid running untrusted scripts in the sandbox environment. Monitor vendor communications for updates regarding patches or configuration changes to nsjail sandbox permissions that address this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-18T19:22:26.748Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0ca2183cb6383434df161f
Added to database: 05/19/2026, 17:47:04 UTC
Last enriched: 07/15/2026, 10:04:04 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 85
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.