🔍 CVE-2026-101861

4.1
CVSS Score
MEDIUM
2026-09-28
2026-09-30 21:16
✅ 완료

🇰🇷 한글 설명

Langflow 1.12.0 미만 버전의 schema.py에서 발생하는 unsafe eval() 취약점입니다. 인증된 공격자가 악성 __repr__ 메서드를 포함한 Python 객체를 컴포넌트 입력 옵션에 삽입하여 임의의 코드를 실행할 수 있습니다. 이 취약점은 ComponentToolkit.get_tools()를 통해 컴포넌트가 LangChain 도구로 변환될 때 발생합니다.

💡 쉬운 설명

프로그램이 사용자가 입력한 데이터를 검증 없이 실행하는 과정에서 발생하는 보안 결함입니다. 공격자가 특수한 코드를 입력하면 서버에서 해커가 원하는 명령어를 마음대로 실행할 수 있습니다.

🇺🇸 원문 (English)

Langflow 1.0.16 before 1.12.0 and 0.0.94 before 1.12.0 contain an unsafe eval() vulnerability in schema.py that allows authenticated attackers to achieve code execution by placing a Python object with a malicious __repr__ method into component input options lists. The eval() sink is triggered when a component is converted into a LangChain tool via ComponentToolkit.get_tools(), including during custom component saves through the API, by interpolating options into a Literal type string that is passed directly to eval() without safe evaluation controls.

📍 영향받는 시스템

Langflow 1.0.16 미만 및 0.0.94 미만 버전

⚔️ 공격 벡터

인증된 사용자가 컴포넌트 입력 옵션에 악성 Python 객체를 삽입하여 API를 통해 실행

🛡️ 대응 방법

Langflow를 최신 버전인 1.12.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.12.0 미만인지 확인하십시오.

Shell / Script
pip show langflow | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python