Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-40148 EUVD-2026-21166GHSA-f2h6-7xfr-xm8wPYSEC-2026-2912

PraisonAI Affected by Decompression Bomb DoS via Recipe Bundle Extraction Without Size Limits

Published Apr 9, 2026 · Updated Apr 13, 2026 · 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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI < 4.5.128 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai < 4.5.128 4.5.128 GHSA-f2h6-7xfr-xm8w

References