8.8high
4xmen pm2panel - Authenticated OS Command Injection via id Query Parameter
- Severity
- 8.8high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.91% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
Description
An OS command injection vulnerability in 4xmen/pm2panel (all versions) allows an authenticated remote attacker to execute arbitrary system commands on the host. The pm2panel.js handler at line 188 passes the unsanitized req.query.id parameter directly to exec('pm2 restart ' + id) without input validation or shell escaping, enabling command chaining via semicolons or other shell metacharacters.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 4xmen pm2panel | 0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
An OS command injection vulnerability in 4xmen/pm2panel (all versions) allows an authenticated remote attacker to execute arbitrary system commands on the host. The pm2panel.js handler at line 188 passes the unsanitized req.query.id parameter directly to exec('pm2 restart ' + id) without input validation or shell escaping, enabling command chaining via semicolons or other shell metacharacters.
NVD (es)
Una vulnerabilidad de inyección de comandos del sistema operativo en 4xmen/pm2panel (todas las versiones) permite a un atacante remoto autenticado ejecutar comandos de sistema arbitrarios en el host. El gestor pm2panel.js en la línea 188 pasa el parámetro req.query.id sin sanear directamente a exec(’pm2 restart ’ + id) sin validación de entrada ni escape de shell, lo que permite el encadenamiento de comandos a través de puntos y coma u otros metacaracteres de shell.
References
| https://github.com/4xmen/pm2panel | third-party-advisory | |
| https://github.com/4xmen/pm2panel/blob/main/pm2panel.js | technical-description | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72573 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-72573 changed 2026-10-24 | Public domain |