CVE-2026-13538: Command Injection Vulnerability in Wavlink WL-NU516U1-A Wireless Adapter (M16U1_V240425)

CVE-2026-13538: Command Injection Vulnerability in Wavlink WL-NU516U1-A Wireless Adapter (M16U1_V240425)

Executive Summary

CVE-2026-13538 is a command injection vulnerability affecting the Wavlink WL-NU516U1-A wireless adapter, specifically firmware version M16U1_V240425. The flaw resides in the POST parameter handler of the /cgi-bin/wireless.cgi endpoint, where improper input validation in the sub_401D68 function allows remote attackers to inject and execute arbitrary system commands. This vulnerability can be exploited remotely and without authentication, making it a significant risk for any organization deploying affected devices. Public exploit code is available, and while no confirmed breaches have been reported, the exposure of exploit details increases the likelihood of opportunistic attacks. Wavlink has released a patched firmware to address this issue. Organizations using the affected product should prioritize remediation to prevent potential compromise.

Technical Information

The vulnerability, tracked as CVE-2026-13538, is classified as a command injection (CWE-77) and carries a CVSS v3.1 base score of 6.3, indicating medium severity. The issue is present in the Wavlink WL-NU516U1-A device running firmware M16U1_V240425 and potentially earlier versions. The vulnerable endpoint is /cgi-bin/wireless.cgi, specifically within the sub_401D68 function, which processes POST parameters including SSID2G2, SSID5G2, AuthMethod2, and WPAPSK12.

The root cause is insufficient sanitization of user-supplied input. Attackers can craft POST requests with malicious payloads in these parameters, resulting in arbitrary command execution with the privileges of the web server process. For example, a POST request containing SSID2G2=normalSSID;cat /etc/passwd;# would execute the cat /etc/passwd command on the device, exposing sensitive system information.

This vulnerability is remotely exploitable and does not require authentication, significantly increasing its attack surface, especially for devices exposed to the internet. The presence of public proof-of-concept code further lowers the barrier for exploitation.

Exploitation in the Wild

At the time of writing, CVE-2026-13538 is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and there are no confirmed reports of active exploitation in the wild. However, the availability of public exploit code, such as that found in the Unclecheng-li/poc-lab GitHub repository, means that attackers have the technical means to exploit this vulnerability. Organizations should assume that exploitation is possible and act accordingly, especially if their devices are internet-facing or accessible from untrusted networks.

APT Groups using this vulnerability

There is currently no public attribution of CVE-2026-13538 exploitation to any specific Advanced Persistent Threat (APT) groups or organized threat actors. The vulnerability is generic in nature and could be leveraged by any attacker with network access to the device, including cybercriminals, botnet operators, or opportunistic actors scanning for vulnerable IoT and network devices.

Affected Product Versions

The affected product is the Wavlink WL-NU516U1-A wireless adapter, specifically firmware version M16U1_V240425. Earlier firmware versions may also be vulnerable, but public advisories and exploit documentation focus on this release. No evidence was found of other Wavlink products being affected by this specific CVE as per OpenCVE and other public sources. The vendor has released a patched firmware to address the vulnerability.

Workaround and Mitigation

The primary mitigation is to upgrade the Wavlink WL-NU516U1-A device to the latest firmware version provided by Wavlink. Firmware updates can be obtained from the official Wavlink website. In addition to patching, organizations should restrict remote access to the device management interface, ensuring it is only accessible from trusted networks. Monitoring device logs for unusual POST requests to /cgi-bin/wireless.cgi and unexpected system processes or outbound connections can help detect potential exploitation attempts. Network segmentation and isolating IoT devices on separate VLANs can further reduce risk.

Indicators of Compromise

The following caveat applies: Indicators of compromise are point-in-time and should be validated before enforcement. At the time of writing, no public indicators of compromise were available for CVE-2026-13538.

References

OpenCVE: CVE-2026-13538, Unclecheng-li/poc-lab (PoC repository), Wavlink Official Website

Rescana is here for you

Rescana provides a comprehensive Third-Party Risk Management (TPRM) platform, empowering organizations to continuously monitor, assess, and mitigate cyber risks across their supply chain and vendor ecosystem. Our platform leverages advanced automation and threat intelligence to deliver actionable insights and help you stay ahead of emerging threats. We are happy to answer any questions at info@rescana.com.