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.
Cite this page
CVE-2026-40157. CVEDatabase.com. Retrieved 1 May 2026. https://cvedatabase.com/cve/CVE-2026-40157
Use CWE-22, Praison vendor hub and Praisonai product page to widen CVE-2026-40157 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2026-40288, CVE-2026-40154 and CVE-2026-40313 for nearby disclosures in the same product family.