CVE-2025-10959 Wavlink NU516U1 firewall.cgi sub_401778 command injection
Remote attackers can execute arbitrary commands via the firewall.cgi script in Wavlink NU516U1 routers due to improper input validation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-10959?
CVE-2025-10959 is a medium-severity command injection vulnerability in Wavlink NU516U1, published on 25 Sep 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been found in Wavlink NU516U1 M16U1_V240425. The affected element is the function sub_401778 of the file /cgi-bin/firewall.cgi. Such manipulation of the argument dmz_flag leads to command injection. The attack can be executed remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2025-10959?
It affects 1 product.
Products include Wavlink Wl-Nu516u1 Firmware.
How do I fix CVE-2025-10959?
No fix has been published for CVE-2025-10959 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-10959 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-10959 exists.
Other vulnerabilities in Wavlink NU516U1
- CVE-2026-3703 Wavlink NU516U1 login.cgi sub_401A10 out-of-bounds write
- CVE-2026-4861 Wavlink WL-NU516U1 nas.cgi ftext stack-based overflow
- CVE-2026-3612 Wavlink WL-NU516U1 OTA Online Upgrade adm.cgi sub_405AF4 command injection
- CVE-2026-3613 Wavlink WL-NU516U1 login.cgi sub_401A0C stack-based overflow
- CVE-2026-2615 Wavlink WL-NU516U1 firewall.cgi singlePortForwardDelete command injection
Sources
Also known as GHSA-5rc4-jf69-p5ff.