CVE-2026-40157

GHSA-99g3-w8gr-x37c · published 10 Apr 2026 · updated 16 Nov 2026

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

9.4CriticalCVSS 9.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PraisonAI 4.5.128 and praisonai 4.5.128.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MervinPraison<4.5.128
pypi: PraisonAI>=2.7.2 <4.5.1284.5.128
pypi: praisonai>=2.7.2 <4.5.1284.5.128

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in praisonai (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40157 severity on Zeptric[![CVE-2026-40157](https://zeptric.io/badge/cve/CVE-2026-40157.svg)](https://zeptric.io/cve/CVE-2026-40157)