Path Traversal Vulnerability in PraisonAIAgents Multi-Agent Teams System
CVE-2026-40152
5.3MEDIUM
What is CVE-2026-40152?
The PraisonAIAgents system, designed for multi-agent teams, contains a path traversal vulnerability in the list_files() utility of FileTools. Prior to version 1.5.128, the tool's directory parameter validation process allowed direct passing of user-supplied patterns to the Python Path.glob() function without appropriate checks. This oversight can permit attackers to exploit relative path traversal, thereby gaining access to sensitive metadata of files located outside the designated workspace, including file existence, names, sizes, and timestamps. This significant flaw highlights the importance of validating user inputs adequately to safeguard against potential threats.
Affected Version(s)
PraisonAIAgents < 1.5.128
