An OS command injection vulnerability in 4xmen/pm2panel (all versions) allows an authenticated remote attacker to execute arbitrary system commands… (CVE-2026-72573)
CVE-2026-72573 is an OS command injection vulnerability in all versions of 4xmen/pm2panel. It allows an authenticated remote attacker to execute arbitrary system commands on the host by exploiting unsanitized input passed to a system exec call. The vulnerability arises because the pm2panel.js handler directly uses the req.query.id parameter without validation or escaping, enabling command chaining via shell metacharacters.
AI Analysis
Technical Summary
This vulnerability exists in 4xmen/pm2panel where the pm2panel.js handler at line 188 executes a system command using exec('pm2 restart ' + id) with the id parameter taken directly from req.query.id. Because this input is not sanitized or escaped, an authenticated attacker can inject arbitrary OS commands by including shell metacharacters such as semicolons, leading to command injection. This allows execution of arbitrary commands with the privileges of the pm2panel process.
Potential Impact
An authenticated remote attacker can execute arbitrary system commands on the host running pm2panel. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the pm2panel interface to trusted users only and consider additional input validation or filtering at the application or network level to prevent exploitation.
An OS command injection vulnerability in 4xmen/pm2panel (all versions) allows an authenticated remote attacker to execute arbitrary system commands… (CVE-2026-72573)
Description
CVE-2026-72573 is an OS command injection vulnerability in all versions of 4xmen/pm2panel. It allows an authenticated remote attacker to execute arbitrary system commands on the host by exploiting unsanitized input passed to a system exec call. The vulnerability arises because the pm2panel.js handler directly uses the req.query.id parameter without validation or escaping, enabling command chaining via shell metacharacters.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in 4xmen/pm2panel where the pm2panel.js handler at line 188 executes a system command using exec('pm2 restart ' + id) with the id parameter taken directly from req.query.id. Because this input is not sanitized or escaped, an authenticated attacker can inject arbitrary OS commands by including shell metacharacters such as semicolons, leading to command injection. This allows execution of arbitrary commands with the privileges of the pm2panel process.
Potential Impact
An authenticated remote attacker can execute arbitrary system commands on the host running pm2panel. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the pm2panel interface to trusted users only and consider additional input validation or filtering at the application or network level to prevent exploitation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m6fq-fq43-f9v8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-72573"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a79f0cabf8831d539f606f3
Added to database: 08/10/2026, 15:39:54 UTC
Last enriched: 08/10/2026, 15:48:47 UTC
Last updated: 08/11/2026, 03:41:00 UTC
Views: 2
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.