Skip to main content

PraisonAI CVE-2026-61447

| EUVDEUVD-2026-43182 CRITICAL
Code Injection (CWE-94)
10.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify PraisonAI CodeAgent endpoint
  2. Delivery
    Inject malicious instructions into model context
  3. Exploit
    LLM emits attacker-controlled Python
  4. Install
    _execute_python runs code unsandboxed
  5. C2
    Read os.environ and secrets
  6. Execute
    Establish reverse shell and execute commands
  7. Impact
    Full host compromise and exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target deployment uses PraisonAI's CodeAgent feature (the component containing _execute_python) and that the attacker can influence the LLM's context - i.e. some untrusted content (user prompt, retrieved document, tool/web result) reaches the model driving the agent. Given that, no authentication is indicated by the vector (PR:N/UI:N) and default CodeAgent configurations perform no AST validation, import filtering, or sandboxing, so nothing further limits code execution. The practical limiting factors are: the CodeAgent code-execution mode must be in use (not all PraisonAI deployments enable it), the attacker needs a path into the model input, and reliable triggering depends on the LLM actually emitting the injected code, which is probabilistic though readily achievable via prompt injection.

Impact

All available signals point to genuine high priority rather than an inflated score. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated exploitation, and the vulnerable-system and subsequent-system impacts are all High (VC:H/VI:H/VA:H/SC:H/SI:H/SA:H) yielding the maximum 10.0 - consistent with full host compromise and secret theft. The realistic constraint not captured by the raw score is dependence on LLM behavior: exploitation requires an attacker-controllable path into the model's context and relies on the (non-deterministic but readily coaxed) model emitting the malicious code, which is why an assessed CVSS 3.1 could justify AC:H even though 4.0 rates AC:L. No EPSS score was provided, the CVE is not in CISA KEV, and no POC is referenced, so there is no evidence of active or widespread exploitation yet; the risk is driven by the trivial post-injection impact and the design pattern, not by observed in-the-wild activity.

Exploit ScenarioDerived

An attacker plants injection text in content the agent will process - a web page, uploaded file, or chat message - instructing the model to write Python that reads os.environ and opens a reverse shell. When the CodeAgent generates and calls _execute_python(), the unsandboxed code runs on the host, exfiltrating API keys and giving the attacker command execution. No exploit code is publicly identified at time of analysis, but the network attack vector and low complexity make the path straightforward once model input is attacker-influenced.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 11, 2026

Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating the LLM that drives the CodeAgent component. Because CodeAgent._execute_python() runs LLM-generated code with no AST validation, import restrictions, or sandbox, an attacker who can shape model output via prompt injection can exfiltrate all environment secrets and gain full control of the agent host. VulnCheck reports the flaw with a maximum CVSS 4.0 score of 10.0; there is no public exploit identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to PraisonAI 1.6.78 or later, the first fixed release per the GitHub Security Advisory (https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-2xv2-w8cq-5gxw). If immediate upgrade is not possible, disable the CodeAgent code-execution path so the framework does not run LLM-generated Python - this removes the automated-coding feature but eliminates the RCE - and run any agent that must execute code inside a locked-down sandbox: an isolated container or VM with no outbound network, dropped privileges, and no access to production credentials. Additionally, strip secrets from the process environment and inject them only through a broker the agent cannot read, and treat all documents, tool outputs, and user messages that reach the model as untrusted to shrink the prompt-injection surface. The trade-off of the disable/sandbox controls is loss of dynamic code-execution functionality and added operational complexity; credential isolation limits blast radius but does not stop code execution itself.

Affected VersionsENISA

PraisonAI 0 <1.6.78

Affected Packages

pypi praisonaiagents fix: 1.6.78
euvd praisonai fix: 1.6.78

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PraisonAI is a multi-agent AI orchestration framework (Python, distributed as the mervinpraison/praisonai package) whose CodeAgent feature lets an LLM author and execute Python to accomplish tasks. The vulnerability is CWE-94 (Improper Control of Generation of Code / code injection): the _execute_python() routine passes model-generated source straight into the Python interpreter without an allow-list AST walk, without restricting dangerous imports (os, subprocess, socket), and without any process or OS sandbox. In agentic designs the LLM's output is data influenced by upstream, potentially untrusted context (documents, tool results, user messages), so any content that reaches the model can steer the generated code - turning prompt injection into direct code execution on the host.

Know when Praisonai gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 10.0 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.0 CRITICAL

Network-reachable and unauthenticated (AV:N/PR:N) but reliant on influencing non-deterministic LLM output, so AC:H; sandbox-less host execution breaks scope (S:C) with full C/I/A impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
Patch available
Jul 11, 2026 - 15:01 EUVD

DescriptionCVE.org

PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_python() that executes LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement. Attackers can influence LLM output through prompt injection to exfiltrate all environment secrets and execute arbitrary code on the host system.

Executive ViewAI

Why It Matters

PraisonAI versions before 1.6.78 contain a critical remote code execution vulnerability in the CodeAgent component that allows attackers to execute arbitrary Python code and exfiltrate all environment secrets through prompt injection attacks; no public exploit identified at time of analysis. Organizations deploying PraisonAI for autonomous agent operations face immediate risk of complete infrastructure compromise and unauthorized access to all system credentials and sensitive data. Affected systems require immediate assessment for active deployment and isolation pending remediation.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable CodeAgent if not business-critical; run PraisonAI instances in isolated sandboxed environments with minimal or no access to sensitive environment variables and secrets; implement strict input validation and prompt injection filtering for all LLM interactions; enforce least-privilege service account execution with restricted file system and network access; establish monitoring and alerting for suspicious CodeAgent Python execution patterns and model-generated code; implement network segmentation and microsegmentation to contain blast radius from compromised instances; conduct threat modeling to assess attack surface and prioritize systems for remediation.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
emerging open-source AI agent framework, limited production footprint
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
7
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL Exploit-DB GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

71
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-57139 CRITICAL POC
9.8 Sep 15

PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans

CVE-2026-55536 CRITICAL POC
9.1 Aug 25

WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att

CVE-2026-55541 HIGH POC
8.8 Aug 25

PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne

CVE-2026-61439 HIGH POC
8.7 Jul 11

System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection

CVE-2026-55534 HIGH POC
8.6 Aug 25

Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller

CVE-2026-55526 HIGH POC
8.5 Aug 25

SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou

CVE-2026-61429 HIGH POC
8.4 Jul 11

Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv

CVE-2026-55533 HIGH POC
8.2 Aug 25

Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec

CVE-2026-55528 HIGH POC
8.2 Aug 25

Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u

CVE-2026-55522 HIGH POC
7.8 Aug 05

Arbitrary Python code execution in PraisonAI's workflow include feature allows an attacker who controls a local recipe d

CVE-2026-55523 HIGH POC
7.7 Aug 05

Server-side request forgery in PraisonAI's web_crawl() function (versions 1.5.128-1.6.57) allows an attacker who can inf

CVE-2026-55532 HIGH POC
7.6 Aug 25

Cross-site request forgery against the PraisonAI MCP HTTP-stream transport allows unauthenticated remote attackers to ex

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy