🔍 CVE-2026-54136

0.0
CVSS Score
UNKNOWN
2026-08-20
2026-10-18 20:10
✅ 완료

🇰🇷 한글 설명

Windmill 플랫폼 1.715.0 미만 버전에서 리소스 범위가 제한된 API 토큰이 허용된 경로를 벗어나 다른 스크립트 내용을 읽을 수 있는 취약점이 발견되었습니다. GET /api/w/{workspace}/scripts/list_search 엔드포인트에서 경로 세그먼트에 대한 검증이 누락되어, 권한이 없는 스크립트의 소스 코드와 내부 로직이 노출될 수 있습니다.

💡 쉬운 설명

특정 폴더만 볼 수 있는 권한을 가진 사용자가 시스템의 보안 검사를 우회하여 다른 폴더에 있는 중요한 코드와 비밀번호를 훔쳐볼 수 있는 문제입니다. 이로 인해 회사의 자동화 로직이나 중요한 설정 정보가 유출될 위험이 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

Windmill versions prior to 1.715.0

⚔️ 공격 벡터

유효한 범위 제한 API 토큰을 사용하여 특정 API 엔드포인트에 요청을 보내 권한 밖의 스크립트 경로 및 내용을 조회

🛡️ 대응 방법

Windmill를 최신 버전인 1.715.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 1.715.0 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
curl -s http://<windmill-host>/api/health | grep -i 'version' || echo 'Check version via CLI or UI'

💻 영향받는 소프트웨어

Magento Open Source