Description
PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.58, the FileMemory constructor joins unsanitized user_id into self.user_path. A caller supplying ../ or path separators can escape the memory directory and write JSON data to arbitrary process-writable locations. The fix sanitizes user_id before constructing self.user_path. This issue is fixed in version 1.6.58.
Published: 2026-08-25
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write
Action: Immediate Patch
AI Analysis

Impact

PraisonAI’s FileMemory constructor concatenates an unsanitized user_id to build a file path. An attacker who can supply a crafted user_id containing directory traversal characters can cause the application to write JSON data to any location that the process can write to, thereby creating or overwriting arbitrary files. This vulnerability is a path traversal flaw (CWE-22) combined with an unsanitized input leading to arbitrary file write (CWE-73). The potential impact includes data integrity loss, code execution if executable files are written, or secret data disclosure if sensitive files are overwritten or created.

Affected Systems

The issue affects versions of PraisonAI prior to 1.6.58. The product is provided by MervinPraison. It has been fixed in release 1.6.58 and later versions.

Risk and Exploitability

The CVSS score of 7.1 indicates a lower‑to‑moderate severity risk. No EPSS score is available, so the likelihood of exploitation is uncertain, but the flaw allows direct manipulation of the file system without authentication. Because the process running PraisonAI has write permissions in various directories, an attacker with application access can place arbitrary files. This vulnerability is not listed in the CISA KEV catalog, suggesting that no known widespread exploitation has been reported yet.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to 1.6.58 or newer, which sanitizes the user_id before path construction.
  • If an upgrade cannot be performed immediately, restrict file system permissions so that only the PraisonAI process can write to its memory directory, preventing it from writing to system‑wide locations.
  • Implement monitoring for unintended file creation or modification in the directories used by PraisonAI to detect potential abuse.

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

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gxmw-5f7x-6g22 praisonaiagents vulnerable to arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location
History

Tue, 25 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, '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 praisonaiagents 1.6.58, the FileMemory constructor joins unsanitized user_id into self.user_path. A caller supplying ../ or path separators can escape the memory directory and write JSON data to arbitrary process-writable locations. The fix sanitizes user_id before constructing self.user_path. This issue is fixed in version 1.6.58.
Title PraisonAI: Arbitrary file write via unsanitized `user_id` in `FileMemory.__init__()` — path traversal to any writable location
Weaknesses CWE-22
CWE-73
References
Metrics cvssV3_1

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


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-25T19:21:08.622Z

Reserved: 2026-06-16T22:44:22.285Z

Link: CVE-2026-55527

cve-icon Vulnrichment

Updated: 2026-08-25T18:33:31.975Z

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-55527

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

  • CWE-73

    External Control of File Name or Path