Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Unauthenticated network-reachable CGI overflow (AV:N/AC:L/PR:N/UI:N) yielding command execution as root with device crash gives full C/I/A; scope unchanged as impact stays within the device.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
D-Link DWR-M961 devices with hardware version C1 and software version 1.1.2_C1_202602110044 contain a buffer overflow vulnerability in the quicksetup.cgi interface. A remote attacker can write overly long strings to the test4, ssid2, and username fields and execute arbitrary commands by crafting a specific payload, or cause the device to crash.
AnalysisAI
Remote code execution in the D-Link DWR-M961 4G AC1200 LTE router (hardware C1, firmware 1.1.2_C1_202602110044) allows an unauthenticated attacker to overflow stack/heap buffers in the quicksetup.cgi handler by submitting oversized test4, ssid2, and username field values, gaining arbitrary command execution or crashing the device. The CVSS 4.0 score of 9.3 reflects network-reachable, no-privilege, no-interaction exploitation with full confidentiality, integrity, and availability impact. Reported by VulnCheck; no public exploit identified at time of analysis, and it is not listed in CISA KEV.
Technical ContextAI
The affected component is quicksetup.cgi, a CGI endpoint in the router's embedded web administration interface used for initial device provisioning (SSID, credentials, and test parameters). The root cause is CWE-120 (Classic Buffer Copy Without Checking Size of Input), meaning the CGI copies attacker-supplied field data (test4, ssid2, username) into fixed-size memory buffers without bounds validation. On typical MIPS/ARM SOHO router firmware, such an overflow corrupts adjacent stack memory or the saved return address, enabling control-flow hijack and command execution in the context of the web server process, which on these devices commonly runs as root. The single affected CPE is cpe:2.3:a:d-link_corporation:dwr-m961, confirming the DWR-M961 product line as the target.
RemediationAI
Apply the vendor fix: a patch is available per D-Link security advisory SAP10512 (https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10512) - consult that advisory for the exact patched firmware build for hardware C1, as a specific fixed version string was not included in the source data (Patch status: Patch available per vendor advisory; released patched version not independently confirmed here). Until the updated firmware is installed, disable remote/WAN-side web management so quicksetup.cgi is not reachable from the internet (trade-off: administrators must be on the LAN to manage the device), restrict access to the administrative interface to trusted management hosts or VLANs, and place the router behind an upstream firewall blocking inbound access to its HTTP admin port. Where the quick-setup wizard is no longer needed post-provisioning, ensure the device is fully configured so the setup path is not left exposed.
OS command injection in the D-Link DWR-M961 4G AC1200 LTE router (hardware C1, firmware before 1.1.5_C1_202607071108) le
OS command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1.5_C1_202607071108)
Remote OS command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1.5_C1_2026070
Remote unauthenticated command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1
Command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1.5_C1_202607071108) let
Unauthenticated remote command execution in the D-Link DWR-M961 4G AC1200 LTE router (hardware revision C1, firmware pri
OS command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1.5_C1_202607071108)
Remote unauthenticated command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1
Remote command execution in the D-Link DWR-M961 4G AC1200 LTE router (hardware version C1, firmware before 1.1.5_C1_2026
Remote command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware prior to 1.1.5_C1_20260707
Remote unauthenticated command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1
Remote unauthenticated command injection in the D-Link DWR-M961 4G LTE router (hardware revision C1, firmware before 1.1
Same weakness CWE-120 – Classic Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54810
GHSA-8mjf-qrcg-h2cj