/

CVE-2026-120238

Severity:

CRITICAL RISK

(9.9)

Command Injection (CWE-78) in WAVLINK ovpn_file Handler

CVE-2026-120238

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 reachable file handler in the WAVLINK WN553X1-B router may pass the file_id argument into an operating-system command without adequate protection. If an attacker can reach the handler and influence that argument, they may be able to cause commands to run on the device.

Affected context

The reported issue affects the ovpn_file handler in WAVLINK WN553X1-B firmware build 260403_2.0.0. The vulnerable behavior is associated with function sub_4162A8 in /bin/ioos, where manipulation of file_id may reach command-processing logic. Exposure depends on whether the handler is reachable in a given deployment and how its input is handled.

Exploit preconditions

  • Attack surface: The ovpn_file handler must be reachable over a network.
  • Required access: The description does not establish whether authentication or other access controls are required.
  • Trigger point: Processing of the file_id argument by the handler.
  • Why exploitation may be possible: If attacker-influenced input is incorporated into an operating-system command without safe separation or validation, it may alter the command's intended behavior.

Why this happens

The reported behavior is consistent with OS command injection, classified as CWE-78. It occurs when externally influenced data is used to construct or invoke an operating-system command without preserving the boundary between command structure and data. CWE-77 is also associated with the report and describes the broader class of command-injection weaknesses.

Potential impact

  • An attacker may execute commands with the privileges of the affected process.
  • Device settings or files could be modified, affecting router integrity or availability.
  • Sensitive device data or network information could be exposed.
  • A compromised router could be used as a foothold for further activity, depending on its access and network position.

General mitigation guidance

Defensive approaches generally focus on avoiding shell-based command construction and keeping user-controlled data separate from command structure.

  • Prefer dedicated APIs or fixed operations over shell invocation.
  • Where command execution is necessary, use argument-based APIs and strict allowlists for accepted values.
  • Reduce trust in request parameters through validation appropriate to their expected format.
  • Apply least privilege to services that handle network requests, and limit their access to files and system functions.
  • Restrict access to administrative and device-management interfaces to trusted networks where practical.

How teams detect issues like this

  • Use static analysis to identify shell invocation APIs and data flows from request parameters such as file_id into command arguments.
  • Review handler code for string concatenation, formatting, or other dynamic construction of operating-system commands.
  • Enforce code-review and CI policies that require safe argument handling and documented justification for command execution.
  • Monitor device and network logs for unusual requests to the affected handler or unexpected process activity, where those signals are available.

Sources

SourceLink
github.comgithub.com/senxitoyshuyi-ui/HACKALL/blob/main/WAVLINK%20WN553X1-B%20Router/WAVLINK_WN553X1-B_ovpn_file_command_injection.md
vuldb.comvuldb.com/cve/CVE-2026-120238
vuldb.comvuldb.com/submit/919248
vuldb.comvuldb.com/vuln/429597
vuldb.comvuldb.com/vuln/429597/cti

Frequently asked

questions

The report describes a remotely executable attack. Actual exposure depends on whether the ovpn_file handler is reachable in the deployment.

The available description does not specify authentication requirements. Network reachability and the ability to supply or influence file_id are relevant conditions.

Avoid constructing shell commands from request data. Prefer dedicated APIs or fixed operations, and pass any necessary values as separate arguments with strict validation.

Track untrusted data into command-execution APIs with static analysis and code review, apply least privilege, and enforce policies against unsafe command construction.

Find out what's already
exploitable in your codebase.