CVE-2026-4211
8.8D-Link · NAS devices (DNS and DNR series)
A stack-based buffer overflow exists in various D-Link NAS devices within the Local_Backup_Info function of /cgi-bin/local_backup_mgr.cgi, allowing remote code execution via the f_idx parameter.
Executive summary
A critical stack-based buffer overflow vulnerability in multiple D-Link NAS devices allows remote attackers to execute arbitrary code or crash the system.
Vulnerability
This vulnerability is a stack-based buffer overflow occurring in the Local_Backup_Info function within the local_backup_mgr.cgi binary. By sending a specially crafted, overly long f_idx parameter to the affected endpoint, an authenticated attacker can overwrite the function return address to achieve remote code execution.
Business impact
Successful exploitation of this vulnerability poses a severe risk to organizational data integrity and availability. Because the flaw allows for arbitrary code execution, an attacker could gain full control over the NAS device, leading to unauthorized access to stored files, data exfiltration, or complete system compromise. Given the CVSS score of 8.8, this vulnerability is categorized as high severity and requires immediate attention to prevent potential service disruption or loss of sensitive information.
Remediation
Immediate Action: Check the official D-Link support portal for firmware updates addressing this buffer overflow and apply them immediately to all affected devices.
Proactive Monitoring: Monitor network traffic for unusual POST requests directed at the /cgi-bin/local_backup_mgr.cgi endpoint and review system logs for signs of service crashes or unauthorized configuration changes.
Compensating Controls: Implement a Web Application Firewall (WAF) rule to inspect and block excessively long f_idx parameter values in POST requests to the identified CGI binary.
Exploitation status
Public Exploit Available: Yes — a published proof-of-concept exists and is attributed to the researcher's write-up referenced in the CVE record.
Analyst recommendation
This vulnerability represents a significant security risk due to the potential for remote code execution on storage infrastructure. Organizations should prioritize patching all D-Link NAS devices listed in the affected scope. If patching is not immediately feasible, restrict management interface access to trusted internal networks and utilize WAF filtering to mitigate the risk of exploitation until permanent updates are applied.
More D-Link CVEs
Sources
Originally found and disclosed by pjqwudi (VulDB User), per the CVE Program record.
- VDB-351122 | D-Link DNS-1550-04 local_backup_mgr.cgi Local_Backup_Info stack-based overflow Vulnerability database entry
- VDB-351122 | CTI Indicators (IOB, IOC, IOA)
- Submit #770441 | D-Link DNS-120/202L/315L/320/320L/320LW/321/322L/323/325/326/327L/326/340L/343/345/726-4/1100-4/1200-05 Third-party advisory
- Exploit / PoC
- dlink.com