🔍 CVE-2026-56838

7.8
CVSS Score
HIGH
2026-10-23
2026-10-29 14:17
✅ 완료

🇰🇷 한글 설명

PraisonAI 4.5.87 이상 4.6.59 미만 버전에서 recipe.run_stream() 경로가 위험 도구 정책 검사(_check_tool_policy)를 수행하지 않아, recipe.run()에서 차단되는 execute_command 등 위험 도구가 스트리밍 경로를 통해 실행될 수 있습니다. 해당 문제는 4.6.59 버전에서 패치되었습니다.

💡 쉬운 설명

PraisonAI의 일반 실행 방식은 위험한 도구 사용을 막지만, 스트리밍 실행 방식에서는 이 보호 장치가 빠져 있습니다. 공격자는 이 경로를 이용해 기본적으로 금지된 명령 실행 기능을 우회할 수 있습니다.

🇺🇸 원문 (English)

PraisonAI is a multi-agent teams system. From version 4.5.87 to before version 4.6.59, PraisonAI recipe execution blocks default-denied dangerous tools unless the caller explicitly passes allow_dangerous_tools=True. The normal recipe.run() path enforces this with _check_tool_policy(). The streaming path, recipe.run_stream(), loads the same recipe, checks dependencies, and then calls _execute_recipe() without running the dangerous-tool policy check. As a result, a recipe that honestly declares execute_command in TEMPLATE.yaml requires.tools is denied by recipe.run(), but reaches the execution engine through recipe.run_stream() with allow_dangerous_tools=False. This issue has been patched in version 4.6.59.

📍 영향받는 시스템

PraisonAI 4.5.87 이상 4.6.59 미만 버전

⚔️ 공격 벡터

악성 또는 조작된 레시피를 run_stream() 경로로 실행하여 allow_dangerous_tools=False 상태에서도 execute_command 등 위험 도구를 호출

🛡️ 대응 방법

PraisonAI를 4.6.59 이상 버전으로 업그레이드하고, 신뢰할 수 없는 레시피의 실행을 제한합니다.

🔧 검증 코드

출력된 Version 값이 4.6.59 미만(4.5.87 이상)이면 취약한 버전이므로 4.6.59 이상으로 업그레이드가 필요하고, 4.6.59 이상이면 패치된 버전입니다.

Shell / Script
pip show praisonai 2>/dev/null | grep -i '^version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Teams