CVE-2026-60089 Details
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.
A path traversal vulnerability has been identified in the PraisonAI pip package, specifically in the 'praisonaiagents' module, prior to version 1.6.78. The issue arises because the application automatically loads default settings from a project-local configuration file (.praisonai/config.toml) when an Agent is created. However, it fails to validate the 'output_file' path specified in these defaults. This oversight allows a repository-controlled config file to direct output to an absolute path or a relative path that traverses up the directory structure. Consequently, when the 'agent.start()' method is called without an explicit output parameter, PraisonAI writes the agent's response to the specified path, potentially overwriting files outside the project root. This file operation is performed with the same user privileges as the individual running PraisonAI, thereby enabling an untrusted project to manipulate files beyond the project's boundaries.
Users can update to PraisonAI version 1.6.78 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 10, 2026CISA-ADP
Assessed Jul 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-qjw5-xwrp-xwpq | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/MervinPraison/PraisonAI/commit/3aa9cbc2bd49c23a32be0a89a5e620d13d843eab | [email protected] | Source CodeVendor |
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-qjw5-xwrp-xwpq | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/praisonai-before-path-traversal-via-config-toml | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PraisonAI | <= 1.6.77 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 10, 2026 | CVE Modified | CISA-ADP |
| Jul 10, 2026 | New CVE Received | [email protected] |
Volerion