CVE-2026-72573: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in 4xmen pm2panel
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-72573) in 4xmen pm2panel occurs due to improper neutralization of special elements used in OS commands (CWE-78). Specifically, the pm2panel.js handler at line 188 uses the unsanitized req.query.id parameter directly in the exec('pm2 restart ' + id) call. Because there is no input validation or shell escaping, an authenticated attacker can inject shell metacharacters such as semicolons to execute arbitrary commands on the underlying operating system.
Potential Impact
Successful exploitation allows an authenticated remote attacker to execute arbitrary system commands with the privileges of the pm2panel process. This can lead to complete compromise of the host, including confidentiality, integrity, and availability impacts as reflected by the CVSS score of 8.8 (high).
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, it is recommended to restrict access to the pm2panel interface to trusted users only and consider implementing network-level controls to limit exposure. Input validation and sanitization should be applied to the req.query.id parameter to prevent command injection if possible.
CVE-2026-72573: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in 4xmen pm2panel
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.
CVSS v3.1
Score 8.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-72573) in 4xmen pm2panel occurs due to improper neutralization of special elements used in OS commands (CWE-78). Specifically, the pm2panel.js handler at line 188 uses the unsanitized req.query.id parameter directly in the exec('pm2 restart ' + id) call. Because there is no input validation or shell escaping, an authenticated attacker can inject shell metacharacters such as semicolons to execute arbitrary commands on the underlying operating system.
Potential Impact
Successful exploitation allows an authenticated remote attacker to execute arbitrary system commands with the privileges of the pm2panel process. This can lead to complete compromise of the host, including confidentiality, integrity, and availability impacts as reflected by the CVSS score of 8.8 (high).
Mitigation Recommendations
No official patch or remediation is currently available for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, it is recommended to restrict access to the pm2panel interface to trusted users only and consider implementing network-level controls to limit exposure. Input validation and sanitization should be applied to the req.query.id parameter to prevent command injection if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-10T10:32:53.853Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a79ae6ebf8831d5398afd19
Added to database: 08/10/2026, 10:56:46 UTC
Last enriched: 08/10/2026, 11:13:43 UTC
Last updated: 08/11/2026, 03:41:00 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.