/

CVE-2026-120280

Severity:

CRITICAL RISK

(10.0)

OS Command Injection (CWE-78) in WAVLINK WireGuard

CVE-2026-120280

Deferred

Vulnerability type

Category:

OS Command Injection

CWE:

CWE-77, CWE-78

Impact:

Potential remote command execution on the router

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 in the WAVLINK WN536AX6-A WireGuard component involves the wireguard_cli_group handler in /protocol.csp. A remote attacker who can reach the handler may be able to manipulate group_id or group_name input to cause operating-system commands to run.

Affected context

The reported issue affects the WireGuard component in WAVLINK WN536AX6-A V260507. It occurs in the wireguard_cli_group handler in /protocol.csp, where the group_id and group_name arguments are involved. Risk depends on whether the handler is reachable and how it processes those values.

Exploit preconditions

  • Attack surface: Network-accessible WireGuard handler in /protocol.csp
  • Required access: Remote access to the handler; whether authentication is required is not specified
  • Trigger point: Processing of group_id or group_name
  • Why exploitation is possible: The reported behavior indicates that manipulated argument values can reach an operating-system command context without adequate separation or validation

Why this happens

The issue is consistent with OS command injection, classified as CWE-78. It can occur when externally influenced input is incorporated into an operating-system command in a way that allows the input to alter the command's structure or interpretation. CWE-77 is also associated with the report as a broader command-injection category.

Potential impact

  • An attacker may execute commands with the privileges of the affected service
  • The router's configuration, traffic, or availability could be compromised
  • An attacker could use the device as a foothold for further network activity
  • Sensitive information accessible to the service could be exposed

General mitigation guidance

Defensive approaches generally focus on avoiding shell-mediated command construction and reducing trust in externally supplied values.

  • Prefer APIs that pass arguments as structured data rather than composing shell commands
  • Validate inputs against strict expected formats and reject unexpected values
  • Apply least privilege to the service that handles WireGuard operations
  • Limit network exposure to management and configuration interfaces
  • Use layered authorization and request validation before sensitive operations

How teams detect issues like this

  • Review command-execution paths for uses of user-controlled or request-derived values
  • Use static analysis to identify shell invocation and unsafe string concatenation
  • Check code review changes involving group_id, group_name, or the wireguard_cli_group handler
  • Apply policies that restrict shell execution and require structured process APIs
  • Monitor for unexpected command execution or unusual activity by the router service

Sources

SourceLink
github.comgithub.com/pipiyyb/cve/blob/main/WAVLINK%20WN536AX6-A/WN536AX6-A_group_id.md
vuldb.comvuldb.com/cve/CVE-2026-120280
vuldb.comvuldb.com/submit/919789
vuldb.comvuldb.com/vuln/429624
vuldb.comvuldb.com/vuln/429624/cti

Frequently asked

questions

The report describes remote initiation. Practical exploitability depends on network reachability and any access controls protecting the handler.

The handler must be reachable, but the report does not specify whether authentication is required.

Avoid constructing shell commands from request data. Use structured process APIs, validate inputs against narrow expected formats, and run the relevant service with limited privileges.

Treat request values as untrusted, review command-execution paths, and enforce code-analysis and review policies that flag unsafe command construction.

Find out what's already
exploitable in your codebase.