# CVE-2026-90704: D-Link DWR-M921 command injection in disk partition handler

Source: https://junglewise.ai/threats/cve-2026-90704-d-link-dwr-m921-command-injection-in-disk-partition-handler  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-14. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-90704 · Severity: medium · CVSS 6.6 · Published 2026-09-14

The D-Link DWR-M921 wireless router contains a command injection vulnerability in its disk partition management functionality. An authenticated attacker can craft a specially formatted request to execute arbitrary system commands with root privileges, potentially compromising the entire device and any data stored on it.

Technologies: [D-Link DWR-M921](https://junglewise.ai/threats/technologies/dwr-m921). Vendors: [D-Link](https://junglewise.ai/threats/vendors/d-link).

## Quick answers

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

**How severe is CVE-2026-90704?** Medium severity, with a CVSS score of 6.6, published 14 September 2026.

**Which products and versions are affected?** D-Link DWR-M921 1.1.52.

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

**Am I affected by CVE-2026-90704?** Check whether you run D-Link DWR-M921 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

A command injection vulnerability exists in the /boafrm/formDiskPartition handler of D-Link DWR-M921 firmware v1.1.52. The vulnerable code unsafely concatenates user-controlled input (the "devicename" parameter) into shell commands executed via system(), without quoting or filtering shell metacharacters. An authenticated attacker can inject shell commands using semicolon separators in the devicename parameter, leading to arbitrary command execution as root. The attack requires valid authentication (webuicookie session) and is remotely accessible via the web interface. No patches are currently available.

## Affected products

- D-Link DWR-M921 1.1.52

## Timeline

- 2026-09-14: disclosed: Vulnerability publicly disclosed with proof-of-concept
- 2026-08-06: other: GitHub gist published with technical details

## References

- [https://gist.github.com/H3rmesk1t/2052767b9fb397e311c17383a0e19021](https://gist.github.com/H3rmesk1t/2052767b9fb397e311c17383a0e19021)
- [https://vuldb.com/cve/CVE-2026-90704](https://vuldb.com/cve/CVE-2026-90704)

## Related threats

- [D-Link DWR-M921 OS command injection in formWsc](https://junglewise.ai/threats/cve-2026-90706-d-link-dwr-m921-os-command-injection-in-formwsc)
- [D-Link DWR-M921 OS command injection in formSysCmd](https://junglewise.ai/threats/cve-2026-90705-d-link-dwr-m921-os-command-injection-in-formsyscmd)
- [D-Link DWR-M921 OS command injection in formDiskCreateShare](https://junglewise.ai/threats/cve-2026-90703-d-link-dwr-m921-os-command-injection-in-formdiskcreateshare)
- [D-Link DWR-M921 OS command injection in /boafrm/formDiskFormat](https://junglewise.ai/threats/cve-2026-90702-d-link-dwr-m921-os-command-injection-in-boafrm-formdiskformat)
