Medium severity · published Aug 20, 2026
CVE-2026-54136
Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search
5.1
CVSS
0.5%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WI
windmill · windmill-labs
< 1.715.0 · source: vendor
Affected product
WI
windmill
windmill-labs
More from windmill
8.1
CVE-2026-47107
Windmill < 1.703.2 Incorrect Default Permissions in nsjail Configuration
7.5
CVE-2026-29059
Windmill: SUPERADMIN_SECRET (rarely used) can be accessed publicly
7.2
CVE-2026-33881
Windmill: Rogue Workspace Admins can inject code via unescaped workspace environment variable interpolation in NativeTS executor
6.5
CVE-2026-72541
Windmill Labs Windmill - Missing Authorization
6.5
CVE-2026-72539
Windmill Labs Windmill - Information Disclosure