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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Lifecycle Timeline
3DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44640
GHSA-qpq9-hwx9-cwgc