/

CVE-2026-120227

Severity:

CRITICAL RISK

(9.9)

OS Command Injection (CWE-78) in WAVLINK WN701AE Web Backend

CVE-2026-120227

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote Code Execution

Severity:

CRITICAL RISK

(9.9)

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 del_staticrule function in the ioos Web Backend of the WAVLINK WN701AE. A remote attacker who can influence the rule_name argument may cause operating-system commands to run, if the vulnerable function is reachable and the input reaches command execution.

Affected context

The issue is reported in the WAVLINK WN701AE M01AE_V260105, in the ioos Web Backend function del_staticrule in static_route_setting.sh. It becomes risky when a remotely supplied or modifiable rule_name value is passed into an operating-system command without safe handling. The description does not specify authentication requirements or deployment-specific reachability.

Exploit preconditions

  • Attack surface: The ioos Web Backend function must be reachable remotely.
  • Required access: The attacker must be able to provide or influence the rule_name argument; whether authentication is required is not specified.
  • Trigger point: Processing of a static-route deletion request by del_staticrule.
  • Why exploitation is possible: The argument may be interpreted as part of an operating-system command rather than treated strictly as data.

Why this happens

The underlying bug is improper neutralization of special elements used in an operating-system command. If rule_name is incorporated into a shell command without safe argument handling, attacker-controlled input may alter the command's meaning. This is CWE-78: Improper Neutralization of Special Elements used in an OS Command; it is also related to the broader CWE-77: Command Injection category.

Potential impact

  • An attacker may execute commands with the privileges of the affected backend process.
  • The device could be compromised, allowing changes to its configuration or operation.
  • Sensitive device data may be accessed or altered.
  • A compromised device could potentially be used as a foothold for further attacks, depending on network exposure and privileges.

General mitigation guidance

Mitigation generally focuses on preventing untrusted values from changing command behavior.

  • Prefer APIs that invoke programs with separate, explicit arguments rather than through a shell.
  • Where shell execution cannot be avoided, use robust argument handling and strict allowlist validation appropriate to the expected rule names.
  • Treat request parameters as untrusted, even when they originate from an authenticated interface.
  • Run backend processes with the least privileges needed and limit their access to device resources.
  • Apply layered access controls to management interfaces and restrict their network exposure.

How teams detect issues like this

Detection approaches may include:

  • Reviewing code for request-derived values passed to shell or process execution APIs.
  • Using static analysis rules that flag command construction through string concatenation or interpolation.
  • Checking whether validation is strict and occurs before command execution.
  • Monitoring backend process execution and management-interface activity for unexpected commands or unusual request patterns.
  • Enforcing code-review and CI policies that restrict unsafe shell invocation patterns.

Sources

SourceLink
github.comgithub.com/pipiyyb/cve/blob/main/WAVLINK%20WN701AE.md
vuldb.comvuldb.com/cve/CVE-2026-120227
vuldb.comvuldb.com/submit/918620
vuldb.comvuldb.com/vuln/429586
vuldb.comvuldb.com/vuln/429586/cti

Frequently asked

questions

The report indicates remote exploitation is possible. Practical exploitability depends on whether the vulnerable backend function is reachable and how the device is deployed.

The supplied description does not state whether authentication is required. The important condition is whether an attacker can influence rule_name in a request that reaches the vulnerable function.

Avoid passing untrusted input through a shell. Use direct process APIs with separated arguments, and validate values against a strict allowlist.

Treat all externally supplied values as untrusted, review command execution paths with static analysis and code review, and run backend processes with minimal privileges.

Find out what's already
exploitable in your codebase.