2 matches found
CVE-2026-57141: Improper Control of Generation of Code
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 withsandbox, while a regular-expression blocklist can be bypassed with Function'return this' to recover the glob...
9.8CVSS6AI score0.00745EPSS
SaveExploits0References2
PT-2026-61795
Summary The codeMode tool in src/praisonai-ts/src/tools/builtins/code-mode.ts uses new Function with a withsandbox pattern to execute LLM-generated code. The blocklist-based "sandbox" can be trivially bypassed via Function'return this' to recover the global object, followed by global.require with...
9.8CVSS6.6AI score0.00745EPSS
SaveExploits0References6
20