# CVE-2026-82691: D-Link DNS-320L DNS-327L DNS-340L DNS-345 OS command injection in CGI handler

Source: https://junglewise.ai/threats/cve-2026-82691-d-link-dns-320l-dns-327l-dns-340l-dns-345-os-command-injection-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-31. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-82691 · Severity: critical · CVSS 9.1 · Published 2026-08-31

D-Link DNS-series network-attached storage devices contain a remote command injection vulnerability in their web-based management interface. An attacker can exploit this flaw by manipulating a parameter in the USB device configuration handler, allowing arbitrary operating system commands to be executed with device privileges. This could lead to complete compromise of the storage device, including data theft, deletion, or denial of service.

Technologies: [D-Link DNS-320L](https://junglewise.ai/threats/technologies/dns-320l), [D-Link DNS-327L](https://junglewise.ai/threats/technologies/dns-327l), [D-Link DNS-340L](https://junglewise.ai/threats/technologies/dns-340l), [D-Link DNS-345](https://junglewise.ai/threats/technologies/dns-345). Vendors: [D-Link](https://junglewise.ai/threats/vendors/d-link).

## Quick answers

**Is CVE-2026-82691 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-82691 being exploited in the wild.

**How severe is CVE-2026-82691?** Critical severity, with a CVSS score of 9.1, published 31 August 2026.

**Which products and versions are affected?** D-Link DNS-320L up to 20260717; D-Link DNS-327L up to 20260717; D-Link DNS-340L up to 20260717; D-Link DNS-345 up to 20260717.

**Is there a fix for CVE-2026-82691?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-82691 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-82691?** Check whether you run D-Link DNS-320L, D-Link DNS-327L, D-Link DNS-340L or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is an OS command injection (CWE-78) in the CGI handler component, specifically in the /cgi-bin/usb_device.cgi script. The vulnerable parameter is f_ups_ip, which is not properly sanitized before being used in system commands. The attack is network-accessible and requires no authentication. An attacker can inject arbitrary shell commands through this parameter to achieve remote code execution with the privileges of the web server or device process. The exploit has been publicly disclosed.

## Affected products

- D-Link DNS-320L up to 20260717
- D-Link DNS-327L up to 20260717
- D-Link DNS-340L up to 20260717
- D-Link DNS-345 up to 20260717

## Timeline

- 2026-08-31: disclosed

## References

- [https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/DLINK-CMD-005-vulndb.md](https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/DLINK-CMD-005-vulndb.md)
- [https://vuldb.com/cve/CVE-2026-82691](https://vuldb.com/cve/CVE-2026-82691)

## Related threats

- [D-Link DNS-340L OS command injection in dropbox.cgi](https://junglewise.ai/threats/cve-2026-85223-d-link-dns-340l-os-command-injection-in-dropbox-cgi)
- [D-Link DNS-340L OS command injection in addon_center.cgi](https://junglewise.ai/threats/cve-2026-85222-d-link-dns-340l-os-command-injection-in-addon-center-cgi)
- [D-Link DNS-340L and DNS-345 OS command injection in iscsi_mgr.cgi](https://junglewise.ai/threats/cve-2026-82692-d-link-dns-340l-and-dns-345-os-command-injection-in-iscsi-mgr-cgi)
- [D-Link DNS-327L and DNS-340L OS command injection in ve_mgr.cgi](https://junglewise.ai/threats/cve-2026-82690-d-link-dns-327l-and-dns-340l-os-command-injection-in-ve-mgr-cgi)
- [D-Link DNS ShareCenter OS command injection in isomount_mgr.cgi](https://junglewise.ai/threats/cve-2026-82689-d-link-dns-sharecenter-os-command-injection-in-isomount-mgr-cgi)
