← Back to search

CVE-2026-62176

9.1 CRITICALpublic exploit available

Published 2026-10-07 · Updated 2026-10-07

AI risk analysis

Summary
The flaw allows an attacker to inject arbitrary Python code by controlling the `agents_file` parameter, leading to remote code execution.
Exploitability
Exploitation is relatively easy if the `agents_file` parameter can be controlled, such as via CLI or API.
Blast radius
If exploited, the impact could be severe, as it allows full control over the server execution environment.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to version 4.6.78 or later.
rcepythonapicode-injection

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-94

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.