Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege NAS credentials
-
DeliverySend crafted HTTP request to /cgi-bin/remote_backup.cgi
-
ExploitInject shell metacharacters in 'ip' argument
-
Executioncgi_check_rsync_rw executes unsanitized command
-
ImpactArbitrary OS commands run on device
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network access to the device's web management interface and a valid user account with at least low-privilege access (PR:L per CVSS 4.0 vector). The vulnerable code path is specifically the remote backup CGI endpoint (/cgi-bin/remote_backup.cgi), so the rsync/remote backup feature must be reachable - this is part of the standard web UI on affected devices rather than a separately enabled feature. Exploitation is limited by the authentication requirement: unauthenticated attackers cannot directly reach the vulnerable function without first obtaining credentials. Default or weak credentials on D-Link NAS devices (common in consumer/SMB deployments) significantly reduce this barrier in practice. No specific non-default configuration is required beyond having a user account. |
| Impact | The CVSS 4.0 score of 5.3 with PR:L signals that exploitation requires at least low-privilege authenticated access, which materially limits the attack surface compared to unauthenticated network exploitation. The low vulnerable-system impact metrics (VC:L/VI:L/VA:L) in the provided CVSS 4.0 vector appear conservative for a command injection primitive - command injection on embedded Linux typically yields OS-level access, suggesting the CGI process may run in a restricted context. EPSS data was not provided in the input; no KEV listing is present, so active exploitation is not confirmed. However, a proof-of-concept is publicly available (E:P in the CVSS 4.0 supplemental metric), lowering the bar for exploitation. The most significant real-world risk factor is the EOL status of many affected models: D-Link historically does not backport patches to discontinued hardware, leaving deployed devices permanently vulnerable. The combination of a public POC and an unpatched embedded device accessible over the network represents a meaningful long-term exposure for owners who cannot replace hardware. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege account on the D-Link NAS (or who has obtained such credentials through credential stuffing or default password use) sends a crafted POST request to /cgi-bin/remote_backup.cgi with the 'ip' argument containing shell metacharacters and injected commands. Because the cgi_check_rsync_rw function builds a shell command incorporating the unsanitized input, the injected commands execute in the context of the CGI process on the device. A public proof-of-concept demonstrating this technique is available via the Feishu document referenced in the CVE. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 21, 2026
Command injection in D-Link's remote backup CGI handler exposes approximately 20 NAS and NVR device models - including DNS-320, DNS-325, DNS-1200-05, and DNS-1550-04 - to remote OS command execution by authenticated low-privilege users. The vulnerable parameter is the 'ip' argument passed to the cgi_check_rsync_rw function in /cgi-bin/remote_backup.cgi, which fails to sanitize shell metacharacters before constructing system commands (CWE-77). No public exploit identified at time of analysis as confirmed CISA KEV listing, but a proof-of-concept has been made public, and most affected devices are likely end-of-life with no patch forthcoming.
RemediationAI
No vendor-released patch has been identified at time of analysis. Given D-Link's historical practice of not issuing security fixes for end-of-life hardware, owners should treat replacement with a supported device as the primary remediation path. As an immediate compensating control, restrict network access to the device's web management interface (TCP port 80/443) using firewall rules or VLAN segmentation so that only trusted administrator IP addresses can reach the CGI endpoints - this directly limits the attack surface since exploitation requires network access to the web interface. Disabling the remote backup (rsync) feature within the device's administration panel, if the feature is not operationally required, removes the vulnerable code path; the trade-off is loss of remote backup functionality. Do not expose these devices directly to the internet. Monitor VulDB entry https://vuldb.com/vuln/380827 for any future vendor advisory. The POC document is hosted at the Feishu link in the references.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected devices are D-Link DNS (Network Storage) and DNR (Network Video Recorder) series appliances running embedded Linux firmware with a CGI-based web management interface. The vulnerable function cgi_check_rsync_rw in /cgi-bin/remote_backup.cgi handles rsync-based remote backup operations and accepts an 'ip' argument representing a remote host address. The function appears to pass this value unsanitized into a shell command, enabling injection of arbitrary OS instructions via shell metacharacters (e.g., semicolons, pipes, backticks). CWE-77 (Improper Neutralization of Special Elements in a Command) is the root cause class - distinct from OS command injection (CWE-78) in that it may occur through a scripting language or system call abstraction rather than direct exec. CPE data covers 10 explicitly listed product lines (cpe:2.3:a:d-link:dns-120 through dns-325) and tags indicate an additional 10 models up to DNS-1550-04, all at firmware versions up to 20260205.
Know when Dnr 202l gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Network-exploitable via web UI with low-privilege auth required; scope unchanged and impact capped at low per CVSS 4.0 VC/VI/VA:L indicating restricted CGI process context.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found 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. The affected element is the function cgi_check_rsync_rw of the file /cgi-bin/remote_backup.cgi. The manipulation of the argument ip results in command injection. The attack can be executed remotely. The exploit has been made public and could be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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.
EUVD-2026-46265
GHSA-pcrj-7rmr-mcxc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB