CVE-2026-57129

PraisonAI: Arbitrary File Read via `@file:` Mention Path Traversal

Published Sep 14, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, MentionsParser._process_file_mention accepts file-mention values and falls back from workspace-relative resolution to Path(file_path) without traversal, symlink, or workspace-boundary validation. Prompt input from users, bots, or workflows can therefore read arbitrary files accessible to the process, including credentials, keys, environment files, source code, and system configuration. This issue is fixed in praisonaiagents 1.6.59.

Analysis

AI-generated

Technical impact

PraisonAI's MentionsParser._process_file_mention accepts file‑mention values and falls back from a workspace‑relative resolution to Path(file_path) without any traversal, symlink, or workspace‑boundary validation. In versions prior to 1.6.59, this allowed an attacker who could supply a mention through a user prompt, bot request, or workflow to read arbitrary files the process can access, such as credentials, keys, environment files, source code, and system configuration. This vulnerability was fixed in praisonaiagents 1.6.59, but earlier releases remain at risk. The flaw corresponds to a Path Traversal vulnerability (CWE‑22).

Affected Systems

The vulnerability affects all instances of MervinPraison praisonaiagents older than version 1.6.59. Clients running praisonaiagents before the 1.6.59 release are susceptible; newer releases contain the fix that validates file paths correctly.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity vulnerability, while the EPSS score of <1% suggests a low probability of exploitation. The lack of a KEV listing points to limited evidence of widespread use. An attacker who can supply input to the MentionsParser—such as a user, bot, or workflow—can read arbitrary files, potentially leading to further compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MervinPraison praisonaiagents to version 1.6.59 or later
  • Disable or restrict the use of the @file: mention syntax in prompts and workflows
  • Implement file access controls or sandboxing to limit the process’s filesystem visibility

Generated by OpenCVE AI on September 21, 2026 at 00:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2rcg-mm5h-xchx PraisonAI: Arbitrary File Read via `@file:` Mention Path Traversal
History
Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonaiagents
Vendors & Products Mervinpraison
Mervinpraison praisonaiagents
Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, MentionsParser._process_file_mention accepts file-mention values and falls back from workspace-relative resolution to Path(file_path) without traversal, symlink, or workspace-boundary validation. Prompt input from users, bots, or workflows can therefore read arbitrary files accessible to the process, including credentials, keys, environment files, source code, and system configuration. This issue is fixed in praisonaiagents 1.6.59.
Title PraisonAI: Arbitrary File Read via `@file:` Mention Path Traversal
Weaknesses 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'}

ssvc

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

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 14, 2026, 3:19 PM
Reserved
Jun 24, 2026, 12:33 AM
Status
Deferred
Published
Sep 14, 2026, 3:17 PM
Modified
Sep 30, 2026, 7:57 PM