PT-2026-57189 · Pypi · Praisonai
CVSS v4.0
6.9
Medium
| Vector | AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
PraisonAI (pip package praisonaiagents) versions prior to 1.6.78
Description
The software automatically loads default settings from a project-local
.praisonai/config.toml file when constructing an Agent but fails to validate the defaults.output.output file path. An attacker can provide a repository-controlled configuration file that sets output file to an absolute path or a path using directory traversal (e.g., ..). When the agent.start() function is called without an explicit output parameter, the agent response is written to the specified path, potentially overwriting files outside the project root with the privileges of the user running the application.Recommendations
Update PraisonAI (pip package praisonaiagents) to version 1.6.78 or later.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Praisonai