PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks
cve-program · CVE-2026-55540
PublishedPraisonAI 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-55540 · CVE overview and exploitation status
cve-program · CVE-2026-55540
Related changes
Linked by CVE identifierNo related changes are available here.