CVE-2026-44340: 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 version 4.6.37, the _safe_extractall helper that all recipe pull, recipe publish, and recipe unpack flows route through validates each archive member's name for absolute paths, .. segments, and resolved-path escape — but does not validate member.linkname, does not reject symlink/hardlink members, and calls tar.extractall(dest_dir) without filter="data". A bundle that contains a symlink with a name inside dest_dir but a linkname pointing outside it, followed by a regular file whose path traverses through the just-created symlink, escapes dest_dir and lets the attacker write arbitrary content to an attacker-chosen location on the victim's filesystem. This issue has been patched in version 4.6.37.
AI Analysis
Technical Summary
PraisonAI, a multi-agent teams system, contains a path traversal vulnerability (CWE-22) due to improper validation of symlink and hardlink members during archive extraction in versions before 4.6.37. The _safe_extractall helper validates archive member names for absolute paths and '..' segments but fails to validate member.linkname and does not reject symlink/hardlink members. It calls tar.extractall(dest_dir) without a filter, allowing crafted bundles with symlinks pointing outside dest_dir to enable writing arbitrary files outside the intended directory. This vulnerability is addressed in version 4.6.37.
Potential Impact
An attacker can exploit this vulnerability to write arbitrary files to locations outside the intended extraction directory on the victim's filesystem. This can lead to unauthorized file modification or creation, potentially compromising system integrity or enabling further attacks. The CVSS 4.0 score is 8.7 (high severity), indicating a significant risk if exploited. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 4.6.37. Users should upgrade to version 4.6.37 or later to remediate this issue. No other mitigation or temporary workaround is indicated in the vendor data.
CVE-2026-44340: 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 version 4.6.37, the _safe_extractall helper that all recipe pull, recipe publish, and recipe unpack flows route through validates each archive member's name for absolute paths, .. segments, and resolved-path escape — but does not validate member.linkname, does not reject symlink/hardlink members, and calls tar.extractall(dest_dir) without filter="data". A bundle that contains a symlink with a name inside dest_dir but a linkname pointing outside it, followed by a regular file whose path traverses through the just-created symlink, escapes dest_dir and lets the attacker write arbitrary content to an attacker-chosen location on the victim's filesystem. This issue has been patched in version 4.6.37.
CVSS v4.0
Score 8.7high
Affected software
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, a multi-agent teams system, contains a path traversal vulnerability (CWE-22) due to improper validation of symlink and hardlink members during archive extraction in versions before 4.6.37. The _safe_extractall helper validates archive member names for absolute paths and '..' segments but fails to validate member.linkname and does not reject symlink/hardlink members. It calls tar.extractall(dest_dir) without a filter, allowing crafted bundles with symlinks pointing outside dest_dir to enable writing arbitrary files outside the intended directory. This vulnerability is addressed in version 4.6.37.
Potential Impact
An attacker can exploit this vulnerability to write arbitrary files to locations outside the intended extraction directory on the victim's filesystem. This can lead to unauthorized file modification or creation, potentially compromising system integrity or enabling further attacks. The CVSS 4.0 score is 8.7 (high severity), indicating a significant risk if exploited. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 4.6.37. Users should upgrade to version 4.6.37 or later to remediate this issue. No other mitigation or temporary workaround is indicated in the vendor data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-05T19:52:59.147Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fdede9cbff5d8610dd28de
Added to database: 05/08/2026, 14:06:33 UTC
Last enriched: 05/08/2026, 14:21:20 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 105
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.
External Links
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.