/

CVE-2026-101262

Severity:

CRITICAL RISK

(9.1)

OS Command Injection (CWE-77) in Ziroom ZHOME API Endpoint

CVE-2026-101262

Deferred

Vulnerability type

Category:

OS 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

Ziroom ZHOME A0101 1.0.1.0 contains a command injection vulnerability in the /api/ZRQos/set_online_client endpoint. An attacker who can send requests to the remotely reachable endpoint may be able to influence operating-system command execution through the ip argument.

Affected context

The vulnerability occurs in the Ziroom ZHOME A0101 1.0.1.0 API, specifically in the handler for /api/ZRQos/set_online_client. Risk arises when the endpoint accepts attacker-controlled input through the ip argument and incorporates that input into an operating-system command without adequate separation, validation, or escaping.

Exploit preconditions

  • Attack surface: The remotely accessible /api/ZRQos/set_online_client API endpoint
  • Required access: Ability to send requests to the affected service; the available description does not establish whether authentication is required
  • Trigger point: Processing of the ip argument by the endpoint
  • Why exploitation is possible: User-controlled input may reach command execution logic without sufficient controls to prevent command syntax from being interpreted

Why this happens

The underlying bug is an injection flaw in which externally supplied data is combined with an operating-system command. If the application constructs commands through string concatenation, insufficient escaping, or an unrestricted shell invocation, command syntax can be interpreted as executable instructions rather than treated solely as data. This behavior maps primarily to CWE-77: Command Injection, 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 operating-system commands in the service context
  • The service process or underlying device could be compromised
  • Sensitive configuration or device data could be exposed
  • The attacker could alter application behavior or stored data
  • A compromised device could be used for further attacks on connected systems

General mitigation guidance

Mitigation generally focuses on ensuring that network-provided values are never interpreted as command syntax.

Common defensive patterns include:

  • Avoiding shell execution when a direct library or system API can perform the required operation
  • Passing command arguments as structured argument arrays rather than concatenated command strings
  • Applying strict allowlist validation for IP-address input using a dedicated parser
  • Separating validation from execution and rejecting unexpected formats before any system interaction
  • Running the service with the minimum operating-system privileges and restricting its filesystem and network access
  • Reducing trust in client-supplied network parameters by deriving values from trusted application state where practical
  • Enforcing authentication, authorization, and network policy controls around administrative API endpoints

How teams detect issues like this

Detection can combine source review, runtime monitoring, and policy enforcement:

  • Use static analysis rules to identify shell invocation, command construction, and string concatenation involving request parameters
  • Review API handlers for direct or indirect flows from ip or other request fields into process execution functions
  • Flag shell-enabled subprocess calls and command interpreters in security-focused code review
  • Monitor endpoint requests and process activity for unusual command execution, unexpected child processes, or shell metacharacter patterns
  • Enforce API schemas and input-validation policies at service boundaries
  • Use automated code review and software composition analysis tools as supplemental controls for injection-risk patterns

Sources

SourceLink
github.comgithub.com/waltz-sketch/Ziroom/blob/main/set_online_client_ip_command_injection.md
vuldb.comvuldb.com/cve/CVE-2026-101262
vuldb.comvuldb.com/submit/914644
vuldb.comvuldb.com/vuln/411030
vuldb.comvuldb.com/vuln/411030/cti

Frequently asked

questions

Yes. The vulnerability description states that the affected API can be reached remotely, although actual exposure depends on network routing, access controls, and deployment configuration.

The available information does not specify an authentication requirement. The key prerequisite is the ability to submit requests that reach the vulnerable endpoint and influence the ip argument.

The safest pattern is to avoid shell command construction entirely. Where operating-system interaction is unavoidable, use direct APIs, structured argument handling, strict IP parsing, and least-privilege execution.

Treat all request parameters as untrusted, enforce allowlist validation at the API boundary, prohibit unsafe shell invocation patterns, and combine code review with runtime monitoring and endpoint access controls.

Find out what's already
exploitable in your codebase.