Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to deployment config
-
DeliveryInject Python expression into deploy.api.host or agents_file
-
ExploitOperator runs API deployment generator
-
ExecutionMalicious code emitted into server source
-
PersistServer start/request triggers execution
-
ImpactArbitrary code runs as server process
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 value of the deploy.api.host and/or agents_file deployment configuration parameters that feed PraisonAI's API-server code generator; the injected Python only runs after the generated server is started or serves a request (the UI:P / operator-action element). This is inherently limited by needing write access to, or the ability to supply, the deployment configuration or agents file - it is not exploitable against a running server over the network - and the CVSS AV:L confirms a local attack surface. It therefore matters most in multi-tenant, CI/CD, or shared-config deployments where configuration originates from a less-trusted party; single-operator installations where only the trusted admin edits config face minimal real risk. |
| Impact | Signals are mixed. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) scores 8.5 with high confidentiality, integrity, and availability impact, but it is a LOCAL vector requiring passive user interaction - not a remote, network-facing hole. The PR:N in the vector implies no authentication, yet the described mechanism requires the attacker to control deployment configuration (deploy.api.host / agents_file), which in practice means write access to config or the ability to supply the agents file - verify this against the deployment model, as it conflicts with an unauthenticated reading. There is no CISA KEV listing and no EPSS score provided, and no POC is referenced, so this is not evidence of active or widespread exploitation. Net: a real code-execution bug worth patching, but realistic risk is bounded to environments where deployment config comes from a less-trusted party (e.g., multi-tenant or shared-config setups) rather than a broadly wormable internet threat. |
| Exploit ScenarioDerived | In a shared or multi-tenant PraisonAI setup, an attacker who can edit the deployment configuration sets deploy.api.host (or the agents_file value) to a crafted Python expression rather than a hostname. When an operator runs the deployment generator and the produced API server module is started or handles its first request, the embedded expression executes with the server's privileges. No public POC is referenced, but the local, low-complexity nature (AV:L/AC:L) makes exploitation trivial once config write access is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Code injection in PraisonAI before 4.6.78 lets attackers who control deployment configuration achieve arbitrary Python execution because the API-server deployment generator fails to safely encode the deploy.api.host and agents_file values before emitting them into generated Python source (CWE-94). Injected expressions run when the generated API server starts or handles requests, yielding full code execution in the server process. No public exploit is identified at time of analysis; the flaw was reported by VulnCheck and a vendor patch is available.
RemediationAI
Upgrade to PraisonAI 4.6.78 or later, which is the first release incorporating the fix; the change is in commit 1620b49f36945d8cc8ee5635b906c960df5097a0 and described in advisory GHSA-79fv-7hq9-w7xg (https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-79fv-7hq9-w7xg). Until upgrading, treat the deployment configuration as untrusted: do not generate or run API servers from configuration supplied by other users, restrict write access to the deploy.api.host and agents_file settings and the underlying config/agents YAML to trusted operators only, and validate that host values match a strict hostname/IP allowlist before invoking the deployment generator. These controls limit who can reach the vulnerable code-generation path but do not remove the injection itself, so patching remains the durable fix.
Affected VersionsENISA
Affected Packages
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 (CPE cpe:2.3:a:mervinpraison:praisonai) is an open-source Python multi-agent framework whose CLI can auto-generate an API server from deployment configuration. The generator constructs Python source code by interpolating configuration values - specifically deploy.api.host and the agents_file path - directly into the emitted source without escaping or safe quoting. This is a classic CWE-94 'Improper Control of Generation of Code' (code injection) root cause: attacker-influenced data crosses into a code-generation sink, so any Python expression placed in those fields becomes executable statements rather than inert string data once the generated module is imported and run.
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
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:L because exploitation requires controlling local deployment config; PR:L since supplying the config/agents file needs some privilege; full C/I/A impact from arbitrary Python execution in the server process.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
PraisonAI before 4.6.78 fails to safely encode deployment configuration values when generating Python source code for API servers. Attackers can inject arbitrary Python expressions through the deploy.api.host and agents_file configuration parameters that execute when the generated server starts or handles requests.
Articles & Coverage 1
Executive ViewAI
PraisonAI versions prior to 4.6.78 contain a code injection vulnerability in the deployment generator that could allow attackers to execute arbitrary Python code within API server processes; no public exploit identified at time of analysis. The vulnerability poses direct risk to infrastructure integrity and availability. Organizations using vulnerable versions must upgrade immediately to version 4.6.78 or later to eliminate this risk.
Apply vendor patch: upgrade to PraisonAI version 4.6.78 or later.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection
Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller
SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou
Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv
Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec
Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u
EUVD-2026-44640
GHSA-79fv-7hq9-w7xg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB