PraisonAI contains a remote code execution vulnerability in CodeAgent._execute_python() that allows attackers to execute arbitrary code via LLM prompt...
Description
PraisonAI contains a remote code execution vulnerability in CodeAgent._execute_python() that allows attackers to execute arbitrary code via LLM prompt injection.
AI Analyst Comment
Remediation
Update MervinPraison PraisonAI to the latest version. Check the vendor security advisory for specific patch details. Monitor for exploitation attempts and review access logs.
---METADATA---
VENDOR: MervinPraison
PRODUCT: PraisonAI
AFFECTED_VERSIONS: 0 up to (excluding) 1.6.78
CONFIDENCE: high
MISSING: none
---END_METADATA---
Description Summary:
PraisonAI contains a remote code execution vulnerability in CodeAgent._execute_python() that allows attackers to execute arbitrary code via LLM prompt injection.
Executive Summary:
An unauthenticated remote code execution vulnerability in PraisonAI allows attackers to fully compromise the host system by injecting malicious instructions into LLM-generated Python code.
Vulnerability Details
CVE-ID: CVE-2026-61447
Affected Software: MervinPraison PraisonAI
Affected Versions: 0 up to (excluding) 1.6.78
Vulnerability: This is a code injection vulnerability (CWE-94) stemming from the lack of AST validation or sandboxing in the
CodeAgent._execute_python()function. An unauthenticated attacker can manipulate the LLM's output to execute arbitrary Python code on the underlying host.Business Impact
Successful exploitation allows an attacker to gain full control over the host environment, including the exfiltration of sensitive environment secrets and the execution of arbitrary commands. Given the CVSS score of 10.0, this represents a critical risk that could lead to complete system compromise and significant data breaches.
Remediation Plan
Immediate Action: Upgrade PraisonAI to version 1.6.78 or later to incorporate necessary code validation and security restrictions.
Proactive Monitoring: Audit logs for unusual LLM interaction patterns or unexpected child process execution initiated by the PraisonAI service.
Compensating Controls: Ensure the application is deployed within a hardened, restricted-privilege container or sandbox environment to limit the impact of potential RCE.
Exploitation Status
Public Exploit Available: No
Analyst Notes: As of July 11, 2026, there is no public information indicating active exploitation or a public proof-of-concept for this vulnerability. The flaw's inherent exploitability is high due to the lack of input validation on generated code.
Analyst Recommendation
This vulnerability presents a maximum-severity risk to any deployment of PraisonAI. Organizations must prioritize updating to version 1.6.78 immediately to eliminate the possibility of remote code execution via prompt injection.