CVE-2026-55540

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

Published Aug 25, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

PraisonAI allows creation of symlinks within its configured workspace that circumvent the intended boundary check. The is_path_within_directory function uses os.path.abspath rather than os.path.realpath, so a symlink that points outside the workspace still passes verification. As a result, the read_file and other code tools can fetch data from files located beyond the workspace, exposing confidential information or system configuration files. This flaw is a path traversal vulnerability, identified as CWE‑22, and is fixed in version 4.6.58.

Affected Systems

MervinPraison's PraisonAI using the application prior to version 4.6.58 is susceptible. Versions up to and including 4.6.57 retain the vulnerable path check. The fix was included in the 4.6.58 release.

Risk and Exploitability

The CVSS score of 7.1 denotes a high risk attack, and no exploitation probability is available. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to create a symlink inside the workspace which can be achieved by a local user or an adversary who can influence agent tool input. Once a malicious symlink is in place, read_file operations can retrieve arbitrary files outside the intended directory. While the flaw affects confidentiality primarily, it can also allow privilege escalation if the accessed files contain credentials or configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.58 or later, ensuring the path check uses os.path.realpath.
  • If an upgrade cannot be performed immediately, restrict write permissions for the workspace to users who should not create symlinks, preventing malicious link placement.
  • Employ operating‑system controls such as mounting the workspace directory with the no_symlinks option or disabling symlink creation for non‑privileged users to block exploitation.

Generated by OpenCVE AI on August 25, 2026 at 16:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-ch89-h4r2-c8f8 PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai
Type Values Removed Values Added
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.
Title PraisonAI: [Path Traversal] agent tools escape the configured workspace via symlinks
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 27, 2026, 3:19 PM
Reserved
Jun 16, 2026, 11:01 PM
Status
Deferred
Published
Aug 25, 2026, 3:16 PM
Modified
Sep 9, 2026, 9:07 PM