PraisonAI utility shell safe-command wrapper allowlist bypass via shell chaining (MervinPraison PraisonAI)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.80 % · percentile 57 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
Description
PraisonAI is a multi-agent teams system. From 1.5.1 until 1.7.2, the shell() helper exported from src/praisonai-ts/src/tools/utility-tools.ts checks only the first whitespace-delimited token against safeCommands and then passes the complete original string to child_process.exec(). A string that starts with an allowed read-only command can append a second non-allowlisted command through shell syntax, allowing arbitrary command execution with the PraisonAI process privileges. This issue is fixed in version 1.7.2.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
- CWE-693 — Protection Mechanism Failure
- CWE-863 — Incorrect Authorization
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-5jv7-2mjm-h6qj — npm PraisonAI utility shell safe-command wrapper allowlist bypass via shell chaining
European references
- ENISA EUVD · EUVD-2026-78392
- GCVE · GCVE-0-2026-57133
Affected products
| Product | Versions |
|---|---|
| MervinPraison · PraisonAI | affected >= 1.5.1, < 1.7.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |