# CVE-2026-82688: D-Link DNS-340L and DNS-345 OS command injection in virtual_vol.cgi

Source: https://junglewise.ai/threats/cve-2026-82688-d-link-dns-340l-and-dns-345-os-command-injection-in-virtual-vol  
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-82688 · Severity: critical · CVSS 9.1 · Published 2026-08-31

D-Link DNS-340L and DNS-345 are network-attached storage devices used to centralize file storage and sharing in corporate environments. A remote attacker can execute arbitrary OS commands on the device without authentication by sending specially crafted requests to the Virtual Volume Handler component, gaining full control over the storage device and any data it contains.

Technologies: [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-82688 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-82688 being exploited in the wild.

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

**Which products and versions are affected?** D-Link DNS-340L 1.01B04, 1.03B06, 1.04.B02, 1.05b04; D-Link DNS-345 1.01B04, 1.03B06, 1.04.B02, 1.05b04.

**Is there a fix for CVE-2026-82688?** 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-82688 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-82688?** Check whether you run D-Link DNS-340L or D-Link DNS-345 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 flaw in the /cgi-bin/virtual_vol.cgi script within the Virtual Volume Handler component. The vulnerable parameters (f_sharename, f_target, f_name) are not properly sanitized before being passed to shell commands, allowing an attacker to inject arbitrary commands. Remote exploitation requires network access to the affected device's web interface; no authentication is required. A successful exploit grants the attacker OS-level code execution with the privileges of the web server process. Patches or firmware updates are recommended to validate and sanitize all user inputs.

## Affected products

- D-Link DNS-340L 1.01B04, 1.03B06, 1.04.B02, 1.05b04
- D-Link DNS-345 1.01B04, 1.03B06, 1.04.B02, 1.05b04

## Timeline

- 2026-08-31: disclosed

## References

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

## 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-320L DNS-327L DNS-340L DNS-345 OS command injection in CGI handler](https://junglewise.ai/threats/cve-2026-82691-d-link-dns-320l-dns-327l-dns-340l-dns-345-os-command-injection-in)
- [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)
