Command Injection Affecting praisonai package, versions [,4.5.96)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PRAISONAI-15915613
  • published6 Apr 2026
  • disclosed1 Apr 2026
  • creditYeran Gamage

Introduced: 1 Apr 2026

NewCVE-2026-34955  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade PraisonAI to version 4.5.96 or higher.

Overview

PraisonAI is a PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.

Affected versions of this package are vulnerable to Command Injection in the SubprocessSandbox module due to the use of shell=True in subprocess.run() combined with an incomplete blocklist that does not prevent execution of sh or bash. An attacker can execute arbitrary system commands by bypassing the blocklist using shell invocation techniques.

Note: This is only exploitable if the sandbox is configured in STRICT mode and untrusted input is passed to the sandbox execution process.

CVSS Base Scores

version 4.0
version 3.1