Unsafe Dependency Resolution Affecting praisonai package, versions [,4.6.38)


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.1% (28th 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-17283293
  • published10 Jun 2026
  • disclosed29 May 2026
  • creditSnailSploit | Kai Aizen

Introduced: 29 May 2026

NewCVE-2026-47398  (opens in a new tab)
CWE-829  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade PraisonAI to version 4.6.38 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 Unsafe Dependency Resolution in the load_tools_from_module and load_tools_from_module_class functions, which accept a module_path parameter from YAML configuration and execute it using spec.loader.exec_module without validation or gating. An attacker can execute arbitrary code with the privileges of the running process by supplying a crafted module path via a writable configuration directory, remote recipe fetch, or prompt injection.

Note: This is only exploitable if an attacker can control the YAML configuration or place a malicious Python file accessible to the process.

CVSS Base Scores

version 4.0
version 3.1