A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-47107

CVE-2026-47107: Windmill Privilege Escalation Vulnerability

CVE-2026-47107 is a privilege escalation vulnerability in Windmill that allows authenticated users to modify critical system files and intercept credentials. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-47107 Overview

CVE-2026-47107 is an incorrect default permissions vulnerability [CWE-276] in Windmill versions prior to 1.703.2. The nsjail sandbox used to isolate script execution bind-mounts /etc without read-write restrictions. Authenticated users with script execution privileges can write arbitrary entries to /etc/hosts, /etc/resolv.conf, and /etc/ssl/certs/ca-certificates.crt from inside the sandbox. Poisoned entries persist across every subsequent script execution on the same worker pod. Attackers leverage this persistence to redirect hostnames, intercept DNS queries, perform transparent HTTPS man-in-the-middle (MITM) attacks, and capture WM_TOKEN JSON Web Tokens (JWTs) to obtain workspace-admin access to other tenants.

Critical Impact

Any authenticated Windmill user can pivot from a single script invocation to full workspace-admin compromise of co-tenant workspaces sharing the same worker pod.

Affected Products

  • Windmill versions prior to 1.703.2
  • Windmill worker pods running nsjail sandboxed script execution
  • Multi-tenant Windmill deployments sharing worker pools across workspaces

Discovery Timeline

  • 2026-05-19 - CVE-2026-47107 published to the National Vulnerability Database (NVD)
  • 2026-05-20 - Last updated in NVD database
  • Patch released - Windmill v1.703.2 published on GitHub with hardened nsjail configuration

Technical Details for CVE-2026-47107

Vulnerability Analysis

Windmill is a developer platform for running scripts and workflows. Each script executes inside an nsjail sandbox on a worker pod. The sandbox is intended to isolate untrusted user code from the host filesystem and from other tenants.

The nsjail configuration bind-mounts the host /etc directory into the sandbox without applying the read-only (rw: false) flag. As a result, any process inside the sandbox inherits write access to sensitive system files. The bind mount targets the worker pod's /etc, not an ephemeral copy, so modifications survive after the sandbox exits and apply to every subsequent script execution scheduled to the same pod.

This vulnerability is categorized as Insecure Permissions and Man-in-the-Middle, mapped to [CWE-276] Incorrect Default Permissions.

Root Cause

The root cause is the absence of a read-only flag on the /etc bind mount inside the nsjail policy file. Sandbox authors typically restrict writes to system configuration directories. In Windmill, the omission allowed user-controlled scripts to overwrite or append to files such as /etc/hosts, /etc/resolv.conf, and the system trust store at /etc/ssl/certs/ca-certificates.crt.

Attack Vector

An authenticated user submits a script that writes attacker-controlled entries into the mounted /etc files. Appending a certificate authority (CA) to ca-certificates.crt causes subsequent jobs on the pod to trust attacker-issued TLS certificates. Modifying /etc/hosts or /etc/resolv.conf redirects outbound traffic from later scripts, including internal Windmill API calls, through an attacker-controlled host. When a co-tenant's job authenticates to the Windmill backend, the attacker intercepts the WM_TOKEN JWT and replays it with workspace-admin scope. Refer to the VulnCheck Security Advisory and GitHub Pull Request 9194 for the technical write-up.

// No verified public exploit code is published.
// The conceptual exploitation chain is:
// 1. Write rogue CA to /etc/ssl/certs/ca-certificates.crt
// 2. Add attacker host to /etc/hosts for windmill backend FQDN
// 3. Wait for co-tenant job; MITM TLS; capture WM_TOKEN JWT
// 4. Reuse JWT against /api with workspace-admin scope

Detection Methods for CVE-2026-47107

Indicators of Compromise

  • Unexpected modifications to /etc/hosts, /etc/resolv.conf, or /etc/ssl/certs/ca-certificates.crt on Windmill worker pods
  • New or unknown CA entries appended to the system trust store on worker pods
  • DNS resolutions from worker pods pointing internal Windmill API hostnames to unexpected IP addresses
  • WM_TOKEN JWTs used from source IPs that differ from the issuing worker pod

Detection Strategies

  • File integrity monitoring on worker pod /etc paths with alerting on any write event
  • Audit Windmill job logs for scripts that open /etc/hosts, /etc/resolv.conf, or ca-certificates.crt for write
  • Compare the running pod's ca-certificates.crt hash against the container image baseline
  • Correlate JWT issuance events with downstream API calls to detect token reuse across workspaces

Monitoring Recommendations

  • Forward worker pod auditd and file-write telemetry to a centralized data lake for cross-pod correlation
  • Alert on outbound DNS or TLS connections from worker pods to non-allowlisted destinations
  • Track Windmill worker container image versions and flag any cluster still running a release earlier than 1.703.2

How to Mitigate CVE-2026-47107

Immediate Actions Required

  • Upgrade Windmill to version 1.703.2 or later on all worker pods and the control plane
  • Recycle existing worker pods so any in-memory poisoned /etc state is destroyed
  • Rotate all WM_TOKEN JWTs and workspace API keys that may have been exposed before patching
  • Audit workspace-admin assignments for unauthorized changes since the affected version was deployed

Patch Information

The fix is delivered in Windmill v1.703.2. The nsjail configuration was updated to mount /etc and related system directories read-only. See the GitHub Commit Update, GitHub Pull Request 9194, and the GitHub Release v1.703.2 for details.

Workarounds

  • Until upgrade is possible, dedicate a separate worker pool per workspace to prevent cross-tenant impact
  • Override the nsjail policy file to mark the /etc bind mount as read-only (rw: false)
  • Run worker pods on ephemeral filesystems that are discarded after each job
  • Restrict script execution privileges to a minimal, trusted set of users
bash
# Example nsjail mount hardening (apply until upgrading to 1.703.2)
mount {
  src: "/etc"
  dst: "/etc"
  is_bind: true
  rw: false
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWindmill

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-276
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request 9194

  • GitHub Release v1.703.2

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2026-22683: Windmill Privilege Escalation Vulnerability

  • CVE-2026-23696: Windmill CE/EE SQL Injection Vulnerability

  • CVE-2026-33881: Windmill Developer Platform RCE Vulnerability

  • CVE-2026-29059: Windmill Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English