PraisonAI contains a critical path traversal vulnerability (CVE-2026-40157) in its recipe unpacking command. The vulnerability arises because the `cmd_unpack` function extracts `.praison` tar archives using Python's `tar.extract()` without validating archive member paths, allowing malicious archives with `../` entries to write files outside the intended directory. This can lead to arbitrary file overwrite on the victim's filesystem. A safe extraction function exists in the codebase but is not used by this command. The vulnerability affects versions >=2.7.2 and <4.5.128 and is fixed in version 4.5.128.