CVE-2021-40407: Reolink RLC-410W IP Camera OS Command Injection Vulnerability
CVE-2021-40407 is a high-severity flaw (CVSS 7.2) affecting rlc-410w 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.
An OS command injection vulnerability exists in the device network settings functionality of reolink RLC-410W v3.0.0.136_20121102. At [1] or [2], based on DDNS type, the ddns->domain variable, that has the value of the domain parameter provided through the SetDdns API, is not validated properly. This would lead to an OS command injection. An attacker can send an HTTP request to trigger this vulnerability.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 47.6% (top 1%) |
| CISA exploited list | Yes, fix due 2025-01-08 |
| Weakness | CWE-78 |
| Published | 2022-01-28 |
| 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.
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-40407?
rlc-410w firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-40407 being exploited?
Yes. CVE-2021-40407 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-40407 affect?
CVE-2021-40407 affects rlc-410w firmware. Severity is high (CVSS 7.2). An OS command injection vulnerability exists in the device network settings functionality of reolink RLC-410W v3.0.0.136_20121102. At [1] or [2], based on DDNS type, the ddns->domain variable, that has the value of the domain parameter prov
How urgent is CVE-2021-40407?
Priority 80/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference
Related CVEs
- CVE-2022-21801 HIGH 7.5 MITIGATE A denial of service vulnerability exists in the netserver recv_command functionality of reolink RLC-410W v3.0.
- CVE-2022-21796 HIGH 8.2 MITIGATE A memory corruption vulnerability exists in the netserver parse_command_list functionality of reolink RLC-410W
- CVE-2022-21236 HIGH 7.5 MITIGATE An information disclosure vulnerability exists due to a web server misconfiguration in the Reolink RLC-410W v3
- CVE-2022-21217 CRITICAL 9.8 MITIGATE An out-of-bounds write vulnerability exists in the device TestEmail functionality of reolink RLC-410W v3.0.0.1
- CVE-2022-21199 MEDIUM 5.9 MITIGATE An information disclosure vulnerability exists due to the hardcoded TLS key of reolink RLC-410W v3.0.0.136_201