CVE-2026-40287: MervinPraison PraisonAI · Code Injection
Affects MervinPraison PraisonAISource CVE Database V5
Not known to be exploited · CVSS 8.4 High : upgrade to 4.5.139 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.5.139, 1.5.140
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 14 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade PraisonAI and praisonai to 4.5.139; praisonaiagents to 1.5.140.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MervinPraisonPraisonAI | Affected
| Fixed in
|
| MervinPraisonpraisonaiagents | Affected
| Fixed in
|
PyPIpraisonaipkg:pypi/praisonaiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade PraisonAI to version 4.5.139 or later, where this vulnerability is fixed. Until upgrading, ensure that untrusted users cannot place or modify files in the directory where PraisonAI is launched to prevent malicious tools.py injection.
Description
PraisonAI versions 4.5.138 and earlier are vulnerable to arbitrary code execution due to automatic, unsanitized import of a local tools.py file at startup. This allows an attacker with write access to the working directory to execute arbitrary Python code within the PraisonAI process and potentially compromise the host system and connected data. The vulnerability is fixed in version 4.5.139.