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/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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability was detected in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L, DNS-323, DNS-325, DNS-326, DNS-327L, DNR-326, DNS-340L, DNS-343, DNS-345, DNS-726-4, DNS-1100-4, DNS-1200-05 and DNS-1550-04 up to 20260205. Impacted is the function cgi_portforwarding_add/cgi_portforwarding_del/cgi_portforwarding_modify/cgi_portforwarding_add_scan/cgi_dhcpd_lease/cgi_ddns/cgi_ip/cgi_dhcpd of the file /cgi-bin/network_mgr.cgi. The manipulation results in command injection. The attack may be launched remotely. The exploit is now public and may be used.
AnalysisAI
Command injection in D-Link DNS and DNR network attached storage devices allows authenticated remote attackers to execute arbitrary commands through multiple CGI functions in the network management interface. The vulnerability affects numerous models up to firmware version 20260205, and public exploit code is available. An attacker with valid credentials can leverage this to compromise device integrity and potentially access the network.
Technical ContextAI
The vulnerability is a classic command injection flaw (CWE-77: Improper Neutralization of Special Elements used in a Command) in CGI scripts handling network configuration on D-Link DNS/DNR series NAS devices. The affected functions—cgi_portforwarding_add, cgi_portforwarding_del, cgi_portforwarding_modify, cgi_portforwarding_add_scan, cgi_dhcpd_lease, cgi_ddns, cgi_ip, and cgi_dhcpd—accept user input (IP addresses, port numbers, hostnames, DHCP parameters) that is passed unsanitized to system shell commands, likely via shell metacharacters or command substitution operators. The underlying technology involves embedded Linux web servers in NAS appliances using CGI for dynamic configuration. Affected CPE entries span both entry-level (DNS-120, DNS-320 series) and enterprise-grade (DNS-1550-04, DNS-1100-4) models from D-Link's DNS/DNR product families, all running vulnerable firmware versions up to and including 20260205.
RemediationAI
Immediate actions: (1) Identify and inventory all D-Link DNS/DNR devices in your environment using the CPE list above, (2) Check for available firmware updates beyond 20260205 on D-Link support portal (https://www.dlink.com/); if no patches exist, contact D-Link support for security advisory updates, (3) Restrict network access to the web management interface (:80, :443) using firewall rules, allowing only trusted internal subnets, (4) Disable remote management features if not required (disable WAN-side access to /cgi-bin/), (5) Enforce strong authentication: change default credentials immediately and implement account lockout policies, (6) Monitor logs for CGI parameter injection patterns (shell metacharacters in network config requests). Temporary mitigations pending patching: Disable the affected CGI functions if not in use via web interface restrictions, or place devices behind a WAF with command injection detection rules targeting shell operators (;, |, &, `, $(), etc.) in network configuration parameters.
Stack-based buffer overflow in D-Link DNS storage appliances (DNS-120, DNS-340L, DNS-1200-05 and others) through the /cg
Stack-based buffer overflow in D-Link NAS devices (DNS-120, DNR-202L, DNS-315L, DNS-320 series, DNS-326, DNS-1100-4, and
Stack-based buffer overflow in D-Link DNS NAS devices (DNS-120 through DNS-1550-04) allows authenticated attackers to ac
Stack-based buffer overflow in D-Link DNS and DNR network storage devices allows authenticated remote attackers to execu
Stack-based buffer overflow in D-Link NAS devices enables authenticated remote attackers to execute arbitrary code with
Stack-based buffer overflow in D-Link NAS device management interfaces allows authenticated remote attackers to execute
Stack-based buffer overflow in D-Link NAS devices allows authenticated remote attackers to achieve complete system compr
Stack-based buffer overflow in D-Link NAS devices enables remote code execution with high integrity impact for authentic
Improper access controls in D-Link network-attached storage devices (DNS-120 through DNS-1550-04, firmware versions up t
Command injection in D-Link NAS devices (DNS-320, DNS-327L, DNS-345 and others) through the time_machine.cgi script allo
A security vulnerability in A flaw (CVSS 6.3). Risk factors: public PoC available.
A security vulnerability in A vulnerability (CVSS 6.3). Risk factors: public PoC available.
Same weakness CWE-77 – Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-12275