CVE-2021-45382: D-Link Multiple Routers Remote Code Execution Vulnerability
CVE-2021-45382 is a critical-severity flaw (CVSS 9.8) affecting dir-820l firmware, dir-820lw firmware, dir-826l firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A Remote Command Execution (RCE) vulnerability exists in all series H/W revisions D-link DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L routers via the DDNS function in ncc2 binary file. Note: DIR-810L, DIR-820L, DIR-830L, DIR-826L, DIR-836L, all hardware revisions, have reached their End of Life ("EOL") /End of Service Life ("EOS") Life-Cycle and as such this issue will not be patched.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 97.8% (top 1%) |
| CISA exploited list | Yes, fix due 2022-04-25 |
| 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
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/doudoudedi/D-LINK_Command_Injection1/blob/main/D-LINK_Command_injection.md
- Nuclei scan template: D-Link - Remote Command Execution
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-45382?
dir-820l firmware: mitigate or apply the listed mitigation; dir-820lw firmware: mitigate or apply the listed mitigation; dir-826l firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-45382 being exploited?
Yes. CVE-2021-45382 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-45382 affect?
CVE-2021-45382 affects dir-820l firmware, dir-820lw firmware, dir-826l firmware. Severity is critical (CVSS 9.8). A Remote Command Execution (RCE) vulnerability exists in all series H/W revisions D-link DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L routers via the DDNS function in ncc2 binary file. Note: DIR-810L, DIR-820L, DIR-830L, DIR-826L
How urgent is CVE-2021-45382?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-52079 HIGH 8.8 MITIGATE The administrator password setting of the D-Link DIR-820L 1.06B02 is has Improper Access Control and is vulner
- CVE-2022-26258 CRITICAL 9.8 EXPLOITED MITIGATE D-Link DIR-820L Remote Code Execution Vulnerability
- CVE-2024-48150 CRITICAL 9.8 MITIGATE D-Link DIR-820L 1.05B03 has a stack overflow vulnerability in the sub_451208 function.
- CVE-2023-44809 CRITICAL 9.8 MITIGATE D-Link device DIR-820L 1.05B03 is vulnerable to Insecure Permissions.
- CVE-2023-44808 CRITICAL 9.8 MITIGATE D-Link DIR-820L 1.05B03 has a stack overflow vulnerability in the sub_4507CC function.