CVE-2026-40157CWE-22

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

Critical · published April 10, 2026

CVSS v4.0
9.4
EPSS
1%
Percentile
43.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.4 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS
0.00527 · 43.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-10T16:47Z
EPSS history
Timeline
  • 10 APR 16:47Z
    PraisonAI affected by arbitrary file write via path traversal in `praisonai recipe unpack`
    cvelistv5