🇰🇷 한글 설명
Langflow 1.9.2 미만 버전의 'Shareable Playground' 기능에서 원격 코드 실행(RCE) 취약점이 발견되었습니다. 공격자는 공개된 플로우 ID를 사용하여 API를 통해 임의의 파이썬 코드를 실행할 수 있습니다. 이 취약점은 데이터 구조 내 특정 필드를 통해 악성 코드를 주입하는 방식으로 발생합니다.
💡 쉬운 설명
인공지능 워크플로우 도구인 Langflow에서 누구나 악성 명령어를 실행할 수 있는 심각한 보안 구멍이 발견되었습니다. 공격자가 특수한 링크를 통해 서버에 몰래 침투하여 컴퓨터를 마음대로 조종할 수 있는 위험한 상태입니다.
🇺🇸 원문 (English)
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.2, the "Shareable Playground" (or "Public Flows" in code) contains a critical RCE vulnerability. Shareable Playground feature works by enabling the execution of workflows by unauthenticated users, by accessing a link. Specifically, it enables the route /api/v1/build_public_tmp to execute any public flow, given a public flow ID. When the route executes the flow, it allows for providing arbitrary custom Python code as the nodes code, inside the JSON payload. The vulnerable field is data.nodes[X].data.node.template.code.value. This vulnerability is fixed in 1.9.2.
📍 영향받는 시스템
Langflow 1.9.2 미만 모든 버전
⚔️ 공격 벡터
인증되지 않은 사용자가 /api/v1/build_public_tmp 경로로 악성 파이썬 코드가 포함된 JSON 페이로드를 전송
🛡️ 대응 방법
Langflow를 최신 보안 패치가 적용된 1.9.2 버전 이상으로 즉시 업데이트
🔧 검증 코드
출력된 버전 번호가 1.9.2보다 낮으면 취약한 상태이며, 1.9.2 이상이면 안전합니다.
pip show langflow | grep Version