Description
PraisonAI is a multi-agent teams system. From version 3.8.1 to before version 4.6.59, PraisonAI's Dynamic Context module provides filesystem-backed history and terminal-log storage. The module also exports agent-callable tool factories. Those tools accept run_id and agent_id arguments from the tool caller. The underlying stores join those values into filesystem paths without rejecting absolute paths or .. traversal. Because run_id can be an absolute path and agent_id can contain traversal, a lower-trust prompt/user that can call these tools can read .jsonl and .log files outside the configured Dynamic Context base directory. This issue has been patched in version 4.6.59.
Published: 2026-10-23
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Arbitrary file disclosure
Action: Patch Immediately
AI Analysis

Impact

PraisonAI’s Dynamic Context module concatenates user-controlled run_id and agent_id values into filesystem paths without sanitization. This allows an attacker who can invoke the exposed tool factories to read files outside the intended storage directory, including sensitive .jsonl and .log files. The compromise leads to information disclosure and potential further exploitation once trusted data is accessed.

Affected Systems

The vulnerability exists in PraisonAI versions 3.8.1 through 4.6.58. The fix is available in version 4.6.59 and later.

Risk and Exploitability

The CVSS score of 7.5 indicates a moderate-to-high risk. No EPSS data are provided, and the vulnerability is not listed in CISA KEV, suggesting it may not be actively exploited yet. An attacker can achieve local file read via the tool interface if they can supply crafted run_id or agent_id values, which is likely through a lower-trust prompt or user input. The path‑traversal flaw enables read access beyond the configured base directory, providing access to potentially privileged data.

Generated by OpenCVE AI on October 23, 2026 at 14:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to version 4.6.59 or later to apply the path traversal fix.
  • Restrict usage of the Dynamic Context tool factories so that only trusted users or high‑trust prompts can invoke them.
  • Sandbox the application or enforce strict filesystem permissions (e.g., chroot or container isolation) to prevent file operations outside the designated base directory.

Generated by OpenCVE AI on October 23, 2026 at 14:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-22cj-m4wf-fv2c PraisonAI Dynamic Context history and terminal tools read files outside configured storage via path traversal
History

Fri, 23 Oct 2026 14:30:00 +0000

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

Fri, 23 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. From version 3.8.1 to before version 4.6.59, PraisonAI's Dynamic Context module provides filesystem-backed history and terminal-log storage. The module also exports agent-callable tool factories. Those tools accept run_id and agent_id arguments from the tool caller. The underlying stores join those values into filesystem paths without rejecting absolute paths or .. traversal. Because run_id can be an absolute path and agent_id can contain traversal, a lower-trust prompt/user that can call these tools can read .jsonl and .log files outside the configured Dynamic Context base directory. This issue has been patched in version 4.6.59.
Title PraisonAI Dynamic Context history and terminal tools read files outside configured storage via path traversal
Weaknesses CWE-200
CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T11:56:09.502Z

Reserved: 2026-06-23T14:55:09.117Z

Link: CVE-2026-56833

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-23T12:18:14.600

Modified: 2026-10-23T12:18:14.717

Link: CVE-2026-56833

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:15:07Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

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