CVE-2026-57138: Vulnerability in praisonai
Critical. 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...
npm, CWE-184, CWE-693
- Exploitation
- None confirmed
- Severity
- 9.9 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-vmmj-pfw7-fjwp
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-184, CWE-693
- Published
- 18 Jun 2026
- Last change
- 17 Sept 2026
- Ecosystem
- npm
Affected packages
Vulnerable version ranges and fixed releases
- praisonai npm, Affected from 1.4.0 through 1.7.1. Fixed in 1.7.2
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes