Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to D-Link admin web UI
-
DeliverySend crafted POST request to /cgi-bin/usb_device.cgi
-
ExploitInject shell commands via f_ups_ip parameter
-
ExecutionCGI handler executes unsanitized input in OS shell
-
PersistAttain arbitrary command execution with device privileges
-
ImpactFull NAS compromise and potential LAN pivot
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques 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 authenticated access to the device's web management interface with administrative privileges (PR:H per CVSS 4.0 vector). The specific vulnerable code path is the |
| Impact | The CVSS 4.0 base score of 8.5 reflects a genuine high-severity finding with a nuanced profile: AV:N (network reachable), AC:L (no special conditions), PR:H (admin-level authentication required), and full high-impact scores across vulnerable and subsequent systems (VC/VI/VA/SC/SI/SA all H). The PR:H requirement is the primary risk limiter - exploitation requires valid admin credentials. However, D-Link consumer NAS devices frequently retain default credentials (admin/admin or blank passwords) in real-world deployments, substantially lowering the practical exploitation bar beyond what CVSS PR:H implies. The E:P tag in the CVSS 4.0 threat metric confirms a public proof-of-concept exists, corroborated by the GitHub reference. No CISA KEV listing is present, suggesting active exploitation has not been observed or reported at scale as of analysis. No EPSS data was provided. The subsequent-system impact metrics (SC:H/SI:H/SA:H) indicate potential for lateral movement or impact beyond the NAS itself - consistent with a rooted embedded Linux device on an internal network. Overall: real operational risk for environments running these models with default or weak credentials, attenuated for those enforcing strong auth. |
| Exploit ScenarioDerived | An attacker with access to the device's web management interface (or who has obtained admin credentials via credential stuffing against a default admin/admin account) sends a crafted HTTP POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 31, 2026
OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows remote authenticated attackers to execute arbitrary operating system commands by manipulating the f_ups_ip argument passed to /cgi-bin/usb_device.cgi. The vulnerability arises from unsanitized user-controlled input being passed directly to an OS shell call (CWE-78) within the CGI handler responsible for USB/UPS device configuration. A public proof-of-concept exploit has been disclosed; no patch has been identified at time of analysis. EPSS data was not provided, but the combination of a network-accessible vector, publicly available exploit, and widespread SMB/home-lab deployment of these NAS models elevates real-world risk.
Earlier versions of this analysis (1)
OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L and DNS-345 network-attached storage devices (firmware up to 20260717) lets remote attackers execute arbitrary operating-system commands by manipulating the f_ups_ip argument of the /cgi-bin/usb_device.cgi CGI Handler. Publicly available exploit code exists, and the vendor CVSS 4.0 vector (PR:H) indicates privileged access is expected, though the description does not independently confirm the authentication level. No public exploit identified as actively exploited - this is not on CISA KEV at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis. The D-Link website (https://www.dlink.com/) should be monitored for a security advisory or firmware update addressing CVE-2026-82691. As an immediate compensating control, restrict access to the device's web management interface (TCP port 80/443) using firewall rules or VLAN segmentation so that only trusted management hosts can reach the CGI endpoint - this does not eliminate the vulnerability but limits the attacker pool. Change the default admin credentials to a strong, unique password immediately; this directly counters the most likely exploitation path since PR:H is required. If the UPS IP configuration feature is not in use, consider whether the CGI endpoint can be disabled via firmware configuration. Note that network-level restrictions may affect legitimate remote management workflows and should be coordinated with operational teams.
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 component is the CGI handler /cgi-bin/usb_device.cgi on D-Link DNS-series NAS devices, which appears to handle UPS (Uninterruptible Power Supply) IP configuration via the f_ups_ip parameter. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) indicates the parameter is concatenated into a shell command without sufficient sanitization, allowing injection of arbitrary shell metacharacters (e.g., semicolons, backticks, pipes). The affected CPEs - cpe:2.3:a:d-link:dns-320l:*, dns-327l:*, dns-340l:*, dns-345:* - all use wildcard version ranges, indicating all known firmware revisions up to build date 20260717 are affected. These are consumer and SMB-class network-attached storage devices running embedded Linux, where CGI scripts typically execute with root or elevated daemon privileges.
Know when Dns 320l 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:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Network-accessible CGI endpoint (AV:N, AC:L); admin credentials required (PR:H); scope change to subsequent systems justified by full high subsequent-system impact in CVSS 4.0 source data.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability has been found in D-Link DNS-320L, DNS-327L, DNS-340L and DNS-345 up to 20260717. Affected by this issue is some unknown functionality of the file /cgi-bin/usb_device.cgi of the component CGI Handler. Such manipulation of the argument f_ups_ip leads to os command injection. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.
Articles & Coverage 2
Technical POC Analysis
The vulnerability is an OS command injection, CWE-78, in the D-Link ShareCenter CGI handler cgi/backupmgr/usbdevice.cgi, exposed at /cgi-bin/usbdevice.cgi.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
D-Link NAS storage devices in the DNS-3xx series-widely deployed in SMBs and remote offices-face unauthorized command execution risk; any authenticated user can exploit a known vulnerability to gain full system control. No vendor patch exists, creating immediate threat to data confidentiality and integrity. Organizations must urgently decide between network isolation strategies or hardware replacement within 30 days.
No vendor-released patch identified at time of analysis. Implement network segmentation to isolate affected devices on a dedicated VLAN with strict ingress/egress filtering. Restrict administrative access to trusted internal networks or VPN connections only; disable all remote protocols (SSH, web UI) from external or untrusted sources. Enforce strong administrative credentials. Deploy network or host-based monitoring to detect suspicious activity such as command execution, process spawning, or lateral movement attempts. Publicly available exploit code exists-prioritize hardware replacement or service discontinuation within 60 days.
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
OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows a low-privileged remote atta
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.
EUVD-2026-68485
GHSA-vgqw-w77q-phfq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB