Protection Mechanism Failure Affecting praisonai package, versions [,4.6.40)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.12% (31st 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 IDSNYK-PYTHON-PRAISONAI-17139465
  • published3 Jun 2026
  • disclosed29 May 2026
  • creditq1uf3ng

Introduced: 29 May 2026

NewCVE-2026-47392  (opens in a new tab)
CWE-184  (opens in a new tab)
CWE-693  (opens in a new tab)

How to fix?

Upgrade PraisonAI to version 4.6.40 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 Protection Mechanism Failure in the execute_code() function. An attacker can achieve arbitrary command execution on the host system by leveraging access to print.__self__ to retrieve the real builtins module, extracting sensitive functions such as __import__ through dynamic attribute access and runtime string construction, and bypassing AST-based security checks. This allows reading and writing files, exfiltrating environment variables, and executing further malicious actions.

CVSS Base Scores

version 4.0
version 3.1