/

CVE-2026-120282

Severity:

CRITICAL RISK

(9.9)

OS Command Injection (CWE-78) in WAVLINK WN536AX6-A

CVE-2026-120282

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Remote Command 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 remotely exploitable OS command injection vulnerability affects the host_black function in WAVLINK WN536AX6-A firmware V260507. Manipulation of the mac argument may cause commands to be executed by the device when the vulnerable function is reached.

A remotely exploitable OS command injection vulnerability affects the host_black function in WAVLINK WN536AX6-A firmware V260507. Manipulation of the mac argument may cause commands to be executed by the device when the vulnerable function is reached.

Affected context

The reported issue is in /protocol.csp, in the host_black function, on WAVLINK WN536AX6-A V260507. It becomes a risk when the affected function can be reached remotely and attacker-controlled mac input is processed in a way that permits command injection. The description does not specify whether authentication is required.

The reported issue is in /protocol.csp, in the host_black function, on WAVLINK WN536AX6-A V260507. It becomes a risk when the affected function can be reached remotely and attacker-controlled mac input is processed in a way that permits command injection. The description does not specify whether authentication is required.

Exploit preconditions

  • Attack surface: Remote access to the device interface exposing /protocol.csp
  • Required access: The ability to submit input to the affected function; authentication requirements are not specified
  • Trigger point: Processing of the mac argument by host_black
  • Why exploitation is possible: The argument is reported to allow OS command injection when manipulated
  • Attack surface: Remote access to the device interface exposing /protocol.csp
  • Required access: The ability to submit input to the affected function; authentication requirements are not specified
  • Trigger point: Processing of the mac argument by host_black
  • Why exploitation is possible: The argument is reported to allow OS command injection when manipulated

Why this happens

The underlying issue is unsafe handling of externally supplied input when constructing or invoking an operating-system command. If input is interpreted as command syntax rather than treated strictly as data, an attacker may influence the command executed. This is consistent with CWE-78: Improper Neutralization of Special Elements used in an OS Command; CWE-77 describes the broader command-injection class.

The underlying issue is unsafe handling of externally supplied input when constructing or invoking an operating-system command. If input is interpreted as command syntax rather than treated strictly as data, an attacker may influence the command executed. This is consistent with CWE-78: Improper Neutralization of Special Elements used in an OS Command; CWE-77 describes the broader command-injection class.

Potential impact

  • An attacker may execute commands with the privileges of the affected device process.
  • Device settings or services could be altered, potentially disrupting availability.
  • The device could be compromised and used to affect other systems reachable from its network position.
  • An attacker may execute commands with the privileges of the affected device process.
  • Device settings or services could be altered, potentially disrupting availability.
  • The device could be compromised and used to affect other systems reachable from its network position.

General mitigation guidance

Defensive patterns focus on avoiding shell-based command construction from untrusted input. Where operating-system operations are necessary, use APIs that pass arguments as distinct values, validate inputs against a strict expected format, and apply least privilege to the process performing the operation. Reduce exposure of management interfaces to untrusted networks and favor secure-by-default configurations that limit remote access.

Defensive patterns focus on avoiding shell-based command construction from untrusted input. Where operating-system operations are necessary, use APIs that pass arguments as distinct values, validate inputs against a strict expected format, and apply least privilege to the process performing the operation. Reduce exposure of management interfaces to untrusted networks and favor secure-by-default configurations that limit remote access.

How teams detect issues like this

  • Use static analysis to identify shell invocation and command construction that incorporates request-derived values.
  • Review handlers and routing logic for remotely reachable paths into host_black and other system-command operations.
  • Enforce code-review and CI policies that prohibit unsafe shell usage or require approved wrappers for operating-system calls.
  • Monitor device and network logs for unusual requests to the affected interface and unexpected process activity.
  • Use static analysis to identify shell invocation and command construction that incorporates request-derived values.
  • Review handlers and routing logic for remotely reachable paths into host_black and other system-command operations.
  • Enforce code-review and CI policies that prohibit unsafe shell usage or require approved wrappers for operating-system calls.
  • Monitor device and network logs for unusual requests to the affected interface and unexpected process activity.

Sources

SourceLink
github.comgithub.com/pipiyyb/cve/blob/main/WAVLINK%20WN536AX6-A/WN536AX6-A_mac.md
vuldb.comvuldb.com/cve/CVE-2026-120282
vuldb.comvuldb.com/submit/919791
vuldb.comvuldb.com/vuln/429626
vuldb.comvuldb.com/vuln/429626/cti

Frequently asked

questions

The report describes remote exploitation through the affected function. Actual exposure depends on whether the relevant interface is reachable in a given deployment.

The available description does not state whether authentication is required. Access to the affected interface and function is a key condition.

Avoid building shell commands from externally supplied values. Prefer APIs that separate arguments from commands, and strictly validate values against the expected format.

Minimize remote access to management interfaces, apply least privilege, and use code review and automated checks to identify unsafe command construction.

The report describes remote exploitation through the affected function. Actual exposure depends on whether the relevant interface is reachable in a given deployment.

The available description does not state whether authentication is required. Access to the affected interface and function is a key condition.

Avoid building shell commands from externally supplied values. Prefer APIs that separate arguments from commands, and strictly validate values against the expected format.

Minimize remote access to management interfaces, apply least privilege, and use code review and automated checks to identify unsafe command construction.

Find out what's already
exploitable in your codebase.