🇰🇷 한글 설명
LangGraph Python SDK 0.1.45부터 0.4.4 버전 사이에서 리소스 범위 권한 부여 데코레이터가 actions 인자를 무시하는 취약점이 발견되었습니다. 이로 인해 인증된 사용자가 권한 체크를 우회하여 다른 사용자의 리소스를 읽거나 수정 또는 삭제할 수 있습니다. 해당 문제는 0.4.4 버전에서 수정되었습니다.
💡 쉬운 설명
프로그램의 권한 확인 기능이 특정 명령어를 제대로 구분하지 못하는 오류가 있습니다. 이로 인해 권한이 없는 사용자가 다른 사람의 데이터를 마음대로 보고 고칠 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
LangGraph Python SDK is used to connect to running LangGraph API servers, manage assistants, threads and stream runs from Python applications. From 0.1.45 until 0.4.4, the langgraph-sdk resource-scoped authorization decorators @auth.on.threads, @auth.on.assistants, and @auth.on.crons ignore the actions argument and register the selected handler for every action on the resource. Because that wildcard resource handler is selected before broader fallback handlers, an authenticated user may bypass fallback action, ownership, or permission checks and read, update, or delete another user's resource. Only Python deployments using actions on the affected decorators are vulnerable, and a deployment remains protected when the selected handler independently enforces all required checks for every action it receives. This issue is fixed in version 0.4.4.
📍 영향받는 시스템
LangGraph Python SDK 0.1.45 ~ 0.4.4
⚔️ 공격 벡터
인증된 사용자가 권한 우회 데코레이터를 악용하여 타인의 리소스에 접근
🛡️ 대응 방법
LangGraph Python SDK를 0.4.4 버전 이상으로 업데이트
🔧 검증 코드
출력된 버전이 0.4.4 미만(0.1.45~0.4.3)이면 취약한 상태입니다.
pip show langgraph-sdk 2>/dev/null | grep Version
💻 영향받는 소프트웨어
IBM WebSphere Application Server