Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54136— Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search

Quick assessment

Affected
windmill-labs windmill
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Windmill 是一个面向内部代码的开源开发者平台,支持构建 API、后台任务、工作流和用户界面。在版本 1.715.0 之前,基于资源作用域的 API 令牌可通过调用 端点,读取超出其允许路径范围限制的脚本内容。 该问题源于路由层级的作用域中间件仅验证了令牌的作用域(domain)和操作(action),但未强制执行资源或路径段级别的限制。同时, 处理程序在返回脚本路径和内容字段之前,既未调用额外的 检查函数,也未进行逐行过滤。因此,拥有如 这样限定在特定允许路径下的 API 令牌,仍可获取同一工作区内其他无关

CVSS 5.1 · Medium EPSS 0.35% · P28

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 1

VendorProduct Version RangeStatus
windmill-labs windmill < 1.715.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54136

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Windmill: Resource-scoped API tokens can read script contents outside their allowed path via scripts/list_search
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
windmill-labs windmill < 1.715.0 -

II. Public POCs for CVE-2026-54136

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54136

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54136 (2)

Vendor Advisories for CVE-2026-54136 (1)

Vendor Pages for CVE-2026-54136 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-54136

No comments yet


Leave a comment