Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Windmill Labs | windmill | before 1.715.0 | 1.715.0 | Patch available | CNA |
| — | windmill-api (crates.io) | before 1.715.0 | 1.715.0 | Patch available | GHSA-2ppx-66jv-wpw5 |
- windmill VendorWindmill Labs Affected before 1.715.0 Fixed in 1.715.0 Patch available CNA
- windmill-api (crates.io) Vendor— Affected before 1.715.0 Fixed in 1.715.0 Patch available GHSA-2ppx-66jv-wpw5
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:* | — | — | Windmill Labs |
- cpe:2.3:a:windmill:windmill:*:*:*:*:*:*:*:* Versions — — ·Windmill Labs
Remediation
- Fix · CNA windmill (windmill-labs) Fixed in 1.715.0
- Fix · GHSA-2ppx-66jv-wpw5 windmill-api (crates.io) Fixed in 1.715.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54136
- 2026-10-03 Alias added: GHSA-2ppx-66jv-wpw5
References
Other 5
- https://github.com/windmill-labs/windmill/security/advisories/GHSA-2ppx-66jv-wpw5
- https://github.com/windmill-labs/windmill/pull/9426
- https://github.com/windmill-labs/windmill/commit/7edf3f02122e20fde1e95e0252e7bda641075326
- https://github.com/windmill-labs/windmill/releases/tag/v1.715.0
- https://github.com/windmill-labs/windmill
More Windmill Labs vulnerabilities
- TI-2026-19080 Windmill < 1.603.3 File Ownership Handling SQLi RCE CVSS 4.0CRITICAL 9.4
- TI-2026-18211 Windmill < 1.615.0 Operator Role Missing Authorization Checks RCE CVSS 4.0HIGH 8.7
- TI-2026-34705 Windmill < 1.703.2 Incorrect Default Permissions in nsjail Configuration CVSS 4.0HIGH 8.6
- TI-2026-23204 Windmill: SUPERADMIN_SECRET (rarely used) can be accessed publicly CVSS 4.0MEDIUM 6.9
- TI-2026-26239 Code injection in windmill CVSS 4.0HIGH 7.3
- TI-2026-50800 Windmill Labs Windmill - Missing Authorization CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-54136 · CVE Program
- CVE-2026-54136 · NVD
- FIRST EPSS
- GHSA-2ppx-66jv-wpw5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences