CVE-2026-47107: Windmill < 1.703.2 Incorrect Default Permissions in nsjail Configuration

Published May 19, 2026
·
Updated

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 WMTOKEN JWTs to gain workspace-admin access to other users' workspaces.

Affected Software

1 affected component
Windmill Windmill<1.703.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Windmill to a version that resolves this vulnerability.

    Fixed in 1.703.2
  2. Configuration

    Fix nsjail sandbox configuration so that /etc is not bind-mounted with incorrect default permissions; ensure write access from within script execution sandboxes to /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt is prevented (read-write restrictions on the bind mount).

    nsjail sandbox configuration (Windmill) /etc bind-mount permissions = read-write restricted
  3. Configuration

    Ensure the sandbox cannot write arbitrary entries to /etc/hosts from within script execution.

    nsjail sandbox configuration (Windmill) /etc/hosts write access = prevent write
  4. Configuration

    Ensure the sandbox cannot write arbitrary entries to /etc/resolv.conf from within script execution.

    nsjail sandbox configuration (Windmill) /etc/resolv.conf write access = prevent write
  5. Configuration

    Ensure the sandbox cannot write arbitrary entries to /etc/ssl/certs/ca-certificates.crt from within script execution.

    nsjail sandbox configuration (Windmill) /etc/ssl/certs/ca-certificates.crt write access = prevent write

Event History

May 19, 2026
CVE Published
via MITRE·04:42 PM
Data Sourced
via MITRE·04:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-47107?

CVE-2026-47107 is considered a medium severity vulnerability due to incorrect default permissions allowing authenticated users to modify system files.

2

How do I fix CVE-2026-47107?

To fix CVE-2026-47107, upgrade Windmill to version 1.703.2 or later where the permissions issue is resolved.

3

Who is affected by CVE-2026-47107?

CVE-2026-47107 affects all versions of Windmill prior to 1.703.2 where nsjail configuration files have incorrect permissions.

4

What systems are impacted by CVE-2026-47107?

CVE-2026-47107 impacts systems running Windmill versions below 1.703.2 that utilize nsjail sandbox configurations.

5

What can attackers do with CVE-2026-47107?

Attackers can exploit CVE-2026-47107 to write arbitrary files on the system due to insufficient permission controls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203