Skip to main content
VulnerabilityPublished Updated

CVE-2026-40154: PraisonAI Vulnerable Untrusted Remote Template Code Execution

Affects PraisonAISource GCVE Database

0
Compare
Authoritative record:CVE-2026-40154· Critical 9.3

Not known to be exploited · CVSS 9.3 Critical : upgrade to 4.5.128 as a priority.

Data as of 16 Nov 2026, 16:48 UTC

CVSS 3.1 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 4.5.128
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 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 15 Nov 2026.

What to do

Upgrade PraisonAI to 4.5.128.

Affected software

ProductAffectedFixed in
PyPIPraisonAIAffected
  • <4.5.128
Fixed in
  • 4.5.128

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in PraisonAI version 4.5.128 that addresses this vulnerability. Users should upgrade to version 4.5.128 or later. Until patched, users should avoid installing templates from untrusted sources. Implement verification of template integrity via checksums or signatures before use, require explicit user confirmation before executing any downloaded code, and disable automatic execution of tools.py or similar files. These steps help prevent execution of malicious code embedded in remote templates.

Description

PraisonAI versions prior to 4.5.128 automatically download and execute Python template files from remote sources without verifying their integrity or origin. This allows attackers to supply malicious templates that execute arbitrary code with the user's privileges, potentially stealing sensitive environment variables and compromising the system. The vulnerability arises from treating untrusted remote code as trusted and executing it without user confirmation or security checks.

References

Community reviews

Loading reviews…