🔍 CVE-2026-118667

4.3
CVSS Score
MEDIUM
2026-10-28
2026-10-29 19:17
✅ 완료

🇰🇷 한글 설명

LangGraph Python SDK의 v3 스트리밍 헬퍼(get_tree, _fetch_state)가 호출자가 제공한 assistant_id와 thread_id를 인증된 GET 요청 경로에 이스케이프 없이 삽입합니다. 이로 인해 상대 경로 세그먼트가 서버 내 다른 경로로 정규화되며 인증 헤더가 유지됩니다. langgraph-sdk 0.4.6 및 langgraph 1.2.14에서 수정되었습니다.

💡 쉬운 설명

LangGraph 프로그램이 식별자 값을 검사하지 않고 주소에 그대로 넣어 요청을 보냅니다. 공격자가 특수한 값을 넣으면 같은 서버의 다른 경로로 요청이 바뀌어 인증 정보와 함께 전송될 수 있습니다.

🇺🇸 원문 (English)

LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From langgraph-sdk 0.4.0 until 0.4.6, and from langgraph 1.2.3 until 1.2.14 when RemoteGraph v3 streaming uses an affected langgraph-sdk version, the synchronous and asynchronous v3 stream get_tree and _fetch_state helpers interpolate caller-controlled assistant_id and thread_id values into authenticated GET request paths without using _quote_path_param. Relative path segments can therefore be normalized into another readable path on the configured server while retaining authentication headers. This issue is fixed in langgraph-sdk 0.4.6 and langgraph 1.2.14.

📍 영향받는 시스템

langgraph-sdk 0.4.0 ~ 0.4.6, langgraph 1.2.3 ~ 1.2.14 (RemoteGraph v3 스트리밍 사용 시)

⚔️ 공격 벡터

공격자가 assistant_id 또는 thread_id에 상대 경로 세그먼트(예: ../)를 포함시켜 인증된 GET 요청이 서버의 다른 읽기 가능한 경로로 정규화되도록 유도

🛡️ 대응 방법

langgraph-sdk를 0.4.6 이상, langgraph를 1.2.14 이상으로 업그레이드

🔧 검증 코드

출력된 langgraph-sdk 버전이 0.4.6 미만이거나 langgraph 버전이 1.2.14 미만이면 취약하므로 업그레이드가 필요하며, 두 패키지 모두 기준 이상이면 패치된 상태입니다.

Shell / Script
pip show langgraph-sdk langgraph 2>/dev/null | grep -E '^(Name|Version)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server