Skip to content
Heist/ feed
Back to feed
High

4xmen pm2panel - Authenticated OS Command Injection via id Query Parameter

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-72573
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:08 UTC · Revision 1

Source evidence

4xmen pm2panel - Authenticated OS Command Injection via id Query Parameter

core-osv · Original source

Published 10 Aug 2026, 10:40 UTC

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.

osv:CVE-2026-72573
Complete source record
{
  "id": "cc8e313ca68c6c88278965bc716bc9b82c3a2709171b9c00f181f1750937948c",
  "url": "https://osv.dev/vulnerability/CVE-2026-72573",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "4xmen pm2panel - Authenticated OS Command Injection via id Query Parameter",
    "summary": "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.",
    "evidence": "osv:CVE-2026-72573",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-72573",
      "aliases": [
        "CVE-2026-72573"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/4xmen/pm2panel",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72573.json"
          }
        }
      ],
      "modified": "2026-10-27T02:47:31.472962601Z",
      "provider": "osv",
      "references": [
        "https://github.com/4xmen/pm2panel",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72573.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72573",
        "https://github.com/4xmen/pm2panel/blob/main/pm2panel.js"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "TuranSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72573.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72573",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 459875,
  "published_at": "2026-08-10T10:40:54.998+00:00"
}