🔍 CVE-2025-59528

10.0
CVSS Score
CRITICAL
2025-09-22
2026-10-18 21:10
✅ 완료

🇰🇷 한글 설명

Flowise 3.0.5 버전의 CustomMCP 노드에서 발생하는 원격 코드 실행(RCE) 취약점입니다. 사용자가 입력한 mcpServerConfig 문자열을 처리하는 과정에서 보안 검증 없이 JavaScript 코드를 실행하는 Function() 생성자를 사용하여 시스템 권한을 탈취할 수 있습니다.

💡 쉬운 설명

Flowise라는 프로그램의 특정 설정 칸에 악성 코드를 입력하면, 공격자가 내 컴퓨터를 마음대로 조종할 수 있는 위험한 결함입니다. 이 결함을 이용하면 해커가 파일을 삭제하거나 중요한 정보를 몰래 빼갈 수 있습니다.

🇺🇸 원문 (English)

Flowise is a drag & drop user interface to build a customized large language model flow. In version 3.0.5, Flowise is vulnerable to remote code execution. The CustomMCP node allows users to input configuration settings for connecting to an external MCP server. This node parses the user-provided mcpServerConfig string to build the MCP server configuration. However, during this process, it executes JavaScript code without any security validation. Specifically, inside the convertToValidJSONString function, user input is directly passed to the Function() constructor, which evaluates and executes the input as JavaScript code. Since this runs with full Node.js runtime privileges, it can access dangerous modules such as child_process and fs. This issue has been patched in version 3.0.6.

📍 영향받는 시스템

Flowise version 3.0.5 이하

⚔️ 공격 벡터

CustomMCP 노드의 mcpServerConfig 입력란에 악성 JavaScript 코드를 주입하여 실행

🛡️ 대응 방법

Flowise를 최신 보안 패치가 적용된 버전 3.0.6 이상으로 업데이트

🔧 검증 코드

명령어 결과에 '[email protected]'가 포함되어 있다면 해당 취약점에 노출된 상태입니다.

Shell / Script
npm list flowise --depth=0 | grep -E '[email protected]'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Node.js