🇰🇷 한글 설명
PraisonAI의 코드 생성 기능이 기본적으로 인증이 비활성화된 Flask API 서버를 생성하는 취약점입니다. 공격자가 외부에서 인증 없이 /chat 및 /agents 엔드포인트에 접근하여 LLM 오케스트레이션을 실행하고 환경 변수에 포함된 API 키를 탈취할 수 있습니다.
💡 쉬운 설명
프로그램이 자동으로 만들어주는 웹 서버에 비밀번호가 걸려있지 않아 누구나 접속할 수 있는 상태입니다. 이를 통해 해커가 사용자의 중요한 AI 서비스 이용 권한을 훔쳐갈 수 있습니다.
🇺🇸 원문 (English)
PraisonAI is a multi-agent teams system. CVE-2026-44338 (GHSA-6rmh-7xcm-cpxj) documents that PraisonAI ships a code-generator (`praisonai.deploy.api.generate_api_server_code`) that emits a Flask API server with authentication disabled by default. Users who follow the documented quickstart (`praisonai deploy --type api`) get a server that binds to `0.0.0.0` per the recommended sample YAML, exposes `/chat` and `/agents` endpoints, runs `praisonai.run()` on user-supplied JSON input — LLM orchestration with the API key materials present in the process environment, and does not require any authentication. Versions prior to 4.6.40 still ship the generator with `auth_enabled` defaulting to `False`. The fix shape is opt-in via `APIConfig(auth_enabled=True, auth_token=...)`. Version 4.6.40 fixes the issue.
📍 영향받는 시스템
PraisonAI versions prior to 4.6.40
⚔️ 공격 벡터
인증이 없는 API 엔드포인트(/chat, /agents)에 사용자 입력 JSON을 전송하여 원격 코드 실행 및 데이터 탈취
🛡️ 대응 방법
PraisonAI를 4.6.40 버전 이상으로 업데이트하거나, APIConfig 설정에서 auth_enabled를 True로 명시적 설정
🔧 검증 코드
출력된 버전이 4.6.40 미만이면 취약한 버전이 설치되어 있는 것입니다.
pip show praisonai | grep Version