Description
PraisonAI versions before 4.6.78 contain a code injection vulnerability in deploy/api.py where the agents_file parameter is directly interpolated into an f-string without sanitization. Attackers can inject arbitrary Python code that executes when the generated server code runs via subprocess.Popen().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MervinPraison | PraisonAI | < 4.6.78 | 4.6.78 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | praisonai | < 4.6.78 | 4.6.78 | GHSA-g6j7-pffp-8whg |
References
- GitHub Security Advisory (GHSA-g6j7-pffp-8whg) vendor-advisory
- VulnCheck Advisory: PraisonAI before 4.6.78 Code Injection via f-string third-party-advisory