CVE-2026-62176 PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation
CriticalCVSS 9.1
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
PraisonAI is a multi-agent teams system. Prior to version 4.6.78, the deploy/api.py module generates Python server code by directly interpolating the agents_file parameter into an f-string that is then written to a file and executed via subprocess.Popen(). An attacker who controls the agents_file value (via CLI argument, configuration, or upstream API) can inject arbitrary Python code. Version 4.6.78 patches the issue.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi praisonai(PyPI) | <= 4.6.77 | after 4.6.77 | Fixed |
| MervinPraison PraisonAI | = < 4.6.78 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MervinPraison PraisonAI | = < 4.6.78 | No fix listed |
| pypi praisonai(PyPI) | <= 4.6.77 | No fix listed |
References
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg exploit vendor-advisory
- github.com
- ENISA EUVD EUVD-2026-94521 third-party-advisory