CVE-2026-40157: 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.5.128, cmd_unpack in the recipe CLI extracts .praison tar archives using raw tar.extract() without validating archive member paths. A .praison bundle containing ../../ entries will write files outside the intended output directory. An attacker who distributes a malicious bundle can overwrite arbitrary files on the victim's filesystem when they run praisonai recipe unpack. This vulnerability is fixed in 4.5.128.
AI Analysis
Technical Summary
PraisonAI, a multi-agent teams system by MervinPraison, contains a path traversal vulnerability (CWE-22) in versions before 4.5.128. The vulnerability is due to the cmd_unpack function using raw tar.extract() without validating paths in .praison tar archives. Maliciously crafted bundles containing directory traversal sequences can cause files to be written outside the intended extraction directory, enabling arbitrary file overwrite. This can be exploited by an attacker distributing a malicious bundle that a victim unpacks using the recipe CLI. The vulnerability has a CVSS 4.0 score of 9.4, indicating critical severity. The issue is resolved in version 4.5.128.
Potential Impact
An attacker who distributes a malicious .praison bundle can cause arbitrary files on the victim's filesystem to be overwritten when the victim runs the praisonai recipe unpack command. This can lead to significant system compromise depending on which files are overwritten. The vulnerability requires no privileges and no user interaction beyond running the unpack command on a crafted bundle. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 4.5.128. Users should upgrade to version 4.5.128 or later to remediate this issue. Since no official patch link or advisory is provided, verify the upgrade availability with the vendor. Until upgraded, avoid unpacking untrusted .praison bundles to prevent exploitation.
CVE-2026-40157: 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.5.128, cmd_unpack in the recipe CLI extracts .praison tar archives using raw tar.extract() without validating archive member paths. A .praison bundle containing ../../ entries will write files outside the intended output directory. An attacker who distributes a malicious bundle can overwrite arbitrary files on the victim's filesystem when they run praisonai recipe unpack. This vulnerability is fixed in 4.5.128.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
PraisonAI, a multi-agent teams system by MervinPraison, contains a path traversal vulnerability (CWE-22) in versions before 4.5.128. The vulnerability is due to the cmd_unpack function using raw tar.extract() without validating paths in .praison tar archives. Maliciously crafted bundles containing directory traversal sequences can cause files to be written outside the intended extraction directory, enabling arbitrary file overwrite. This can be exploited by an attacker distributing a malicious bundle that a victim unpacks using the recipe CLI. The vulnerability has a CVSS 4.0 score of 9.4, indicating critical severity. The issue is resolved in version 4.5.128.
Potential Impact
An attacker who distributes a malicious .praison bundle can cause arbitrary files on the victim's filesystem to be overwritten when the victim runs the praisonai recipe unpack command. This can lead to significant system compromise depending on which files are overwritten. The vulnerability requires no privileges and no user interaction beyond running the unpack command on a crafted bundle. There are no known exploits in the wild at this time.
Mitigation Recommendations
This vulnerability is fixed in PraisonAI version 4.5.128. Users should upgrade to version 4.5.128 or later to remediate this issue. Since no official patch link or advisory is provided, verify the upgrade availability with the vendor. Until upgraded, avoid unpacking untrusted .praison bundles to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T19:31:56.014Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d9d9751cc7ad14da3f871a
Added to database: 4/11/2026, 5:17:41 AM
Last enriched: 4/18/2026, 2:23:38 PM
Last updated: 5/26/2026, 1:40:14 PM
Views: 124
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.