CVE-2026-57141: Vulnerability in praisonai
Critical. PraisonAI 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...
npm, CWE-94
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-p69m-4f92-2v84
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94
- Published
- 18 Jun 2026
- Last change
- 15 Sept 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- praisonai npm, Affected through 1.7.1. Fixed in 1.7.2
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes