Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via default or reused password
-
DeliveryAuthenticate to NAS web management interface
-
ExploitSend crafted HTTP request to /cgi-bin/ve_mgr.cgi with injected f_dev shell payload
-
ExecutionOS command executes with root privileges
-
ImpactEstablish persistent backdoor or exfiltrate stored data
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 an active authenticated session with administrative privileges on the device's web management interface, as confirmed by PR:H in the CVSS 4.0 vector. The specific vulnerable parameter is f_dev within requests to /cgi-bin/ve_mgr.cgi; no special non-default device configuration beyond a reachable management interface is required. Remote exploitation over the network is possible (AV:N) when the management port is directly accessible, such as when the device is internet-exposed or behind a port-forwarding rule. Exploitation is blocked when the management interface is firewalled and accessible only from trusted hosts, or when the attacker cannot obtain valid administrative credentials. Both DNS-327L and DNS-340L are affected across all firmware versions through 20260717; no platform exclusions are identified in the available data. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) yields a base score of 8.5, reflecting severe impact tempered by the administrative privilege requirement (PR:H). That credential gate is the primary limiting factor separating this from a critical unauthenticated flaw. In practice, however, SOHO and SMB NAS devices are frequently operated with default, weak, or shared administrative passwords, and credential reuse from phishing or earlier breaches substantially reduces the real-world value of that gating. The supplemental E:P metric confirms a proof-of-concept exploit is publicly accessible, compressing the time-to-exploit window and lowering attacker skill requirements. The subsequent-system impact metrics (SC:H/SI:H/SA:H) capture that a successful exploit breaks out of the application layer entirely to the underlying OS, from which an attacker can pivot or persist. The vulnerability is not yet in CISA KEV, so confirmed mass exploitation has not been reported; that said, even a mid-sized operator managing shared storage for a distributed workforce should treat credential hygiene and management interface isolation on these devices as an immediate control, given that public POC code is available. EPSS probability data was not supplied in the source intelligence and cannot be stated. |
| Exploit ScenarioDerived | An attacker who obtains administrative credentials - via default passwords, credential stuffing against reused credentials, or phishing - authenticates to the DNS-327L or DNS-340L web management interface and sends a crafted HTTP request to /cgi-bin/ve_mgr.cgi with a shell-metacharacter-injected f_dev value. A publicly available proof-of-concept demonstrates this technique. Because embedded NAS CGI processes on these devices typically execute as root, the injected command runs with full system privileges, enabling the attacker to install a persistent backdoor or exfiltrate all data from attached storage volumes. |
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-327L and DNS-340L NAS devices (all firmware versions through 20260717) allows a remote authenticated attacker to execute arbitrary operating system commands by supplying crafted input to the f_dev parameter of the /cgi-bin/ve_mgr.cgi endpoint. A proof-of-concept exploit is publicly available, materially lowering the barrier for post-authentication abuse. Full OS-level compromise - including persistent backdoor installation and wholesale data exfiltration from attached storage - is achievable; this CVE is not currently listed in CISA KEV, so widespread active exploitation has not been confirmed.
Earlier versions of this analysis (1)
OS command injection in D-Link DNS-327L and DNS-340L network-attached storage devices (firmware up to build 20260717) lets an attacker inject arbitrary shell commands through the f_dev parameter of the /cgi-bin/ve_mgr.cgi endpoint, yielding code execution on the device OS. The flaw is remotely reachable over the network and publicly available exploit code exists, though no active exploitation has been confirmed via CISA KEV. Because both models are end-of-life consumer/SOHO NAS units, a fix is unlikely to be forthcoming from the vendor.
RemediationAI
No specific patched firmware version is confirmed in the available intelligence; check https://www.dlink.com/ for firmware releases targeting DNS-327L and DNS-340L after build date 20260717. As the most impactful immediate compensating control, restrict access to the device web management interface to trusted internal IP ranges at the network perimeter, blocking all external access to CGI endpoints - this eliminates remote exploitation but does not address threats originating from the LAN. Disable remote management features if not operationally required; side effect is loss of remote administration convenience. Enforce strong, unique administrative credentials immediately; default or reused passwords are the most likely path to achieving the required PR:H authentication. If these devices are at or near end-of-life and a vendor patch is not forthcoming, place the NAS on an isolated VLAN with strict access controls to limit lateral movement exposure. Device replacement with a supported product is advisable for environments where patching is unavailable.
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 DNS-327L and DNS-340L are D-Link SOHO and SMB network-attached storage devices that expose a CGI-based management web interface running on embedded Linux. The affected endpoint /cgi-bin/ve_mgr.cgi fails to sanitize the f_dev argument before incorporating it into a shell invocation, yielding a CWE-78 (Improper Neutralization of Special Elements used in an OS Command) vulnerability. This root cause is characteristic of embedded firmware where CGI scripts call shell utilities by concatenating user input without escaping metacharacters. CPE strings cpe:2.3:a:d-link:dns-327l:*:*:*:*:*:*:*:* and cpe:2.3:a:d-link:dns-340l:*:*:*:*:*:*:*:* confirm both NAS product lines are affected across all known firmware builds up to and including the 20260717 date stamp. The exploit proof-of-concept is documented in a GitHub repository (dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing, file DLINK-CMD-004-vulndb.md) maintained by a researcher who catalogues multiple embedded-device vulnerabilities.
Know when Dns 327l 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
Administrative authentication required (PR:H); CGI command injection escapes application scope to underlying OS (S:C); full confidentiality, integrity, and availability compromise of device and hosted data.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A flaw has been found in D-Link DNS-327L and DNS-340L up to 20260717. Affected by this vulnerability is an unknown functionality of the file /cgi-bin/ve_mgr.cgi. This manipulation of the argument f_dev causes os command injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.
Articles & Coverage 2
Technical POC Analysis
CVE-2026-82690 is an OS command injection (CWE-78) in the D-Link DNS-327L / DNS-340L ShareCenter web CGI handler /cgi-bin/vemgr.cgi, implemented in the binary cgi/diskmgr/vemgr.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 DNS-327L and DNS-340L NAS devices across all current firmware versions contain an authenticated command injection vulnerability enabling remote attackers to achieve full operating system compromise and extract data from attached storage. The public availability of exploit code creates material exploitation risk for organizations; remediation options are limited pending vendor patch availability.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict administrative interface network access via firewall rules to trusted IP ranges only, eliminating unauthenticated attack surface; (2) disable or isolate the /cgi-bin/ve_mgr.cgi endpoint if administratively feasible; (3) implement network segmentation to contain device compromise and limit lateral movement to attached storage; (4) enable comprehensive audit logging and alerting for unusual command patterns; (5) enforce multi-factor authentication on all administrative accounts; (6) consider air-gapping high-value devices or temporary offline operation pending patch release.
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.
OS command injection in D-Link DNS-320L, DNS-327L, DNS-340L, and DNS-345 NAS devices allows remote authenticated attacke
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
EUVD-2026-68483
GHSA-qg4g-6r7x-83jv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB