Skip to main content
VulnerabilityPublished

CVE-2026-40287: MervinPraison PraisonAI · Code Injection

Affects MervinPraison PraisonAISource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.4 High : upgrade to 4.5.139 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MervinPraisonPraisonAIAffected
  • <4.5.139
Fixed in
  • 4.5.139
MervinPraisonpraisonaiagentsAffected
  • <1.5.140
Fixed in
  • 1.5.140
PyPIpraisonaipkg:pypi/praisonaiOther threatsAffected
  • <4.5.139
Fixed in
  • 4.5.139

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.

References

Community reviews

Loading reviews…