PT-2026-57192 · Praisonai · Praisonai
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
PraisonAI (praisonaiagents) versions prior to 1.6.78
Description
A path traversal issue exists in the FastContext feature (praisonaiagents.context.fast). The
execute tool() function in FastContextAgent only prepends the configured workspace path for relative paths and fails to reject absolute paths or canonicalize joined paths before enforcing workspace containment. This allows tool arguments or model-generated function calls to grep search(), glob search(), read file(), or list directory() to use absolute paths or ../ sequences. Consequently, an attacker can read, search, and enumerate files outside the intended workspace directory, leading to file contents being returned to the caller or injected into the model's tool-result context.Recommendations
Update PraisonAI (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