# CVE-2021-46315: Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router DIR-846 DIR846A1FW100A43.bin and…

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.57%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-17T21:15:51.000Z
- Modified: 2026-06-17T04:14:43.743Z
- Weaknesses: CWE-78
- Assigned by: mitre

## Description

Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router DIR-846 DIR846A1_FW100A43.bin and DIR846enFW100A53DLA-Retail.bin. Malicoius users can use this vulnerability to use "\ " or backticks in the shell metacharacters in the ssid0 or ssid1 parameters to cause arbitrary command execution. Since CVE-2019-17510 vulnerability has not been patched and improved www/hnap1/control/setwizardconfig.php, can also use line breaks and backquotes to bypass.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dlink dir-846_firmware: 100a43; 100a53dla

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/doudoudedi/DIR-846_Command_Injection/blob/main/DIR-846_Command_Injection1.md> (exploit, third-party-advisory)
- <https://www.dlink.com/en/security-bulletin/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-46315](https://www.cve.org/CVERecord?id=CVE-2021-46315), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-46315](https://nvd.nist.gov/vuln/detail/CVE-2021-46315), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46315 · Whole record: https://cve.day/CVE-2021-46315.json · Rebuilt by cve.day 2026-11-25T22:58:06.996Z
