Skip to main content
VulnerabilityPublished Updated

CVE-2026-40088: PraisonAI Vulnerable to OS Command Injection

Affects PraisonAISource GCVE Database

0
Compare
Authoritative record:CVE-2026-40088· Critical 9.7

Not known to be exploited · CVSS 9.7 Critical : upgrade to 4.5.121 as a priority.

Data as of 16 Nov 2026, 16:49 UTC

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

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.121.

Affected software

ProductAffectedFixed in
PyPIPraisonAIAffected
  • <4.5.121
Fixed in
  • 4.5.121

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

AI-suggested

An official fix is available in PraisonAI version 4.5.121. Users should upgrade to this version or later to remediate the vulnerability. Until patched, avoid running workflows or agents with untrusted input and consider disabling or restricting shell command execution features if possible. The vendor advisory confirms the availability of a patch; no alternative mitigations are noted.

Description

PraisonAI versions prior to 4.5.121 contain a critical OS command injection vulnerability (CVE-2026-40088) due to unsafe use of subprocess.run() with shell=True on user-controlled input. Multiple input vectors exist, including YAML workflow definitions, agent configuration files, recipe steps, and LLM-generated tool calls. This allows attackers to inject arbitrary shell commands via shell metacharacters, potentially leading to full system compromise. A fix is available in version 4.5.121.

References

Community reviews

Loading reviews…