CVE-2026-60089: PraisonAI before 1.6.78 Path Traversal via config.toml
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.outputfile path. A repository-controlled config file can set outputfile 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
praisonaiagents (PraisonAI)to a version that resolves this vulnerability.Fixed in 1.6.78 - Configuration
In any project-local .praisonai/config.toml used to construct an Agent, set defaults.output.output_file (or output_file) to a safe path inside the project root; do not use absolute paths or paths containing '..' traversal, since PraisonAI before 1.6.78 does not validate this value.
PraisonAI project-local config (.praisonai/config.toml) defaults.output.output_file / output_file = (no absolute paths or '..' traversal)
Event History
Frequently Asked Questions
What is the severity of CVE-2026-60089?
The severity of CVE-2026-60089 is medium with a CVSS score of 6.9.
How do I fix CVE-2026-60089?
To fix CVE-2026-60089, upgrade PraisonAI to version 1.6.78 or later.
What type of vulnerability is CVE-2026-60089?
CVE-2026-60089 is a Path Traversal vulnerability.
What is affected by CVE-2026-60089?
CVE-2026-60089 affects the PraisonAI pip package, specifically versions before 1.6.78.
What could an attacker achieve through CVE-2026-60089?
An attacker could exploit CVE-2026-60089 to manipulate the output file path in a repository-controlled config file.