🔍 CVE-2026-30821

9.8
CVSS Score
CRITICAL
2026-03-07
2026-06-17 10:32
✅ 완료

🇰🇷 한글 설명

Flowise 3.0.13 미만 버전에서 인증 없이 파일 업로드 API에 접근할 수 있는 취약점이 발견되었습니다. 공격자가 Content-Type 헤더를 조작하여 허용되지 않은 악성 파일을 업로드할 수 있으며, 이는 저장형 XSS나 원격 코드 실행(RCE)으로 이어질 수 있습니다.

💡 쉬운 설명

파일을 올릴 때 파일의 진짜 종류를 확인하지 않고 이름표만 보고 허용해주는 보안 허점이 있습니다. 이를 통해 해커가 가짜 이름표를 붙인 악성 파일을 서버에 몰래 저장할 수 있습니다.

🇺🇸 원문 (English)

Flowise is a drag & drop user interface to build a customized large language model flow. Prior to version 3.0.13, the /api/v1/attachments/:chatflowId/:chatId endpoint is listed in WHITELIST_URLS, allowing unauthenticated access to the file upload API. While the server validates uploads based on the MIME types defined in chatbotConfig.fullFileUpload.allowedUploadFileTypes, it implicitly trusts the client-provided Content-Type header (file.mimetype) without verifying the file's actual content (magic bytes) or extension (file.originalname). Consequently, an attacker can bypass this restriction by spoofing the Content-Type as a permitted type (e.g., application/pdf) while uploading malicious scripts or arbitrary files. Once uploaded via addArrayFilesToStorage, these files persist in backend storage (S3, GCS, or local disk). This vulnerability serves as a critical entry point that, when chained with other features like static hosting or file retrieval, can lead to Stored XSS, malicious file hosting, or Remote Code Execution (RCE). This issue has been patched in version 3.0.13.

📍 영향받는 시스템

Flowise version < 3.0.13

⚔️ 공격 벡터

인증되지 않은 상태에서 Content-Type 헤더를 조작하여 악성 파일을 업로드하는 방식

🛡️ 대응 방법

Flowise를 최신 보안 패치가 적용된 버전인 3.0.13 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 3.0.13 미만이라면 해당 취약점에 노출된 상태입니다.

Shell / Script
npm list flowise | grep -E 'flowise@([0-2]\.|3\.[0-1][0-2]\.)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Security Verify Access