🔍 CVE-2026-55522

7.8
CVSS Score
HIGH
2026-08-05
2026-10-24 16:10
✅ 완료

🇰🇷 한글 설명

PraisonAI의 workflow 'include' 기능에서 코드 실행 취약점이 발견되었습니다. 공격자가 제어하는 로컬 레시피 디렉토리를 포함하도록 유도할 경우, 보안 설정(PRAISONAI_ALLOW_TEMPLATE_TOOLS 등)을 우회하여 임의의 파이썬 코드가 실행될 수 있습니다. 이 취약점은 praisonai 4.6.58 및 praiseonaiagents 1.6.58 버전에서 수정되었습니다.

💡 쉬운 설명

PraisonAI라는 프로그램이 외부 파일을 불러오는 과정에서 보안 검사를 제대로 하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 파일이 포함되면 컴퓨터에서 해커가 원하는 명령어를 마음대로 실행할 수 있습니다.

🇺🇸 원문 (English)

PraisonAI is a multi-agent teams system. In versions 3.9.26 through 4.6.57 of praiseonai and 0.12.12 through 1.6.57 of praiseonaiagents, the workflow "include" feature is vulnerable to code execution. Workflow._execute_include() implicitly imports and runs an included recipe's tools.py via a raw importlib.util.spec_from_file_location() and spec.loader.exec_module() call, without honoring the PRAISONAI_ALLOW_TEMPLATE_TOOLS/PRAISONAI_ALLOW_LOCAL_TOOLS autoload opt-in gates or routing through the centralized safe loader that protects the other tools.py autoload paths. As a result, a workflow that includes an attacker-controlled local recipe directory executes arbitrary module-level Python code during include setup, before any child workflow parsing or model call, and the same sink is reachable through the higher-level praisonai.recipe.run() recipe API. An attacker who can cause a victim process to run a workflow or recipe that includes an untrusted local recipe achieves arbitrary Python code execution as the PraisonAI process user, a variant that bypasses the hardening applied to the previously disclosed automatic tools.py RCE advisory family. This issue has been fixed in version 4.6.58 of praisonai and 1.6.58 of praisonaiagents.

📍 영향받는 시스템

praisonai (3.9.26 ~ 4.6.57), praiseonaiagents (0.12.12 ~ 1.6.57)

⚔️ 공격 벡터

신뢰할 수 없는 로컬 레시피 디렉토리를 포함하는 워크플로우나 레시피를 실행하도록 유도하여 임의의 파이썬 코드 실행

🛡️ 대응 방법

praisonai를 4.6.58 이상 버전으로, praiseonaiagents를 1.6.58 이상 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 결과에서 praisonai와 praiseonaiagents의 버전이 취약한 범위에 포함되는지 확인합니다.

Shell / Script
pip list | grep -E 'praisonai|praiseonaiagents'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python