Skip to main content

PraisonAI EUVDEUVD-2026-42902

| CVE-2026-61444 CRITICAL
Code Injection (CWE-94)
2026-07-10 VulnCheck GHSA-vwv5-32vr-3jcp
9.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to PraisonAI deploy API
  2. Delivery
    Submit agents_file with embedded Python
  3. Exploit
    f-string interpolates value into generated code
  4. Execution
    subprocess.Popen() runs generated script
  5. Impact
    Arbitrary code executes on host

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 the attacker to control the agents_file parameter passed to the deploy/api.py deployment endpoint, and per the CVSS vector (PR:H) requires high privileges to reach that functionality - so this is not exploitable against a default, unauthenticated deployment. The affected code path (f-string interpolation of agents_file followed by execution of the generated code via subprocess.Popen()) must be exercised, which limits exploitation to environments that actually run the PraisonAI deployment API and expose its agent-file input to the attacker. Limiting factors: high-privilege access is mandatory, no user interaction is needed once access is held (UI:N), and the target must be a version before 4.6.78.

Impact

Signals are largely consistent and point to a genuinely high-severity flaw, tempered by an access prerequisite. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) with full high impact on both the vulnerable system (VC:H/VI:H/VA:H) and subsequent systems (SC:H/SI:H/SA:H) yields 9.4 and reflects trivial exploitation complexity once the attacker has the required privileged access. The dominant limiter is PR:H: the attacker must already hold high privileges to control the agents_file parameter, which materially narrows the realistic attacker population and argues against unauthenticated mass exploitation. No EPSS score, SSVC decision, KEV entry, or POC was provided, so probability-of-exploitation and automatability cannot be quantified from the input; treat exploitation likelihood as unknown rather than low. Net: prioritize patching for anyone running the PraisonAI deployment API, but the PR:H barrier means this is more an insider/compromised-credential and privilege-boundary concern than an internet-wide worm risk.

Exploit ScenarioDerived

An attacker with privileged access to the PraisonAI deployment API submits a crafted agents_file value that embeds Python code; when deploy/api.py interpolates it into the generated server script and launches it via subprocess.Popen(), the injected code executes on the host with the process's privileges. No public POC was identified, and low attack complexity (AC:L) means that once the attacker can set the parameter, exploitation is straightforward.

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

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

Alert me

AnalysisAIv1 – Jul 10, 2026

Remote code execution in PraisonAI before 4.6.78 lets an attacker who can supply the agents_file parameter to deploy/api.py run arbitrary Python, because that value is interpolated directly into an f-string that is later executed as generated server code via subprocess.Popen(). The CVSS 4.0 base score is 9.4 and the vector requires high privileges (PR:H), meaning the attacker must already be able to reach and drive the deployment API. No public exploit has been identified at time of analysis and it is not on the CISA KEV list.

RemediationAI

Vendor-released patch: 4.6.78 - upgrade PraisonAI to 4.6.78 or later, which is the primary and recommended fix (see GHSA-g6j7-pffp-8whg). If you cannot upgrade immediately, restrict who can reach and invoke the deploy/api.py deployment endpoint to trusted operators only and treat the agents_file parameter as untrusted input: validate it against a strict allow-list of known file paths and reject any value containing Python syntax, quotes, or newlines, accepting that this narrows legitimate flexibility in specifying agent definitions. As a further compensating control, run the generated server process under a low-privilege, sandboxed account so a successful injection cannot pivot to broader system compromise, at the cost of some deployment convenience. Refer to the vendor advisory (https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-g6j7-pffp-8whg) and the VulnCheck writeup (https://www.vulncheck.com/advisories/praisonai-before-code-injection-via-f-string) for confirmation of the fixed version.

Affected VersionsENISA

PraisonAI 0 <4.6.78

Affected Packages

pypi praisonai fix: 4.6.78

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

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

Technical ContextAI · show details

PraisonAI is an open-source Python framework for building and orchestrating multi-agent LLM systems (mervinpraison/praisonai). Its deployment component (deploy/api.py) programmatically generates server code and launches it as a child process with subprocess.Popen(). The root cause is CWE-94 (Improper Control of Generation of Code, i.e. code injection): the user-controlled agents_file value is concatenated into a Python f-string template with no sanitization, escaping, or allow-listing, so any Python expression or statement embedded in that value becomes part of the emitted program and is executed when the generated script runs. This is a classic template/eval-style injection where the trust boundary between configuration input and executable code is not enforced.

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 9.4 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.1 CRITICAL

Network-reachable API with low complexity but PR:H because controlling agents_file needs privileged access; scope change (S:C) since injected code runs in a spawned subprocess, with full C/I/A impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/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
High
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 10, 2026 - 16:16 EUVD

DescriptionCVE.org

PraisonAI versions before 4.6.78 contain a code injection vulnerability in deploy/api.py where the agents_file parameter is directly interpolated into an f-string without sanitization. Attackers can inject arbitrary Python code that executes when the generated server code runs via subprocess.Popen().

Executive ViewAI

Why It Matters

PraisonAI versions prior to 4.6.78 contain a critical remote code execution vulnerability in the deployment API that allows authenticated users with high-level privileges to execute arbitrary Python code by manipulating the agents_file parameter. This poses complete system compromise risk to PraisonAI deployments and could enable attackers with API access to breach entire environments. Immediate access restrictions and monitoring are required.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict deployment API network access to internal IP ranges only; (2) Require multi-factor authentication for all API access; (3) Implement input validation to reject agents_file values containing Python syntax or shell metacharacters; (4) Deploy application-level controls to sanitize f-string interpolation inputs; (5) Enable comprehensive API audit logging with real-time alerting on parameter anomalies; (6) Consider disabling deployment API endpoints if not actively required.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche open-source Python multi-agent framework, limited production footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
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-61447 CRITICAL POC
10.0 Jul 11

Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th

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-57148 CRITICAL POC
9.8 Sep 15

Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote

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-61426 HIGH POC
8.8 Jul 11

Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts

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

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