PraisonAI is a multi-agent teams system. Prior to 1.7.2, the codeMode tool in…
Historical advisory recorded 25 Oct 2026 14:19:10 UTC. Read the latest advisory.
nvd · CVE-2026-57141
PublishedPraisonAI is a multi-agent teams system. Prior to 1.7.2, the codeMode tool in src/praisonai-ts/src/tools/builtins/code-mode.ts executes model-generated JavaScript with new Function() and with(sandbox), while a regular-expression blocklist can be bypassed with Function('return this')() to recover the global object and by constructing the child_process module name dynamically. An attacker who can influence the code argument can access host process capabilities, read or write files, obtain environment credentials, and execute operating-system commands with the PraisonAI process privileges. This issue is fixed in version 1.7.2.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-57141
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-94
Original publisher date fields
published: 2026-09-15T11:17:11.617
lastModified: 2026-09-15T14:45:28.563
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON