PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-40288 MervinPraison CVE debrief

CVE-2026-40288 is a critical vulnerability in PraisonAI, a multi-agent teams system, that allows for arbitrary command and code execution through untrusted YAML files. The vulnerability affects versions below 4.5.139 of PraisonAI and 1.5.140 of praisonaiagents. An attacker who can supply or influence a workflow YAML file can achieve full arbitrary command execution on the host system, compromising the machine and any accessible data or credentials.

Vendor
MervinPraison
Product
PraisonAI
CVSS
CRITICAL 9.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-14
Original CVE updated
2026-10-26
Advisory published
2026-04-14
Advisory updated
2026-10-26

Who should care

Defenders responsible for PraisonAI deployments, particularly those using CI pipelines, shared repositories, or multi-tenant deployment environments, should assess exposure and apply patches.

Why it matters

CVE-2026-40288 is a critical vulnerability in PraisonAI that allows for arbitrary command and code execution through untrusted YAML files, posing a significant risk to deployments, particularly in CI pipelines, shared repositories, or multi-tenant environments.

  • Potential for full arbitrary command execution on the host system
  • Compromise of the machine and accessible data or credentials
  • Need for verification of affected versions and remediation status
  • Potential disruption of critical systems and services

Technical summary

The vulnerability is caused by the lack of validation, sandboxing, or user confirmation in the workflow engine, which processes steps that support run: (shell commands via subprocess.run()), script: (inline Python via exec()), and python: (arbitrary Python script execution). This allows for arbitrary command and code execution through untrusted YAML files, affecting PraisonAI versions below 4.5.139 and praisonaiagents versions below 1.5.140, with a high impact on deployments, particularly in CI pipelines, shared repositories, or multi-tenant environments.

Defensive priority

High priority for defenders to assess exposure and apply patches

Recommended defensive actions

  • Assess exposure by checking if PraisonAI versions below 4.5.139 or praisonaiagents versions below 1.5.140 are in use
  • Apply patches to upgrade to PraisonAI version 4.5.139 or later and praisonaiagents version 1.5.140 or later
  • Review and restrict access to workflow YAML files to prevent supply or influence by unauthorized parties
  • Monitor for suspicious activity and implement compensating controls to detect potential exploitation
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The vulnerability is caused by the lack of validation, sandboxing, or user confirmation in the workflow engine, which processes steps that support run: (shell commands via subprocess.run()), script: (inline Python via exec()), and python: (arbitrary Python script execution).

Sources and references

Verified primary and authoritative sources

  • CVE-2026-40288 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-40288

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-40288 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-40288

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-vc46-vw85-3wvm

    [email protected] - Exploit, Vendor Advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.