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.
Published: 2026-08-25
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Read
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Thu, 27 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 25 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai

Tue, 25 Aug 2026 15:15:00 +0000

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'}


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-27T15:19:10.382Z

Reserved: 2026-06-16T23:01:04.074Z

Link: CVE-2026-55540

cve-icon Vulnrichment

Updated: 2026-08-27T15:19:04.067Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T15:16:34.740

Modified: 2026-09-09T21:07:31.353

Link: CVE-2026-55540

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T16:45:04Z

Weaknesses
  • CWE-22

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