# CVE-2026-40148: PraisonAI Affected by Decompression Bomb DoS via Recipe Bundle Extraction Without Size Limits

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T21:22:20.446Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-f2h6-7xfr-xm8w, PYSEC-2026-2912
- Weaknesses: CWE-409
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. Prior to 4.5.128, the _safe_extractall() function in PraisonAI's recipe registry validates archive members against path traversal attacks but performs no checks on individual member sizes, cumulative extracted size, or member count before calling tar.extractall(). An attacker can publish a malicious recipe bundle containing highly compressible data (e.g., 10GB of zeros compressing to ~10MB) that exhausts the victim's disk when pulled via LocalRegistry.pull() or HttpRegistry.pull(). This vulnerability is fixed in 4.5.128.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.128
- praisonai (PyPI): before 4.5.128
- praison praisonai: before 4.5.128

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-f2h6-7xfr-xm8w> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40148> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.5.128> (web)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-f2h6-7xfr-xm8w> (advisory)

## Sources

- CVE List: [CVE-2026-40148](https://www.cve.org/CVERecord?id=CVE-2026-40148), CVE Terms of Use, modified 2026-04-13
- GitHub Advisory Database: [GHSA-f2h6-7xfr-xm8w](https://github.com/advisories/GHSA-f2h6-7xfr-xm8w), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-40148](https://nvd.nist.gov/vuln/detail/CVE-2026-40148), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2912](https://osv.dev/vulnerability/PYSEC-2026-2912), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-40148 · Whole record: https://cve.day/CVE-2026-40148.json · Rebuilt by cve.day 2026-11-25T22:59:18.457Z
