Windmill CVE 2026 29059 alert exposes SUPERADMIN _ SECRET and allows to become superadministrator

Author: Published 5 min de lectura 179 reading

The images in this article were generated with artificial intelligence. How we publish

A high-gravity security failure has been actively exploited on the open source platform for Windmill developers: this is the vulnerability identified as CVE-2026-29059, a classic case of traversal of unauthenticated routes in the endpoint "get _ log _ file" (route "/ api / w / {workspace} / jobs _ u / get _ log _ file / {filename}"). According to the technical analysis published after the finding, the filename parameter is directly focused on the file route without any sanitization, allowing an attacker to read arbitrary files of the system by means of "/."

The specific threat to the alarms was the ability to read / proc / 1 / environ and remove the environment variable SUPERADMIN _ SECRET. When that variable is defined, its value can be used as a token Bearer to be authenticated as a supermanager in Windmill and, from there, run arbitrary code through the Jobs Preview API. It is crucial to stress that SUPERADMIN _ SECRET is not configured by default so in instances of standalone without that variable the operation is limited - for now - to arbitrary reading of files; yet that capacity is already sufficient to obtain credentials or sensitive information in many deployments.

Windmill CVE 2026 29059 alert exposes SUPERADMIN _ SECRET and allows to become superadministrator
Image generated with IA.

Windmill solved the problem in the version 1.603.3(January 2026) by adding sanitization checks on the filename parameter to avoid the traversal directory. However, VulnCheck researchers have documented active exploitation attempts against this endpoint, with attacks to extract / etc / passd and other sensitive files, including attempts that are channelled through proxy routes such as those offered by Nextcloud. VulnCheck reported about 170 vulnerable systems publicly exposed in 24 countries, which shows a real and non-theoretical attack area.

This case is part of a broader wave of the incorporation of vulnerabilities exploited in official catalogues: the US Infrastructure and Cybersecurity Agency. USA (CISA) has added several recent entries to its Known Exploited Vulnerables (KEV), including critical WordPress failures (the chain known as wp2shell), DD-WRT and Langflow, all with active operating observations. The vectors observed in recent incidents combine from exfiltration of files such as / etc / passwd and environment variables, to attempts to obtain container metadata, AWS credentials and download / execution of secondary payloads.

For operations teams and security officers managing Windmill, the priority measures are clear: immediately update to Windmill 1.603.3 or more. If for operational reasons it is not possible to park immediately, it is essential to apply compensatory mitigation: to restrict access to vulnerable endpoint by using network or application-level firewall rules (IP and VPN limit), to block traversal patterns in the WAF (e.g. detection of.. / or "% 2e% 2e"), and to ensure that the proxy (e.g. Nextcloud) does not send back requests without additional sanitation.

In addition to the containment measures, it is appropriate to check whether the variable SUPERADMIN _ SECRET is present and, if so, rotates and nullifies any active token. A quick command in a Linux container to check is:dicker exec -it < container > bash -c'tr "\\ 0" "\ n" < / proc / 1 / environ - 124; grep SUPERADMIN _ SECRET '. It is also recommended to move sensitive secrets to secret managers (Vault, AWS Secrets Manager, etc.) and avoid exposing them in global environment variables when they are not strictly necessary.

Windmill CVE 2026 29059 alert exposes SUPERADMIN _ SECRET and allows to become superadministrator
Image generated with IA.

In forensic detection and investigation, look for signs of access to the vulnerable endpoint (requests GET a / api / w /... / get _ log _ file with parameters containing "/" or equivalent URL encoding), / proc / 1 / environ or / etc / passd readings in the logs, creation or execution of unexpected jobs, unusual outgoing connections (wget, curl to external dominoes) and processes that attempt to recover cloud metadata. Reviewing output / shell looms, job history and artifacts in the contained systems can help to determine if there were any subsequent privileges raised.

For organizations with Internet-exposed assets, conducting a targeted surface scan (with legitimate tools and services such as Shodan / Censys or internal scanners) to locate publicly accessible Windmill instances is a priority; each exposed instance increases the risk of automated exploitation. Teams operating in federal environments must take into account regulatory time frames: CISA often sets dates for priority remediation of KEV entries, so it is important to coordinate patches and mitigation with institutional security policy.

Finally, it is appropriate to remember that the reading of arbitrary files is a gateway to more complex attack chains: from exfiltration of credentials to obtaining tokens with high privileges. The combination of fast parking, restricted access, auditing configurations and rotating secrets is the most effective strategy to minimize impact. For more information on the cataloguing of exploited vulnerabilities and mitigation priorities, see the CISA KEV page: https: / / www.cisa.gov / knowledge-exploited-vulnerabilities-catalog and the vulnerability sheet in the national vulnerability database: https: / / nvd.nist.gov / vuln / detail / CVE-2026-29059.

Coverage

Related

More news on the same subject.