/

CVE-2026-120198

Severity:

CRITICAL RISK

(10.0)

Command Injection (CWE-77) in WAVLINK WL-WN530BE1-A

CVE-2026-120198

Deferred

Vulnerability type

Category:

Command Injection

CWE:

CWE-74, CWE-77

Impact:

Potential remote command execution on the affected device

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 remotely reachable command injection vulnerability affects the WAVLINK WL-WN530BE1-A router's /protocol.csp handling. If attacker-controlled group_name or IP-FROM values are incorporated into commands without safe handling, a remote attacker may execute commands on the device.

A remotely reachable command injection vulnerability affects the WAVLINK WL-WN530BE1-A router's /protocol.csp handling. If attacker-controlled group_name or IP-FROM values are incorporated into commands without safe handling, a remote attacker may execute commands on the device.

Affected context

The issue is reported in the con_check_read_finish function in /protocol.csp on the WAVLINK WL-WN530BE1-A V251117. It becomes risky when the affected interface is reachable and supplied values for group_name or IP-FROM are used in command processing without adequate separation or validation. The description does not specify authentication requirements or the precise deployment conditions.

The issue is reported in the con_check_read_finish function in /protocol.csp on the WAVLINK WL-WN530BE1-A V251117. It becomes risky when the affected interface is reachable and supplied values for group_name or IP-FROM are used in command processing without adequate separation or validation. The description does not specify authentication requirements or the precise deployment conditions.

Exploit preconditions

  • Attack surface: The device's remotely reachable /protocol.csp interface
  • Required access: Network access to the affected interface; authentication requirements are not specified
  • Trigger point: Processing of group_name or IP-FROM by con_check_read_finish
  • Why exploitation is possible: Supplied values may be interpreted as part of a command rather than strictly as data
  • Attack surface: The device's remotely reachable /protocol.csp interface
  • Required access: Network access to the affected interface; authentication requirements are not specified
  • Trigger point: Processing of group_name or IP-FROM by con_check_read_finish
  • Why exploitation is possible: Supplied values may be interpreted as part of a command rather than strictly as data

Why this happens

The reported behavior is command injection, mapped to CWE-77: Improper Neutralization of Special Elements used in a Command. The underlying insecure pattern occurs when externally influenced input is incorporated into an operating-system command without robust separation between command structure and data. CWE-74 describes the broader injection class that includes this issue.

The reported behavior is command injection, mapped to CWE-77: Improper Neutralization of Special Elements used in a Command. The underlying insecure pattern occurs when externally influenced input is incorporated into an operating-system command without robust separation between command structure and data. CWE-74 describes the broader injection class that includes this issue.

Potential impact

  • An attacker may execute commands with the privileges of the affected service.
  • Device configuration or data could be accessed or altered.
  • Device availability could be disrupted.
  • The device could potentially be used to reach other systems, depending on its permissions and network placement.
  • An attacker may execute commands with the privileges of the affected service.
  • Device configuration or data could be accessed or altered.
  • Device availability could be disrupted.
  • The device could potentially be used to reach other systems, depending on its permissions and network placement.

General mitigation guidance

Mitigation patterns focus on avoiding shell command construction from externally influenced values. Prefer dedicated APIs that pass arguments as data, or eliminate command execution where practical. Apply strict allowlists and validation to inputs, reduce the privileges of services that process requests, and limit network exposure to management interfaces. Defense in depth may include monitoring and network segmentation.

Mitigation patterns focus on avoiding shell command construction from externally influenced values. Prefer dedicated APIs that pass arguments as data, or eliminate command execution where practical. Apply strict allowlists and validation to inputs, reduce the privileges of services that process requests, and limit network exposure to management interfaces. Defense in depth may include monitoring and network segmentation.

How teams detect issues like this

  • Use static analysis to flag shell execution and command construction involving request parameters.
  • Review code paths that pass group_name, IP-FROM, or other externally influenced values into command APIs.
  • Enforce policies that favor non-shell APIs and require review for command execution.
  • Monitor device logs and network activity for unusual requests or unexpected process behavior.
  • Automated code review tools can help identify risky input-to-command flows.
  • Use static analysis to flag shell execution and command construction involving request parameters.
  • Review code paths that pass group_name, IP-FROM, or other externally influenced values into command APIs.
  • Enforce policies that favor non-shell APIs and require review for command execution.
  • Monitor device logs and network activity for unusual requests or unexpected process behavior.
  • Automated code review tools can help identify risky input-to-command flows.

Sources

SourceLink
github.comgithub.com/pipiyyb/cve/blob/main/WN530BE1.md
vuldb.comvuldb.com/cve/CVE-2026-120198
vuldb.comvuldb.com/submit/918551
vuldb.comvuldb.com/vuln/429561
vuldb.comvuldb.com/vuln/429561/cti

Frequently asked

questions

The vulnerability is described as remotely exploitable. Exploitation depends on whether an attacker can reach the affected interface and trigger the vulnerable processing.

The available description does not specify authentication requirements. Network reachability and any access controls on the interface are relevant.

Avoid constructing shell commands from request data. Prefer APIs that keep arguments separate from command syntax, with strict validation as an additional safeguard.

Minimize command execution, review all flows from external input to command APIs, enforce secure coding policies, and run services with least privilege.

The vulnerability is described as remotely exploitable. Exploitation depends on whether an attacker can reach the affected interface and trigger the vulnerable processing.

The available description does not specify authentication requirements. Network reachability and any access controls on the interface are relevant.

Avoid constructing shell commands from request data. Prefer APIs that keep arguments separate from command syntax, with strict validation as an additional safeguard.

Minimize command execution, review all flows from external input to command APIs, enforce secure coding policies, and run services with least privilege.

Find out what's already
exploitable in your codebase.