Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
PraisonAI codeMode sandbox escape via Function constructor
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vulnerability Type
不完整的黑名单
Vulnerability Title
Mervin Praison PraisonAI 输入验证错误漏洞
Vulnerability Description
Mervin Praison PraisonAI是Mervin Praison个人开发者开源的一个低代码多智能体协作框架。 Mervin Praison PraisonAI 1.4.0版本至1.7.2之前版本存在安全漏洞,该漏洞源于codeMode在with(sandbox)中使用new Function()执行不可信JavaScript,仅依赖源代码黑名单及被遮蔽的process和require属性,代码可通过({}).constructor.constructor恢复真正的Function构造函数并获
CVSS Information
N/A
Vulnerability Type
N/A