What’s Vulnerable › Vulnerabilities
CVE-2026-40157: PraisonAI affected by arbitrary file write via path traversal in `praisonai recipe unpack`
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-10 · updated 2026-10-26
- Weakness: CWE-22
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.
Affected products
- MervinPraison PraisonAI: before 4.5.128 — fixed in 4.5.128
How to fix
Upgrade to a fixed version: MervinPraison PraisonAI 4.5.128. Check the vendor advisory for mitigations.
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-99g3-w8gr-x37c
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-99g3-w8gr-x37c
Get alerted when CVE-2026-40157 or the next vulnerability affects your stack