Skip to main content
Mallory
← Back to News
ai-platform-securityinternet-facing-service-vulnerabilitywidely-deployed-product-advisoryleaked-secret-api-key

Critical RCE in PraisonAI CodeAgent Enables Host Compromise via Prompt Injection

Emerging Technology Risk · 2 sources · Updated 5mo ago · First seen Jul 11, 2026

Critical RCE in PraisonAI CodeAgent Enables Host Compromise via Prompt Injection

A critical remote code execution flaw, CVE-2026-61447, was disclosed in the PraisonAI AI agent framework, affecting versions before 1.6.78. The vulnerability lies in CodeAgent._execute_python(), which executes LLM-generated Python without AST validation, import restrictions, or sandbox enforcement, allowing attackers to use prompt injection to make the agent run arbitrary code on the host. The issue received the maximum severity rating of CVSS 10.0 under both v3.1 and v4.0.

Successful exploitation can result in full host compromise and theft of sensitive data, including API keys, cloud credentials, database passwords, and other environment secrets, with potential pivoting into connected services. PraisonAI 1.6.78 fixes the issue, and defenders are being urged to upgrade immediately, reduce network exposure, rotate potentially exposed secrets, and monitor for anomalous outbound connections; no confirmed in-the-wild exploitation had been reported at disclosure time.

Why it matters

Impact assessment

CVE-2026-61447 is a critical host-compromise risk for organizations running PraisonAI CodeAgent, especially agentic deployments that process untrusted external content such as web pages, documents, emails, and tool output. Successful exploitation can lead to arbitrary code execution, theft of environment secrets, and follow-on compromise of connected cloud, database, and API services.

The impact is severe because the flaw is remotely exploitable, requires no authentication, requires no user interaction, and is rated CVSS 10.0 under both v3.1 and v4.0. Exposure is potentially broad across any environment using vulnerable PraisonAI versions before 1.6.78, but no confirmed in-the-wild exploitation was reported at disclosure time.

Affected entities and exposure

  • Product: PraisonAI AI agent framework
  • Vulnerable package: praisonaiagents pip package
  • Affected versions: all versions before 1.6.78
  • Fixed version: 1.6.78
  • Most exposed use cases: AI agents that ingest untrusted external data and allow CodeAgent execution

Business and operational consequences

  • Full host compromise is possible
  • Theft of sensitive data from environment variables is possible
  • Exposed secrets may include API keys, cloud credentials, and database passwords
  • Attackers may pivot into connected cloud services, databases, and external APIs
  • Follow-on actions may include backdoors, reverse shells, or ransomware deployment
  • Potential impacts include operational disruption, financial loss, and reputational damage

Known exploitation status

  • No confirmed active exploitation in the wild was reported at disclosure time
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Jul 11, 2026
  1. Jul 11, 20265mo ago

    CVE-2026-61447 publicly disclosed as critical PraisonAI RCE

    On 2026-07-11, CVE-2026-61447 was publicly disclosed as a critical remote code execution vulnerability in PraisonAI affecting versions prior to 1.6.78. The flaw allows prompt injection to influence LLM-generated Python code execution, potentially leading to arbitrary code execution and theft of environment secrets.

    CVE-2026-61447 - PraisonAI before 1.6.78 Remote Code Execution via CodeAgent
  2. Jul 11, 20265mo ago

    PraisonAI releases version 1.6.78 to fix CodeAgent RCE flaw

    PraisonAI version 1.6.78 was identified as the fixed release for a critical remote code execution vulnerability in CodeAgent._execute_python() affecting versions before 1.6.78. The remediation guidance was to upgrade to 1.6.78 or later.

    CVE-2026-61447 - PraisonAI before 1.6.78 Remote Code Execution via CodeAgent
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Praisonai

Organizations

1 linked
PraisonAI
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.