/

CVE-2026-102793

Severity:

CRITICAL RISK

(9.1)

Command Injection (CWE-77) in Ziroom ZHOME A0101 API

CVE-2026-102793

Deferred

Vulnerability type

Category:

Command Injection

CWE:

CWE-74, CWE-77

Impact:

Remote Code Execution

Severity:

CRITICAL RISK

(9.1)

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 Ziroom ZHOME A0101 firmware allows attacker-controlled input in the hostname or zonename argument to influence operating-system command execution.

Because the affected API is remotely reachable, an attacker may execute arbitrary commands on the device without needing local access, subject to network exposure and authorization controls.

Affected context

The vulnerability occurs in the /api/ZRFirmware/set_time_zone endpoint of Ziroom ZHOME A0101 version 1.0.1.0. It becomes risky when the endpoint accepts remotely supplied hostname or zonename values and passes them into command-processing logic without adequately separating data from executable syntax. Exposure depends on how the device is networked and whether access controls restrict the endpoint.

Exploit preconditions

  • Attack surface: The remotely accessible /api/ZRFirmware/set_time_zone API endpoint
  • Required access: Network reachability to the device and any access permitted by its deployment configuration
  • Trigger point: Processing of the hostname or zonename argument by the set_time_zone function
  • Why exploitation is possible: User-controlled input reaches command execution logic without sufficient command and argument separation

Why this happens

The underlying bug is an injection flaw in which externally controlled text is incorporated into an operating-system command or interpreter expression. If the application constructs commands by concatenating untrusted values, command metacharacters or additional syntax may be interpreted as instructions rather than treated as ordinary data. This behavior maps primarily to CWE-77: Improper Neutralization of Special Elements used in a Command, with CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component describing the broader injection pattern.

Potential impact

  • An attacker may execute arbitrary commands with the privileges of the affected service
  • The device could be modified, disrupted, or rendered unavailable
  • Sensitive configuration data may be accessed or altered
  • The compromised device could be used to affect other systems on the same network
  • Malicious changes could persist or support broader network compromise

General mitigation guidance

Mitigation generally focuses on preventing user-controlled data from becoming command syntax.

Common defensive patterns include:

  • Prefer native library or API calls for time-zone configuration instead of invoking a shell
  • Pass arguments through structured process APIs that do not invoke a command interpreter
  • Apply strict allowlists for valid hostnames and time-zone names
  • Reject unexpected characters, encodings, lengths, and control sequences before processing
  • Keep service accounts and device processes limited to the privileges they require
  • Restrict network exposure and require authenticated, authorized access to administrative endpoints
  • Use secure-by-default configurations that disable unnecessary remote management interfaces

How teams detect issues like this

Organizations can look for command injection risks through:

  • Static analysis rules identifying shell invocation, command construction, or string concatenation involving request parameters
  • Code review checks for APIs that pass HTTP input into process execution, shell wrappers, or system utilities
  • Tests using boundary and invalid input to verify that values remain data and cannot alter command structure
  • Runtime monitoring for unexpected child processes, shell interpreters, or unusual commands launched by the firmware service
  • Network and access-control policies that alert on unexpected requests to administrative firmware endpoints
  • Automated security review tools that flag dangerous command execution patterns for manual validation

Sources

SourceLink
github.comgithub.com/waltz-sketch/Ziroom/blob/main/set_time_zone_hostname_command_injection.md
vuldb.comvuldb.com/cve/CVE-2026-102793
vuldb.comvuldb.com/submit/914649
vuldb.comvuldb.com/submit/914650
vuldb.comvuldb.com/vuln/411470
vuldb.comvuldb.com/vuln/411470/cti

Frequently asked

questions

Yes, the affected API is described as remotely reachable. Practical exploitability depends on network exposure, authentication, authorization, and any device-level access restrictions.

The available description does not establish whether authentication is required. Network access to the endpoint and whatever authorization the deployment enforces are the relevant prerequisites.

Avoid shell-based command construction. Use a dedicated configuration API or a structured process interface with strict allowlist validation and no command-interpreter evaluation.

Treat all request parameters as untrusted, enforce least privilege, restrict administrative endpoints, and include static analysis, code review, and runtime monitoring for command-execution paths.

Find out what's already
exploitable in your codebase.