Skip to content
OpenAdvisories
Critical · 9.4 CVE-2026-40157 EUVD-2026-21509GHSA-99g3-w8gr-x37cPYSEC-2026-469

PraisonAI affected by arbitrary file write via path traversal in `praisonai recipe unpack`

Published Apr 10, 2026 · Updated Apr 14, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.5.128 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai >= 2.7.2, < 4.5.128 4.5.128 GHSA-99g3-w8gr-x37c

References