{"id":"EUVD-2026-78423","enisaUuid":"e379bb6e-c564-395d-937f-0353252c0d11","description":"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(\u0027return this\u0027)() 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.","datePublished":"Sep 15, 2026, 10:14:16 AM","dateUpdated":"Sep 15, 2026, 1:52:47 PM","baseScore":9.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p69m-4f92-2v84\nhttps://github.com/MervinPraison/PraisonAI/commit/709a0387853709a5e2f2c34680fa64cada252c27\nhttps://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.60\n","aliases":"CVE-2026-57141\nGHSA-p69m-4f92-2v84\n","assigner":"GitHub_M","epss":0.75,"enisaIdProduct":[{"id":"a215a4b4-5c3c-3675-a1a6-cbb4cdb15629","product":{"name":"PraisonAI","vendor":{"name":"mervinpraison"}},"product_version":"\u003c 1.7.2"}],"enisaIdVendor":[{"id":"a4442301-f3ce-3261-80fd-23959412f1f7","vendor":{"name":"mervinpraison"}}],"enisaIdVulnerability":[{"id":"111f8a56-eb70-39c1-a5e7-5693561f908a","vulnerability":{"id":"GHSA-p69m-4f92-2v84","description":"PraisonAI: Remote Code Execution via Sandbox Escape in `codeMode` Tool","datePublished":"Jun 18, 2026, 2:26:37 PM","dateUpdated":"Jul 20, 2026, 9:27:48 PM","baseScore":0.0,"references":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p69m-4f92-2v84\nhttps://github.com/MervinPraison/PraisonAI\n","enisa_id":"EUVD-2026-78423\n","aliases":"GHSA-p69m-4f92-2v84\nCVE-2026-57141\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:51:29 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"ee8e706b-2801-3652-b7d0-50e1c877688d","vulnerability":{"id":"CVE-2026-57141","description":"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(\u0027return this\u0027)() 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.","datePublished":"Sep 15, 2026, 10:14:16 AM","dateUpdated":"Sep 15, 2026, 1:52:47 PM","status":"PUBLISHED","baseScore":9.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","references":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p69m-4f92-2v84\nhttps://github.com/MervinPraison/PraisonAI/commit/709a0387853709a5e2f2c34680fa64cada252c27\nhttps://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.60\n","enisa_id":"EUVD-2026-78423\n","assigner":"GitHub_M","epss":0.75,"dataProcessed":"Nov 15, 2026, 7:20:47 AM","vulnerabilityProduct":[{"id":"7f61c4db-9ec1-3ee7-97ab-6b6cdce6ebd3","product":{"name":"PraisonAI","vendor":{"name":"mervinpraison"}},"product_version":"\u003c 1.7.2"}],"vulnerabilityVendor":[{"id":"be4a697c-d047-365d-861b-8c1163876c26","vendor":{"name":"mervinpraison"}}]}}],"enisaIdAdvisory":[]}