Description
PraisonAI is a multi-agent teams system. Prior to 1.5.113, _validate_path() calls os.path.normpath() first, which collapses .. sequences, then checks for '..' in normalized. Since .. is already collapsed, the check always passes. This makes the check completely useless and allows trivial path traversal to any file on the system. This vulnerability is fixed in 1.5.113.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
References
github.com/...isonAI/security/advisories/GHSA-693f-pf34-72c5
github.com/...isonAI/security/advisories/GHSA-693f-pf34-72c5
github.com/MervinPraison/PraisonAI/releases/tag/v4.5.113