CVE-2026-62176MervinPraison PraisonAI
Python code injection in PraisonAI via unsafe string interpolation
Critical 9.1
Follow: this CVE · MervinPraison · MervinPraison PraisonAI We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 7, 2026
- Updated
- Oct 7, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
PraisonAI prior to version 4.6.78 directly interpolates the `agents_file` parameter into an f-string executed via `subprocess.Popen()`. An authenticated attacker controlling this parameter can inject arbitrary Python code and compromise the server.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 4.6.78
Update PraisonAI to version 4.6.78 or later by running: pip install --upgrade praisonai>=4.6.78
- Apply the vendor's security update for PraisonAI.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | praisonai |
< 4.6.78 |
4.6.78 |
pip install "praisonai>=4.6.78" |
| PyPI | praisonai |
< 4.6.78 |
4.6.78 |
pip install "praisonai>=4.6.78" |
Per OSV / GitHub Advisories (GHSA-g6j7-pffp-8whg, PYSEC-2026-4256). Check the version in your lockfile before upgrading.
Affected products
- MervinPraison · PraisonAI
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.