Vulnerability

CVE-2026-57138

criticalCVSS 3.1 9.9Published 15 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

PraisonAI is a multi-agent teams system. From 1.4.0 until 1.7.2, codeMode in src/praisonai-ts/src/tools/builtins/code-mode.ts executes untrusted JavaScript with new Function() inside with(sandbox) and relies on a small source-code blocklist plus shadowed process and require properties. Code can use ({}).constructor.constructor to recover the real Function constructor, obtain process and process.mainModule.require, and reach host filesystem and subprocess APIs despite the advertised sandbox. Attackers who control codeMode input can read secrets, modify files, execute commands, or exhaust the host process. This issue is fixed in version 1.7.2.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /MervinPraison/PraisonAI/commit/709a0387853709a5e2f2c34680f…
  • github.com /MervinPraison/PraisonAI/releases/tag/v4.6.60
  • github.com /MervinPraison/PraisonAI/security/advisories/GHSA-vmmj-pfw7…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning