CVE-2026-57141MervinPraison PraisonAI
Remote Code Execution without Authentication in PraisonAI
Critical 9.8 No auth needed
Follow: this CVE · MervinPraison · MervinPraison PraisonAI We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
PraisonAI prior to version 1.7.2 executes model-generated JavaScript without secure validation, allowing an attacker to bypass the regular-expression blocklist using Function('return this')() to access the global object. An attacker who can influence the code argument can execute operating-system commands, read or write files, and access environment credentials with PraisonAI process privileges.
Show the original NVD text
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 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.
What to do
Patch available · fixed versions: 1.7.2
Update PraisonAI to version 1.7.2 or later in your npm environment.
- Apply the vendor's security update for PraisonAI.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | praisonai |
< 1.7.2 |
1.7.2 |
npm install praisonai@1.7.2 |
Per OSV / GitHub Advisories (GHSA-p69m-4f92-2v84). Check the version in your lockfile before upgrading.
Affected products
- MervinPraison · PraisonAI
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.