/

CVE-2026-101263

Severity:

CRITICAL RISK

(9.1)

Command Injection (CWE-74) in Ziroom ZHOME API Endpoint

CVE-2026-101263

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 critical command injection vulnerability in Ziroom ZHOME A0101 1.0.1.0 affects processing of the mac argument in the /api/ZRQos/set_online_client endpoint. A remote attacker may be able to execute operating-system commands when the endpoint accepts attacker-controlled input without adequately separating data from commands.

Affected context

The issue occurs in the ZHOME API endpoint responsible for processing online-client information. Deployments may be at risk when this endpoint is remotely reachable and the mac parameter is incorporated into an operating-system command or command interpreter without robust validation and safe argument handling.

Exploit preconditions

  • Attack surface: Network-accessible /api/ZRQos/set_online_client API endpoint
  • Required access: Ability to send requests to the affected endpoint; authentication requirements may depend on deployment configuration
  • Trigger point: Processing of the mac argument
  • Why exploitation is possible: Attacker-controlled input may reach command execution logic without effective separation, validation, or neutralization of command metacharacters

Why this happens

The underlying bug is an OS command construction pattern in which externally supplied data is treated as part of a command rather than as a strictly bounded argument. This behavior maps primarily to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component, with CWE-77: Improper Neutralization of Special Elements used in a Command describing the command-injection aspect. The risk increases when shell interpretation or string concatenation is used instead of direct process APIs with fixed executables and separate arguments.

Potential impact

  • An attacker may execute arbitrary commands in the privileges of the affected service
  • The device or application runtime could be compromised
  • Sensitive configuration or operational data could be disclosed
  • Attackers could alter device behavior or disrupt availability
  • The compromised system could be used for further network access or lateral movement

General mitigation guidance

Mitigation generally focuses on removing shell interpretation and reducing trust in request parameters.

Common defensive patterns include:

  • Use direct process-execution APIs with fixed executables and separate argument arrays
  • Avoid building commands through string concatenation or passing user input to a shell
  • Apply strict allowlist validation for hardware-address fields such as mac
  • Enforce authentication and authorization before processing administrative API actions
  • Run the service with the minimum filesystem, network, and operating-system privileges
  • Add layered request filtering and rate controls where appropriate

These patterns reduce command-injection exposure while limiting consequences if validation fails.

How teams detect issues like this

Detection approaches commonly include:

  • Static analysis rules for shell execution, command construction, and string concatenation involving request parameters
  • Code review checks for use of shell interpreters or generic process-launch APIs
  • API tests using boundary values and command-separator characters in fields expected to contain hardware addresses
  • Runtime monitoring for unexpected child processes, shell invocations, or unusual process arguments from the API service
  • Network and application logs reviewed for suspicious requests to the affected endpoint
  • Policy enforcement requiring allowlist validation and parameterized process execution

Automated security scanning and code-review tools may help identify these patterns during development.

Sources

SourceLink
github.comgithub.com/waltz-sketch/Ziroom/blob/main/set_online_client_mac_command_injection.md
vuldb.comvuldb.com/cve/CVE-2026-101263
vuldb.comvuldb.com/submit/914645
vuldb.comvuldb.com/vuln/411031
vuldb.comvuldb.com/vuln/411031/cti

Frequently asked

questions

Yes, the issue is described as remotely exploitable when an attacker can reach the affected API endpoint. Whether authentication is required depends on the deployment's access controls.

The reported trigger is the mac argument supplied to /api/ZRQos/set_online_client. It may become dangerous when incorporated into command-processing logic without strict validation and safe argument handling.

Avoid shell-based command construction, use direct process APIs with fixed programs and separated arguments, and validate the mac value against a narrowly defined format.

Combine allowlist input validation, authenticated and authorized API access, least-privilege service execution, static analysis, and runtime monitoring for unexpected command execution.

Find out what's already
exploitable in your codebase.