🔍 CVE-2026-68771

9.8
CVSS Score
CRITICAL
2026-07-31
2026-10-23 23:10
✅ 완료

🇰🇷 한글 설명

ComfyUI v0.23.0의 LoadTrainingDataset 노드에서 안전하지 않은 역직렬화 취약점이 발견되었습니다. 인증되지 않은 원격 공격자가 조작된 pickle 파일을 업로드하고 워크플로우를 실행함으로써 임의의 파이썬 코드를 실행할 수 있습니다.

💡 쉬운 설명

해커가 특수하게 제작된 파일을 서버에 올린 뒤 실행하게 만들어, 컴퓨터를 마음대로 조종할 수 있는 위험한 보안 약점입니다. 인증 절차 없이도 공격이 가능하여 매우 위험합니다.

🇺🇸 원문 (English)

ComfyUI v0.23.0 contains an unsafe deserialization vulnerability in the LoadTrainingDataset node that allows unauthenticated remote attackers to execute arbitrary Python code by uploading a crafted pickle file and triggering its deserialization. Attackers can upload a malicious shard_*.pkl file via the unauthenticated POST /upload/image endpoint and then queue a workflow graph via POST /prompt referencing the uploaded file, causing torch.load to deserialize the attacker-controlled pickle payload using __reduce__ and execute arbitrary commands as the ComfyUI process user.

📍 영향받는 시스템

ComfyUI v0.23.0 이하 버전

⚔️ 공격 벡터

인증되지 않은 POST /upload/image 엔드포인트를 통해 악성 pickle 파일을 업로드한 후, POST /prompt를 통해 해당 파일을 실행하도록 유도

🛡️ 대응 방법

ComfyUI를 최신 보안 패치가 적용된 버전으로 업데이트하고, 신뢰할 수 없는 파일 업로드를 제한하십시오.

🔧 검증 코드

설치된 ComfyUI 소스 코드 내에 LoadTrainingDataset 노드가 포함되어 있는지 확인하여 취약 여부를 판단합니다.

Shell / Script
python -c "import os; print('ComfyUI Version Check Required')" && grep -r 'LoadTrainingDataset' .

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python