Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-61447: Prompt Injection to Remote Code Execution in PraisonAI CodeAgent

Published Jul 11, 2026 · Updated 24 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS10.0Critical · v4
EPSS2.5%85th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Praison
IdentifiersCVE-2026-61447CWE-94 · Improper Control of Generation of…

CVE-2026-61447 is a remote code execution vulnerability in PraisonAI versions before 1.6.78, affecting the praisonaiagents package. The CodeAgent._execute_python() method executes LLM-generated Python without AST validation, import restrictions, or sandbox enforcement. Its execution subprocess inherits the full parent-process environment, exposing secrets even when CodeConfig(sandbox=True) is configured. Attackers who influence generated code through prompt injection in agent inputs, tool results, or ingested content can execute arbitrary code with the CodeAgent process's privileges and exfiltrate accessible environment secrets.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality, integrity, and availability of resources accessible to the CodeAgent process. Attacker-controlled code can read and exfiltrate environment variables containing API keys, database credentials, and cloud tokens; access files; establish network connections; and execute system commands. Depending on process privileges and available credentials, exploitation can lead to host compromise, service disruption, persistence, and unauthorized access to connected cloud services, databases, or APIs.

Mitigation

If you can’t patch tonight, do this now.

Until upgraded, avoid executing untrusted or LLM-generated Python through the vulnerable CodeAgent functionality. Restrict network exposure and exposure to untrusted agent inputs, tool results, and ingested content. Isolate the application from sensitive host resources and remove unnecessary secrets from its environment. Do not rely on CodeConfig(sandbox=True), because the vulnerable implementation does not enforce that isolation. Additional defensive controls include independently enforced execution sandboxing, AST validation, import restrictions, and monitoring for anomalous outbound connections; input sanitization alone should not be treated as an execution security boundary.

Remediation

Patch, then assume compromise.

Upgrade the praisonaiagents PyPI package to version 1.6.78 or later. If a vulnerable deployment processed untrusted input, rotate potentially exposed environment secrets and audit connected-service logs for unexpected access. Upgrading does not revoke credentials that may already have been stolen.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
Candidate exploits are awaiting analysis. View them in Mallory.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PraisonPraisonaiapplication
FAQ

Frequently asked questions

Is CVE-2026-61447 exploited in the wild?
As of Nov 4, 2026, Mallory has no reports of CVE-2026-61447 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-61447?
Yes. As of Nov 4, 2026, Mallory has reports of a public exploit for CVE-2026-61447.
Is there a patch for CVE-2026-61447?
Upgrade the praisonaiagents PyPI package to version 1.6.78 or later. If a vulnerable deployment processed untrusted input, rotate potentially exposed environment secrets and audit connected-service logs for unexpected access.
What products are affected by CVE-2026-61447?
Praisonai.
How severe is CVE-2026-61447?
CVE-2026-61447 has a CVSS v4 score of 10.0 (Critical) and an EPSS score of 2.5% (85th percentile) as of Nov 4, 2026.
Activity feed

Recent activity

18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
ghsa syntheticNews · Oct 8, 2026GHSA-2xv2-w8cq-5gxwPraisonAI's CodeAgent executes LLM-generated Python without enforcing its sandbox configuration, validating the code, or restricting imports. The subprocess inherits all parent-process environment variables. An attacker who influences LLM output through prompt injection in agent input, tool results, or ingested content can steal credentials and execute arbitrary code with the process's host permissions. The advisory includes a proof of concept demonstrating exposure of environment secrets and identifies version 1.6.78 as the fixed release.Read more ↗tenable cloud security pluginsNews · Oct 8, 2026SCA: security update for praisonaiagents (GHSA-2xv2-w8cq-5gxw) | Tenable®A critical remote code execution vulnerability in PraisonAI/praisonaiagents versions before 1.6.78. Attackers can manipulate LLM output through prompt injection, causing CodeAgent._execute_python() to execute arbitrary Python code on the host and exfiltrate environment secrets. The reference reports a CVSS base score of 10.0 and available exploits. Updating praisonaiagents and related packages to version 1.6.78 or later addresses the vulnerability.Read more ↗cvefeed high severityNews · Jul 11, 2026CVE-2026-61447 - PraisonAI before 1.6.78 Remote Code Execution via CodeAgentA critical remote code execution vulnerability in PraisonAI before version 1.6.78, caused by unsafe execution of LLM-generated Python code in CodeAgent._execute_python() without validation or sandboxing.Read more ↗threataft blogNews · Jul 11, 2026CVE-2026-61447 - PraisonAI CodeAgent RCE (CVSS 10.0) | ThreatAftA critical remote code execution vulnerability in PraisonAI's CodeAgent._execute_python() that executes LLM-generated Python without validation or sandboxing, enabling prompt-injection-driven arbitrary code execution and secret exfiltration.Read more ↗
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity14Community discussion across Reddit, Mastodon, and other social sources.