🔍 CVE-2026-40113

8.4
CVSS Score
HIGH
2026-04-09
2026-10-26 22:10
✅ 완료

🇰🇷 한글 설명

PraisonAI 4.5.128 미만 버전에서 deploy.py가 환경 변수를 설정할 때 입력값 검증 없이 쉼표로 구분된 문자열을 생성합니다. 이로 인해 openai_model, openai_key, openai_base 값에 쉼표가 포함될 경우 gcloud 명령어가 이를 새로운 환경 변수로 오인하여 임의의 환경 변수를 주입할 수 있습니다.

💡 쉬운 설명

프로그램이 설정값을 저장할 때 쉼표를 구분자로 사용하는데, 사용자가 입력한 값에 쉼표를 섞어 넣으면 시스템이 이를 다른 명령으로 착각하게 됩니다. 이를 통해 공격자는 서비스에 몰래 악성 설정값을 심을 수 있습니다.

🇺🇸 원문 (English)

PraisonAI is a multi-agent teams system. Prior to 4.5.128, deploy.py constructs a single comma-delimited string for the gcloud run deploy --set-env-vars argument by directly interpolating openai_model, openai_key, and openai_base without validating that these values do not contain commas. gcloud uses a comma as the key-value pair separator for --set-env-vars. A comma in any of the three values causes gcloud to parse the trailing text as additional KEY=VALUE definitions, injecting arbitrary environment variables into the deployed Cloud Run service. This vulnerability is fixed in 4.5.128.

📍 영향받는 시스템

PraisonAI versions prior to 4.5.128

⚔️ 공격 벡터

입력값(openai_model, openai_key, openai_base)에 쉼표(,)를 삽입하여 gcloud 명령어의 인자를 조작하는 환경 변수 주입 공격

🛡️ 대응 방법

PraisonAI를 4.5.128 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 4.5.128 미만이면 취약한 상태입니다.

Shell / Script
pip show praisonai | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Teams