CVE-2026-72573: 4xmen pm2panel - Authenticated OS Command Injection via id Query Parameter
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-72573?
CVE-2026-72573 has a high severity rating of 8.8.
How do I fix CVE-2026-72573?
Fixing CVE-2026-72573 involves ensuring that the req.query.id parameter is properly validated and sanitized before use in the exec function.
What type of vulnerability is CVE-2026-72573?
CVE-2026-72573 is an OS command injection vulnerability.
Who is affected by CVE-2026-72573?
All versions of 4xmen/pm2panel are affected by CVE-2026-72573.
What can an attacker do with CVE-2026-72573?
An authenticated remote attacker can execute arbitrary system commands on the host using CVE-2026-72573.