{"cve":"CVE-2026-40157","nvd":{"published":"2026-04-10T17:17:13.457","modified":"2026-10-26T00:10:00.150","status":"Analyzed","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.","cvss_v4":{"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","score":9.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-22"],"references":["https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-99g3-w8gr-x37c","https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-99g3-w8gr-x37c"],"products":["praison:praisonai"],"source":"nvd","synced_at":"2026-10-26T00:31:35.753532240+00:00"},"epss":{"cve":"CVE-2026-40157","score":0.00379,"percentile":0.31548,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-99g3-w8gr-x37c","url":"https://osv.dev/vulnerability/GHSA-99g3-w8gr-x37c","summary":"PraisonAI vulnerable to arbitrary file write via path traversal in `praisonai recipe unpack`","modified":"2026-06-29T12:26:41.048958587Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":[">=2.7.2 <4.5.128"],"fixed":["4.5.128"]}]},{"id":"PYSEC-2026-469","url":"https://osv.dev/vulnerability/PYSEC-2026-469","summary":"PraisonAI vulnerable to arbitrary file write via path traversal in `praisonai recipe unpack`","modified":"2026-07-01T20:23:01.409431Z","packages":[{"ecosystem":"PyPI","name":"praisonai","purl":"pkg:pypi/praisonai","ranges":[">=2.7.2 <4.5.128"],"fixed":["4.5.128"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}