/

CVE-2026-121607

Severity:

CRITICAL RISK

(10.0)

OS Command Injection (CWE-78) in Qihoo 360 D603-2 Devices

CVE-2026-121607

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote OS Command 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 affects the testspeed_command function in Qihoo 360 D603-2, D600-2, D606-6, and D706 devices running affected firmware. Remote manipulation of the host argument may cause operating-system commands to be executed on the device.

A command injection vulnerability affects the testspeed_command function in Qihoo 360 D603-2, D600-2, D606-6, and D706 devices running affected firmware. Remote manipulation of the host argument may cause operating-system commands to be executed on the device.

Affected context

The issue is reported in the /fs2/bin/iscm file's testspeed_command function on Qihoo 360 D603-2, D600-2, D606-6, and D706 devices up to version 6.4.9. It becomes a risk when a remotely reachable operation passes the host argument into command execution without adequately separating data from commands. The description does not establish whether authentication is required.

The issue is reported in the /fs2/bin/iscm file's testspeed_command function on Qihoo 360 D603-2, D600-2, D606-6, and D706 devices up to version 6.4.9. It becomes a risk when a remotely reachable operation passes the host argument into command execution without adequately separating data from commands. The description does not establish whether authentication is required.

Exploit preconditions

  • Attack surface: A remotely reachable interface that invokes the affected speed-test function.
  • Required access: The ability to reach and invoke that operation; whether authentication is required is not specified.
  • Trigger point: Processing of the host argument by testspeed_command.
  • Why exploitation is possible: The argument may be interpreted as part of an operating-system command rather than handled strictly as data.
  • Attack surface: A remotely reachable interface that invokes the affected speed-test function.
  • Required access: The ability to reach and invoke that operation; whether authentication is required is not specified.
  • Trigger point: Processing of the host argument by testspeed_command.
  • Why exploitation is possible: The argument 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 does not safely isolate externally influenced input. If the host value is incorporated into a command in a way that allows command syntax to be interpreted, an attacker may cause unintended commands to run. This is CWE-78: Improper Neutralization of Special Elements used in an OS Command; it is also related to CWE-77, the broader command-injection weakness.

The underlying issue is command construction or invocation that does not safely isolate externally influenced input. If the host value is incorporated into a command in a way that allows command syntax to be interpreted, an attacker may cause unintended commands to run. This is CWE-78: Improper Neutralization of Special Elements used in an OS Command; it is also related to CWE-77, the broader command-injection weakness.

Potential impact

  • An attacker may execute commands with the privileges of the affected process.
  • Device settings or data could be changed, exposed, or destroyed.
  • The device could be disrupted or used as a foothold for further activity.
  • Network resources accessible to the device could be at risk.
  • An attacker may execute commands with the privileges of the affected process.
  • Device settings or data could be changed, exposed, or destroyed.
  • The device could be disrupted or used as a foothold for further activity.
  • Network resources accessible to the device could be at risk.

General mitigation guidance

Defensive approaches focus on avoiding shell interpretation and limiting the trust placed in externally supplied values:

  • Prefer APIs that invoke a fixed executable with separately supplied arguments, rather than building shell command strings.
  • Validate the host value against a narrow, expected format and reject unexpected input.
  • Apply least privilege to the process that performs the operation and restrict its access to sensitive resources.
  • Limit network access to the affected operation to trusted callers where feasible.
  • Use secure-by-default behavior that disables or restricts the operation when its inputs cannot be safely handled.

Defensive approaches focus on avoiding shell interpretation and limiting the trust placed in externally supplied values:

  • Prefer APIs that invoke a fixed executable with separately supplied arguments, rather than building shell command strings.
  • Validate the host value against a narrow, expected format and reject unexpected input.
  • Apply least privilege to the process that performs the operation and restrict its access to sensitive resources.
  • Limit network access to the affected operation to trusted callers where feasible.
  • Use secure-by-default behavior that disables or restricts the operation when its inputs cannot be safely handled.

How teams detect issues like this

  • Review command execution paths for externally influenced values, especially arguments passed to testspeed_command.
  • Use static analysis to flag shell invocation, string-built commands, and flows from request parameters into command arguments.
  • Review code changes and security policies for explicit input validation and safe process-invocation patterns.
  • Monitor for unexpected process launches or unusual command activity from the affected device.
  • Review command execution paths for externally influenced values, especially arguments passed to testspeed_command.
  • Use static analysis to flag shell invocation, string-built commands, and flows from request parameters into command arguments.
  • Review code changes and security policies for explicit input validation and safe process-invocation patterns.
  • Monitor for unexpected process launches or unusual command activity from the affected device.

Sources

SourceLink
gist.github.comgist.github.com/gajgdm6-cpu/e8ef7f512bebb987b0119562873afd5a
vuldb.comvuldb.com/cve/CVE-2026-121607
vuldb.comvuldb.com/submit/1023262
vuldb.comvuldb.com/vuln/430444
vuldb.comvuldb.com/vuln/430444/cti

Frequently asked

questions

The report says the attack may be initiated remotely. Exploitation depends on reaching an interface that invokes the affected function.

The available description does not specify authentication requirements. Access controls around the affected operation will determine who can reach it.

Avoid shell-based command construction. Use process APIs that keep executable names and arguments separate, and validate arguments against a strict expected format.

Treat externally supplied values as untrusted, enforce least privilege, and use code review and static analysis to detect flows into operating-system command execution.

The report says the attack may be initiated remotely. Exploitation depends on reaching an interface that invokes the affected function.

The available description does not specify authentication requirements. Access controls around the affected operation will determine who can reach it.

Avoid shell-based command construction. Use process APIs that keep executable names and arguments separate, and validate arguments against a strict expected format.

Treat externally supplied values as untrusted, enforce least privilege, and use code review and static analysis to detect flows into operating-system command execution.

Find out what's already
exploitable in your codebase.