/

CVE-2026-135791

Severity:

CRITICAL RISK

(9.9)

OS Command Injection (CWE-78) in Panabit TANGr7p10 Gateway

CVE-2026-135791

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote Command Execution

Severity:

CRITICAL RISK

(9.9)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Panabit Smart Application Gateway TANGr7p10 has a remotely reachable command-injection flaw in the edit_data_pie function. If the Name argument is handled unsafely by the affected endpoint, an attacker may cause operating-system commands to run on the gateway.

Affected context

The reported issue is in the edit_data_pie function associated with /cgi-bin/flowcontrol/ajax_data_pie in Panabit Smart Application Gateway TANGr7p10. The risk arises when remotely supplied Name data reaches command execution without being safely separated from command syntax. The description does not specify whether authentication is required.

Exploit preconditions

  • Attack surface: The affected CGI endpoint is reachable over the network.
  • Required access: An attacker needs whatever access the deployment requires to reach and invoke the endpoint; authentication requirements are not specified in the report.
  • Trigger point: Processing of the Name argument by edit_data_pie.
  • Why exploitation is possible: The argument may be interpreted as part of an operating-system command rather than treated strictly as data. A public exploit has been reported, but its availability does not establish that every deployment is exploitable.

Why this happens

The reported behavior is consistent with CWE-78: Improper Neutralization of Special Elements used in an OS Command. The underlying bug class occurs when application data is incorporated into an operating-system command in a way that allows input to alter the command's structure or behavior. This is also related to CWE-77: Improper Neutralization of Special Elements used in a Command.

Potential impact

  • An attacker may execute commands with the privileges of the gateway process.
  • The gateway could be compromised, disrupting its services or configuration.
  • Sensitive data accessible to the process could be exposed or altered.
  • A compromised gateway could potentially be used to reach other systems, depending on network access and privileges.

General mitigation guidance

Defensive patterns for command-injection risks include avoiding operating-system shell commands when a safer library or API can perform the same task. Where command execution is necessary, use APIs that keep arguments separate from command syntax, validate inputs against narrow allowlists, and apply context-appropriate encoding rather than relying on ad hoc filtering. Restrict endpoint exposure and run services with the least privileges needed so that any command execution has a limited scope.

How teams detect issues like this

  • Review command construction and execution paths, especially where request parameters such as Name reach shell or process APIs.
  • Use static analysis rules to flag shell invocation and untrusted data flowing into command strings.
  • Add code-review checks for unsafe concatenation, incomplete input validation, and shell use where safer APIs are available.
  • Apply request validation and endpoint-access policies, and monitor for unexpected process creation by the gateway service.
  • Automated security review tools may help identify risky input-to-command data flows.

Sources

SourceLink
github.comgithub.com/nenghun/IoT/blob/main/Panabit/rce2/RCE2.md
vuldb.comvuldb.com/cve/CVE-2026-135791
vuldb.comvuldb.com/submit/1055812
vuldb.comvuldb.com/vuln/442754
vuldb.comvuldb.com/vuln/442754/cti

Frequently asked

questions

The report describes the attack as remotely initiable. Exploitability in a particular deployment depends on whether the affected endpoint is reachable and any access controls in place.

The available description does not say whether authentication is required. The relevant deployment controls and endpoint access requirements should be assessed.

Avoid shell-based command construction where possible. If process execution is necessary, pass arguments through APIs that separate them from command syntax and strictly validate accepted values.

Minimize the use of shell commands, review untrusted-data flows into process APIs, enforce narrow input policies, and run services with least privilege.

Find out what's already
exploitable in your codebase.