CVE-2026-49869
Kestra OSS OS Command Injection Vulnerability
Kestra · Kestra OSS
列入日期: 2026-09-02美國聯邦機關修補期限: 2026-09-05
解析與對策(積穗 HMMA)
說明:「解析與對策」由積穗地端 AI(HMMA)依 CISA 公開原文自動生成,未加入 CISA 以外的資訊;受影響版本與修補方式請以廠商公告為準。
這個漏洞是什麼
Kestra OSS 的 AuthenticationFilter 在驗證許可權時,僅檢查 URL 路徑是否以 /configs 結尾,而非精確匹配。攻擊者可透過構造特定 URL(如 /api/v1/flows/my-flow/configs)繞過身份驗證,直接觸發工作流執行。由於 Kestra 預設啟用 script-shell 等指令碼執行外掛,攻擊者可藉此在 Kestra worker 容器中以 root 許可權執行任意指令,達成遠端程式碼執行(RCE)。
下列條件全部成立才會中
- Kestra OSS 版本低於 1.0.45 或 1.3.21
- 未設定或無法存取 AuthenticationFilter 驗證機制
- Kestra worker 容器中啟用 script-shell 或其他指令碼執行外掛(預設開啟)
修補版本
1.0.45, 1.3.21
對企業的風險
此漏洞屬於 Critical(10.0)等級,攻擊者無需任何帳號密碼即可取得 Kestra 容器的 root 許可權。對台灣企業而言,若 Kestra 部署於公網或處理敏感業務流程,可能導致資料外洩、系統被勒索軟體加密或成為內網滲透跳板。目前已知被勒索軟體利用的資訊為:Unknown。
怎麼確認自己有沒有中
- 檢查 Kestra OSS 版本是否為 1.0.45 或 1.3.21 以上版本
- 確認 API 端點 /configs 是否在未登入狀態下仍可存取(依漏洞描述,攻擊者可直接繞過驗證)
誰需要處理
資訊安全部門(負責漏洞評估與修補策略)、IT 基礎設施團隊(負責系統升級與防火牆設定)、DevOps 團隊(負責 CI/CD 流水線中的 Kestra 部署管理)。
建議對策
- 立即升級 Kestra OSS 至 1.0.45 或 1.3.21 以上版本,這是最根本的修補方式。
- 若無法立即升級,應在防火牆或 API Gateway 層級限制對 /configs 相關 URL 路徑的存取許可權,僅允許已知信任來源存取。
- 停用不必要的指令碼執行外掛(如 plugin-script-shell、plugin-script-python),以降低 RCE 的攻擊面。
- 監控 Kestra 容器的異常行為,特別是出現非預期的系統指令執行、網路連線或檔案修改紀錄。
- 針對已暴露於公網的 Kestra 例項,應立即評估其風險等級,必要時先行下線或限制存取來源 IP。
解析依據
解析時間: 2026-11-13 02:07 UTC · winners-zh-summary
CISA 官方原文
- 廠商
- Kestra
- 產品
- Kestra OSS
- 漏洞名稱
- Kestra OSS OS Command Injection Vulnerability
- CISA 描述
- Kestra OSS contains an OS command injection vulnerability that could allow an unauthenticated remote attacker to create and execute arbitrary workflows without credentials.
- CISA 要求措施
- Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
- CWE
- CWE-78, CWE-184, CWE-287, CWE-918
- 需鑑識分流
- Yes
官方參考連結
- CISA KEV Catalog
- NVD 漏洞資料
- https://github.com/kestra-io/kestra/security/advisories/GHSA-5vc5-wxxq-3fjx
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
