# CVE-2026-62176: PraisonAI: Code Injection via f-string Interpolation in Deploy API Server Generation

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/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.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-07T16:05:53.000Z
- Modified: 2026-10-15T14:56:12.523Z
- Also known as: GHSA-g6j7-pffp-8whg, PYSEC-2026-4256
- Related: CVE-2026-61444
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.6.78
- praisonai (PyPI): before 4.6.78

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-g6j7-pffp-8whg> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62176> (advisory)

## Sources

- CVE List: [CVE-2026-62176](https://www.cve.org/CVERecord?id=CVE-2026-62176), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-g6j7-pffp-8whg](https://github.com/advisories/GHSA-g6j7-pffp-8whg), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-62176](https://nvd.nist.gov/vuln/detail/CVE-2026-62176), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-4256](https://osv.dev/vulnerability/PYSEC-2026-4256), CC-BY-4.0, modified 2026-10-15

---

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