Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search
CVE-2026-54136Published 20 Aug 2026, 16:47 UTC
Real-world risk
0.5/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Windmill is an open-source developer platform for internal code: APIs, background jobs, workflows and UIs. Prior to 1.715.0, a resource-scoped API token could read script contents outside its allowed path scope through GET /api/w/{workspace}/scripts/list_search. The route-level scope middleware validated the token domain and action but did not enforce the resource/path segment, and the list_search_scripts handler had no additional check_scopes call or per-row filtering before returning script path and content fields. A token such as scripts:read:f/allowed/* could therefore receive source code for unrelated paths in the same workspace, potentially disclosing internal automation logic, integration details, business logic, inline configuration, or hardcoded secrets and credentials. Exploitation required possession of a valid scoped API token for the workspace but did not require administrator privileges. This issue is fixed in version 1.715.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| WindmillNiche | < 1.715.0 | 1.715.0 |
What to do
Update to a fixed version: 1.715.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 30), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.200
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.2 × threat 0.850.510
- Rounded to one decimal between 0.1 and 100.5
Exploitation and evidence timeline
- 20 Aug 2026 Published
- 3 Dec 2026 Risk 0.5 (cvss fallback)
Weakness
CWE-863
References
- https://github.com/windmill-labs/windmill/security/advisories/GHSA-2ppx-66jv-wpw5vendor-advisory
- https://github.com/windmill-labs/windmill/pull/9426misc
- https://github.com/windmill-labs/windmill/commit/7edf3f02122e20fde1e95e0252e7bda641075326misc
- https://github.com/windmill-labs/windmill/releases/tag/v1.715.0misc
- CVE-2026-54136 on CVE.org