CVE-2021-46315: Remote Command Execution (RCE) vulnerability exists in HNAP1/control/SetWizardConfig.php in D-Link Router DIR-
CVE-2021-46315 is a critical-severity flaw (CVSS 9.8) affecting dir-846 firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- EPSS top 6%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 6.6% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2022-02-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-46315?
dir-846 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-46315 being exploited?
CVE-2021-46315 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-46315 affect?
CVE-2021-46315 affects dir-846 firmware. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2021-46315?
Priority 68/100. Critical severity; EPSS top 6%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · D-Link vulnerabilities
Related CVEs
- CVE-2023-6580 HIGH 8.8 MITIGATE A vulnerability, which was classified as critical, was found in D-Link DIR-846 FW100A53DBR
- CVE-2023-43284 HIGH 8.8 MITIGATE D-Link Wireless MU-MIMO Gigabit AC1200 Router DIR-846 100A53DBR-Retail devices allow an authenticated remote a
- CVE-2022-46642 CRITICAL 9.9 MITIGATE D-Link DIR-846 A1_FW100A43 was discovered to contain a command injection vulnerability via the auto_upgrade_ho
- CVE-2022-46641 CRITICAL 9.9 MITIGATE D-Link DIR-846 A1_FW100A43 was discovered to contain a command injection vulnerability via the lan(0)_dhcps_st
- CVE-2022-46552 HIGH 8.8 MITIGATE D-Link DIR-846 Firmware FW100A53DBR was discovered to contain a remote command execution (RCE) vulnerability v