CVE-2026-36828

Command Injection in Panabit PAP‑XM320 /cgi-bin/tools/ajax_cmd Endpoint Enables Root Shell Access

Published May 19, 2026 CVSS 3.1 · 8.8 High EPSS 2.3% KEV · Not listed
Description
A command injection vulnerability exists in the /cgi-bin/tools/ajax_cmd endpoint of Panabit PAP-XM320 up to and including v7.7. The CGI component allows authenticated users to execute arbitrary shell commands with root privileges via the action=runcmd parameter.

Analysis

AI-generated

Technical impact

A command injection flaw exists in the /cgi-bin/tools/ajax_cmd endpoint of Panabit PAP‑XM320 firmware versions up to 7.7. The vulnerability allows an authenticated user to supply an action=runcmd parameter that is executed with root privileges. This flaw enables arbitrary shell command execution, thereby compromising the entire device, allowing the attacker to exfiltrate data, modify configuration, disable services, or further pivot into the network. The weakness is a classic OS Command Injection (CWE-78).

Affected Systems

Panabit PAP‑XM320 devices running firmware version 7.7 and earlier are affected. Newer firmware releases beyond v7.7 are not known to be impacted.

Risk and Exploitability

The exploit requires valid user credentials, so an attacker must first authenticate. Once authenticated, the command injection can be performed remotely if the device is reachable over the network; based on the description, it is inferred that the attack vector is likely network-based. The CVSS score of 8.8 indicates high severity, and the EPSS score of 2% suggests a low but nonzero exploitation probability. The vulnerability is not listed in the CISA KEV catalog. The root‑level impact and straightforward exploitation path imply a high risk scenario. No public patch or workaround is currently provided, meaning the only defense is to migrate to a fixed firmware version or manually block the vulnerable endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the device firmware to a version newer than v7.7 that removes the /cgi-bin/tools/ajax_cmd endpoint or fixes the injection flaw.
  • Restrict external network access to the PAP‑XM320 by limiting interfaces to trusted IP ranges, applying firewall rules, or placing the device behind a VPN.
  • Enforce strict authentication policies and eliminate or reduce privileged accounts to prevent accidental or malicious exploitation of the vulnerable endpoint.

Generated by OpenCVE AI on June 18, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Command Injection in Panabit PAP‑XM320 /cgi-bin/tools/ajax_cmd Endpoint Enables Root Shell Access
Type Values Removed Values Added
Title Root Privilege Command Injection in Panabit PAP‑XM320 CGI Endpoint
Type Values Removed Values Added
Title Root Privilege Command Injection in Panabit PAP‑XM320 CGI Endpoint
Type Values Removed Values Added
First Time appeared Panabit
Panabit pap-xm320
Vendors & Products Panabit
Panabit pap-xm320
Type Values Removed Values Added
Title Command Injection in Panabit PAP‑XM320 /cgi-bin/tools/ajax_cmd Enables Root Command Execution
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Command Injection in Panabit PAP‑XM320 /cgi-bin/tools/ajax_cmd Enables Root Command Execution
Weaknesses CWE-78
Type Values Removed Values Added
Description A command injection vulnerability exists in the /cgi-bin/tools/ajax_cmd endpoint of Panabit PAP-XM320 up to and including v7.7. The CGI component allows authenticated users to execute arbitrary shell commands with root privileges via the action=runcmd parameter.
References
Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 19, 2026, 5:48 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
May 19, 2026, 5:16 PM
Modified
Jul 24, 2026, 12:10 PM