/

CVE-2026-135792

Severity:

CRITICAL RISK

(10.0)

OS Command Injection (CWE-78) in Panabit Email Sender

CVE-2026-135792

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote Code Execution

Severity:

CRITICAL RISK

(10.0)

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

A command injection vulnerability in the Email Auth Code Sender component of Panabit Smart Application Gateway TANGr7p10 may allow an attacker to cause operating-system commands to run through the send_email_authcode function. The issue becomes risky when a remotely reachable request passes attacker-controlled Username data into command handling without safe separation or validation.

Affected context

The vulnerability is reported in the send_email_authcode function in user.cgi, within the Email Auth Code Sender component of Panabit Smart Application Gateway TANGr7p10. It concerns handling of the Username argument. The report states that the attack may be launched remotely; whether authentication is required is not specified.

Exploit preconditions

  • Attack surface: The gateway's Email Auth Code Sender functionality must be remotely reachable.
  • Required access: The report does not specify whether authentication or other access controls are required.
  • Trigger point: Processing of the Username argument by send_email_authcode in user.cgi.
  • Why exploitation is possible: Attacker-controlled input may be interpreted as part of an operating-system command rather than handled strictly as data.

Why this happens

The underlying issue is command construction or invocation that fails to keep untrusted input separate from command syntax. If the Username argument is incorporated into an operating-system command without safe parameterization and appropriate validation, crafted input may alter the command being executed. This is OS command injection, mapped to CWE-78, and is also related to the broader improper neutralization of special elements in a command, mapped to CWE-77.

Potential impact

  • An attacker may execute commands with the privileges of the affected service.
  • The gateway's confidentiality, integrity, or availability could be affected.
  • A compromised gateway may provide a foothold for further activity, depending on network access and service privileges.
  • Public disclosure may increase the likelihood of attempted exploitation.

General mitigation guidance

Defensive approaches focus on preventing untrusted input from becoming command syntax:

  • Prefer APIs that perform the required operation directly without invoking a shell.
  • Where process execution is necessary, use fixed executable paths and argument arrays with explicit parameter boundaries.
  • Apply strict, context-appropriate validation to user-controlled values, while avoiding validation as the sole protection.
  • Minimize the privileges and accessible resources of the service that handles email authentication codes.
  • Limit exposure of the relevant functionality and apply appropriate network access controls.

How teams detect issues like this

  • Review code for shell or process invocation that incorporates request parameters, especially Username.
  • Use static analysis to identify command execution APIs and trace whether untrusted input reaches command strings or arguments.
  • Inspect application and gateway logs for unusual requests to the email authentication-code functionality and anomalous child-process activity.
  • Apply code review and CI policies that discourage shell-based command construction and require safe process-execution patterns.

Sources

SourceLink
github.comgithub.com/nenghun/IoT/blob/main/Panabit/rce3/Unauthenticated%20OS%20Command%20Injection.md
vuldb.comvuldb.com/cve/CVE-2026-135792
vuldb.comvuldb.com/submit/1055813
vuldb.comvuldb.com/vuln/442755
vuldb.comvuldb.com/vuln/442755/cti

Frequently asked

questions

The report says the attack may be launched remotely. Actual exposure depends on whether the relevant gateway functionality is reachable and on any access controls in place.

The available description does not say whether authentication is required. Do not assume the endpoint is unauthenticated; assess the deployment's access controls.

Avoid shell command construction for user-influenced operations. Prefer direct APIs or safely parameterized process execution, and validate inputs for the expected purpose.

Reduce the use of shell invocation, track untrusted data into process-execution calls during code review and static analysis, and run services with least privilege.

Find out what's already
exploitable in your codebase.