CVE-2026-47397: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
CVE-2026-47397 is a path traversal vulnerability in MervinPraison PraisonAI, a multi-agent teams system. Versions prior to 4.6.40 allow attacker-controlled content to be written to arbitrary file system paths due to improper pathname validation when the workspace parameter is None. This issue is fixed in version 4.6.40. The vulnerability has a high severity with a CVSS score of 7.1.
AI Analysis
Technical Summary
PraisonAI versions before 4.6.40 contain a path traversal vulnerability (CWE-22) where hidden metadata in a webpage can cause PraisonAI agents to write attacker-controlled content to arbitrary file paths. The root cause is that the write_file function skips path validation when the workspace parameter is None, which is always the case in production environments. This allows an attacker with limited privileges to write files outside intended directories. The issue is resolved in version 4.6.40.
Potential Impact
An attacker can exploit this vulnerability to write files to arbitrary locations on the file system, potentially leading to unauthorized file modification or code execution depending on the environment and usage. The vulnerability requires low attack complexity and no user interaction, but does require some privileges. The impact is rated high due to the ability to write arbitrary files.
Mitigation Recommendations
Upgrade PraisonAI to version 4.6.40 or later, where the path traversal issue is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the description states version 4.6.40 fixes the issue, so applying this update is the recommended mitigation.
CVE-2026-47397: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in MervinPraison PraisonAI
Description
CVE-2026-47397 is a path traversal vulnerability in MervinPraison PraisonAI, a multi-agent teams system. Versions prior to 4.6.40 allow attacker-controlled content to be written to arbitrary file system paths due to improper pathname validation when the workspace parameter is None. This issue is fixed in version 4.6.40. The vulnerability has a high severity with a CVSS score of 7.1.
CVSS v4.0
Score 7.1high
Affected software
pkg:github/mervinpraison/PraisonAIRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI versions before 4.6.40 contain a path traversal vulnerability (CWE-22) where hidden metadata in a webpage can cause PraisonAI agents to write attacker-controlled content to arbitrary file paths. The root cause is that the write_file function skips path validation when the workspace parameter is None, which is always the case in production environments. This allows an attacker with limited privileges to write files outside intended directories. The issue is resolved in version 4.6.40.
Potential Impact
An attacker can exploit this vulnerability to write files to arbitrary locations on the file system, potentially leading to unauthorized file modification or code execution depending on the environment and usage. The vulnerability requires low attack complexity and no user interaction, but does require some privileges. The impact is rated high due to the ability to write arbitrary files.
Mitigation Recommendations
Upgrade PraisonAI to version 4.6.40 or later, where the path traversal issue is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the description states version 4.6.40 fixes the issue, so applying this update is the recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T19:22:45.729Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5fa1722a4a8d59896d3428
Added to database: 07/21/2026, 16:42:26 UTC
Last enriched: 07/30/2026, 05:16:34 UTC
Last updated: 09/03/2026, 02:24:10 UTC
Views: 60
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.