CVE-2026-56839: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
PraisonAI is a multi-agent teams system. Prior to 4.6.59, the CODE_TOOLS wrappers keep _workspace_root as None and pass workspace=None to read_file, search_replace, and apply_diff helpers that enforce path containment only for a truthy workspace. An application that exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace can therefore let prompt-influenced calls read and modify files outside the intended project directory, while explicitly configured workspaces remain effective. This vulnerability is fixed in 4.6.59.
AI Analysis
Technical Summary
PraisonAI is a multi-agent teams system. Before version 4.6.59, the CODE_TOOLS wrappers keep the _workspace_root variable as None and pass workspace=None to helper functions such as read_file, search_replace, and apply_diff. These helpers enforce path containment only when the workspace parameter is truthy. If an application exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace is called, it can allow prompt-influenced calls to read and modify files outside the intended project directory. This path traversal vulnerability allows unauthorized file access and modification. The issue is resolved in version 4.6.59.
Potential Impact
An attacker with limited privileges (PR:L) and user interaction (UI:R) can exploit this vulnerability to read and modify files outside the intended project directory, potentially leading to unauthorized disclosure and modification of sensitive files. The vulnerability does not impact availability. The CVSS 3.1 base score is 7.3 (High), reflecting high confidentiality and integrity impact with network attack vector and low attack complexity.
Mitigation Recommendations
Upgrade PraisonAI to version 4.6.59 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Since this is not a cloud service, remediation depends on applying the official fix.
CVE-2026-56839: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
Description
PraisonAI is a multi-agent teams system. Prior to 4.6.59, the CODE_TOOLS wrappers keep _workspace_root as None and pass workspace=None to read_file, search_replace, and apply_diff helpers that enforce path containment only for a truthy workspace. An application that exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace can therefore let prompt-influenced calls read and modify files outside the intended project directory, while explicitly configured workspaces remain effective. This vulnerability is fixed in 4.6.59.
CVSS v3.1
Score 7.3high
Affected software
MervinPraison
PraisonAI
pkg:github/mervinpraison/PraisonAIRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI is a multi-agent teams system. Before version 4.6.59, the CODE_TOOLS wrappers keep the _workspace_root variable as None and pass workspace=None to helper functions such as read_file, search_replace, and apply_diff. These helpers enforce path containment only when the workspace parameter is truthy. If an application exposes code_read_file, code_search_replace, or code_apply_diff before set_workspace is called, it can allow prompt-influenced calls to read and modify files outside the intended project directory. This path traversal vulnerability allows unauthorized file access and modification. The issue is resolved in version 4.6.59.
Potential Impact
An attacker with limited privileges (PR:L) and user interaction (UI:R) can exploit this vulnerability to read and modify files outside the intended project directory, potentially leading to unauthorized disclosure and modification of sensitive files. The vulnerability does not impact availability. The CVSS 3.1 base score is 7.3 (High), reflecting high confidentiality and integrity impact with network attack vector and low attack complexity.
Mitigation Recommendations
Upgrade PraisonAI to version 4.6.59 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated. Since this is not a cloud service, remediation depends on applying the official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-23T14:55:09.118Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa80fff55bf5e2cf53beb19
Added to database: 09/14/2026, 15:17:19 UTC
Last enriched: 09/14/2026, 15:32:00 UTC
Last updated: 09/15/2026, 03:19:08 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.