CVE-2025-10959 Wavlink NU516U1 firewall.cgi sub_401778 command injection

Medium 5.3 Published Updated

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.

Weakness: CWE-77, CWE-74

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.

Sources

Also known as GHSA-5rc4-jf69-p5ff.

Is CVE-2025-10959 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free