# CVE-2026-8271: D-Link DNS-320 OS command injection in network_mgr.cgi

Source: https://junglewise.ai/threats/cve-2026-8271-d-link-dns-320-os-command-injection-in-network-mgr-cgi  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-11. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-8271 · Severity: medium · CVSS 4.7 · Published 2026-05-11

A vulnerability exists in the D-Link DNS-320 ShareCenter, a network-attached storage (NAS) device used for data backup and file sharing. An attacker with administrative access can execute unauthorized system commands on the device. This could lead to a complete compromise of the storage system, allowing the attacker to view, modify, or delete sensitive files and disrupt network operations.

Technologies: [D-Link DNS-320 ShareCenter NAS](https://junglewise.ai/threats/technologies/dns-320-sharecenter-nas), [Dlink Dns-320](https://junglewise.ai/threats/technologies/dns-320), [Dlink Dns-320 Firmware](https://junglewise.ai/threats/technologies/dns-320-firmware). Vendors: [D-Link](https://junglewise.ai/threats/vendors/d-link), [Dlink](https://junglewise.ai/threats/vendors/dlink).

## Quick answers

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

**How severe is CVE-2026-8271?** Medium severity, with a CVSS score of 4.7, published 11 May 2026.

**Which products and versions are affected?** D-Link DNS-320 ShareCenter NAS Firmware 2.06B01 HOTFIX.

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

**Am I affected by CVE-2026-8271?** Check whether you run D-Link DNS-320 ShareCenter NAS, Dlink Dns-320 or Dlink Dns-320 Firmware 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

Multiple OS command injection vulnerabilities exist within the /cgi-bin/network_mgr.cgi binary of the D-Link DNS-320 firmware. The root cause is the improper neutralization of special elements; specifically, the application uses cgiFormString() to read HTTP parameters and passes them unsanitized to the system() function via sprintf(). Affected functions include cgi_speed, cgi_dhcpd_lease, cgi_ddns, cgi_set_ip, cgi_upnp_del, cgi_dhcpd, cgi_upnp_add, and cgi_upnp_edit. While the attack is reachable over the network, it typically requires high privileges (administrative session) to exploit. Successful exploitation allows for full remote code execution (RCE) on the underlying Linux operating system.

## Affected products

- D-Link DNS-320 ShareCenter NAS (Rev.A) Firmware 2.06B01 HOTFIX

## Timeline

- 2026-05-11: advisory: NVD publication date

## References

- [https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/D-Link%20DNS-320%20network_mgr.cgi%20Multiple%20OS%20Command%20Injection%20Vulnerabilities.md](https://github.com/dxz0069/WAVLINK-WN530H4-Command-Injection-in-set_add_routing/blob/main/D-Link%20DNS-320%20network_mgr.cgi%20Multiple%20OS%20Command%20Injection%20Vulnerabilities.md)
- [https://vuldb.com/submit/810078](https://vuldb.com/submit/810078)
- [https://vuldb.com/vuln/362568](https://vuldb.com/vuln/362568)
- [https://vuldb.com/vuln/362568/cti](https://vuldb.com/vuln/362568/cti)
- [https://www.dlink.com/](https://www.dlink.com/)

## Related threats

- [D-Link DNS-320 OS command injection in multiple CGI components](https://junglewise.ai/threats/cve-2026-8273-d-link-dns-320-os-command-injection-in-multiple-cgi-components)
- [D-Link DNS-320 OS command injection in webfile_mgr.cgi](https://junglewise.ai/threats/cve-2026-8272-d-link-dns-320-os-command-injection-in-webfile-mgr-cgi)
- [A weakness has been identified in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321, DNR-322L…](https://junglewise.ai/threats/cve-2026-5312-a-weakness-has-been-identified-in-d-link-dns-120-dnr-202l-dns-315l)
- [A security flaw has been discovered in D-Link DNS-120, DNR-202L, DNS-315L, DNS-320, DNS-320L, DNS-320LW, DNS-321…](https://junglewise.ai/threats/cve-2026-5311-a-security-flaw-has-been-discovered-in-d-link-dns-120-dnr-202l-dns)
