Description
PraisonAI (praisonaiagents) before 1.6.78 contains a path traversal vulnerability in the FastContext feature (praisonaiagents.context.fast). FastContextAgent.execute_tool() prepends the configured workspace_path only for relative paths and neither rejects absolute paths nor canonicalizes joined paths before enforcing workspace containment. As a result, tool arguments or model-generated function calls to grep_search, glob_search, read_file, or list_directory can supply absolute paths or '../' traversal sequences to read, search, and enumerate files outside the intended workspace directory, with file contents returned to the caller or injected into the model's tool-result context.
Published: 2026-07-10
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PraisonAI FastContext before version 1.6.78 contains a path traversal flaw that occurs when the execute_tool operation prepends the configured workspace path only for relative paths and does not reject absolute paths or canonicalize joined paths before verifying workspace containment. As a result, tool arguments or model-generated function calls to GREP_SEARCH, GLOB_SEARCH, READ_FILE, or LIST_DIRECTORY can supply absolute enabling an attacker to read, search, and list files outside the intended workspace directory. The data from the remote file is then returned to the caller or injected into the model’s tool‑result context, giving the view of the file system. This weakness is a classic example of CWE‑22, whereby an attacker may compromise confidentiality of local files within the application environment.

Affected Systems

The affected product is MervinPraison PraionAI, specifically the PraisonAI FastContext feature within the praisonaiagents package. Versions prior to 1.6.78 are impacted; the vulnerability is later releases.

Risk and Exploitability

The vulnerability has a CVSS score of 6.9, indicating moderate severity. The EPSS score of <1% suggests a low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, as an attacker could trigger the flaw by supplying crafted tool arguments or model‑generated function calls via an exposed API or external model communication interface. If the environment grants the application sufficient privileges, reads of sensitive files could provide valuable information or aid further exploitation.

Generated by OpenCVE AI on July 26, 2026 at 13:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 1.6.78 or later to apply the vendor’s fix.
  • If an upgrade is not immediately possible, configure FastContext to reject absolute paths and enforce canonicalization of any path before checking workspace containment.
  • Disable or restrict the vulnerable built‑in tools (grep_search, glob_search, read_file, list_directory) or replace them with validated alternatives that validate path input.

Generated by OpenCVE AI on July 26, 2026 at 13:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 11 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 10 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description PraisonAI (praisonaiagents) before 1.6.78 contains a path traversal vulnerability in the FastContext feature (praisonaiagents.context.fast). FastContextAgent.execute_tool() prepends the configured workspace_path only for relative paths and neither rejects absolute paths nor canonicalizes joined paths before enforcing workspace containment. As a result, tool arguments or model-generated function calls to grep_search, glob_search, read_file, or list_directory can supply absolute paths or '../' traversal sequences to read, search, and enumerate files outside the intended workspace directory, with file contents returned to the caller or injected into the model's tool-result context.
Title PraisonAI FastContext before 1.6.78 Path Traversal
First Time appeared Praison
Praison praisonai
Weaknesses CWE-22
CPEs cpe:2.3:a:praison:praisonai:*:*:*:*:*:*:*:*
Vendors & Products Praison
Praison praisonai
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Praison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-10T14:51:23.323Z

Reserved: 2026-07-09T14:05:21.471Z

Link: CVE-2026-61432

cve-icon Vulnrichment

Updated: 2026-07-10T14:51:11.673Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T13:45:03Z

Weaknesses
  • CWE-22

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