Description
PraisonAI (pip package praisonaiagents) before 1.6.78 automatically loads defaults from a project-local .praisonai/config.toml when constructing an Agent, and does not validate the defaults.output.output_file path. A repository-controlled config file can set output_file to an absolute or '..' traversal path; when the developer subsequently calls agent.start() without explicitly passing an output parameter, PraisonAI writes the agent response to that path (creating parent directories as needed), allowing an untrusted checked-out project to overwrite files outside the project root with the privileges of the user running PraisonAI.
Published: 2026-07-10
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

PraisonAI automatically loads a .praisonai/config.toml file from a repository folder and applies the defaults.output.output_file setting without validation. If that setting contains an absolute path or a '..' traversal sequence, when the developer calls agent.start() without explicitly passing an output parameter, PraisonAI writes the agent response to that location, creating parent directories as needed. The result is that an attacker who can influence the repository‑controlled config file can overwrite arbitrary files on the system with the privileges of the account running PraisonAI. This allows changes to configuration files, scripts, or other critical files that could lead to further compromise or denial of service.

Affected Systems

All installations of the MervinPraison PraisonAI Python package (praisonaiagents) with pip versions earlier than 1.6.78 that load a .praisonai/config.toml inside a project root and run PraisonAI as a user with write permissions to the filesystem are susceptible.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity vulnerability, while the EPSS score is below 1% and it is not listed in the CISA KEV catalog, suggesting a low likelihood of widespread exploitation at present. However, the attack requires the ability to supply or modify a repository‑controlled config file, which can happen in environments that trust third‑party contributors. The vulnerability can lead to arbitrary file overwriting, potentially enabling the deployment of malicious scripts or the alteration of system configuration files if the attacker places an executable there.

Generated by OpenCVE AI on July 29, 2026 at 10:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to PraisonAI 1.6.78 or later where path validation is enforced.
  • If an upgrade is not immediately possible, remove or correct the defaults.output.output_file entry in the .praisonai/config.toml, or explicitly pass a safe output parameter to agent.start() to override the config.
  • Limit the file system permissions of the account that runs PraisonAI, ensuring it cannot write outside of the intended project directory or critical areas.

Generated by OpenCVE AI on July 29, 2026 at 10:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 16:00:00 +0000

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

Fri, 10 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 (pip package praisonaiagents) before 1.6.78 automatically loads defaults from a project-local .praisonai/config.toml when constructing an Agent, and does not validate the defaults.output.output_file path. A repository-controlled config file can set output_file to an absolute or '..' traversal path; when the developer subsequently calls agent.start() without explicitly passing an output parameter, PraisonAI writes the agent response to that path (creating parent directories as needed), allowing an untrusted checked-out project to overwrite files outside the project root with the privileges of the user running PraisonAI.
Title PraisonAI before 1.6.78 Path Traversal via config.toml
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.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

cvssV4_0

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


Subscriptions

Mervinpraison Praisonai
Praison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-10T15:03:45.373Z

Reserved: 2026-07-08T12:14:28.344Z

Link: CVE-2026-60089

cve-icon Vulnrichment

Updated: 2026-07-10T15:03:00.292Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T11:00:13Z

Weaknesses
  • CWE-22

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