Vulnerability · Published Aug 25, 2026 · Assigned by GitHub_M

CVE-2026-55540PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks

High 7.1

In plain English

A high-severity path traversal in PraisonAI from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.4%top 66.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonai4.6.58GHSA-ch89-h4r2-c8f8
PyPIpraisonai4.6.58PYSEC-2026-3888

Affected products (as reported)

VendorProductVersions
MervinPraison PraisonAI < 4.6.58

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

References