Skip to content
OpenAdvisories
High · 7.1 CVE-2026-55540 EUVD-2026-65512GHSA-ch89-h4r2-c8f8PYSEC-2026-3888

PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks

Published Aug 25, 2026 · Updated Aug 27, 2026 · Assigned by GitHub_M

Description

PraisonAI is a multi-agent teams system. Prior to praisonai 4.6.51, is_path_within_directory() uses os.path.abspath() rather than os.path.realpath() for the workspace boundary. A symlink inside workspace can point outside and still pass the check, allowing read_file and other code tools to access files outside the configured workspace. This issue is fixed in version 4.6.58.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.6.58 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.6.58 4.6.58 GHSA-ch89-h4r2-c8f8

References