Untrusted Search Path Affecting praisonai package, versions [,4.5.140)


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% (7th 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-15992668
  • published12 Apr 2026
  • disclosed10 Apr 2026
  • creditLAKSHMIKANTHAN K

Introduced: 10 Apr 2026

NewCVE-2026-40287  (opens in a new tab)
CWE-426  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade PraisonAI to version 4.5.140 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 Untrusted Search Path via the import_tools_from_file function. An attacker can execute arbitrary code by placing a malicious tools.py file in the working directory, which is automatically imported and executed by the application components.

CVSS Base Scores

version 4.0
version 3.1