CVE-2026-62176 Details
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.
A code injection vulnerability has been identified in PraisonAI versions through 4.6.77. The issue arises in the 'deploy/api.py' module, where the 'agents_file' parameter is directly interpolated into an f-string. This generated code is then written to a file and executed using 'subprocess.Popen()'. An attacker who can control the 'agents_file' value—via command-line argument, configuration, or upstream API—can inject arbitrary Python code. The vulnerability is also present in the 'deploy/docker.py' module, affecting Dockerfile generation.
Users are advised to update PraisonAI to version 4.6.78 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 7, 2026CISA-ADP
Assessed Oct 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PraisonAI | <= 4.6.77 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | New CVE Received | [email protected] |
| Oct 7, 2026 | CVE Modified | CISA-ADP |
Volerion