# CVE-2021-21820: A hard-coded password vulnerability exists in the Libcli Test Environment functionality of D-LINK DIR-3040 1.13B03.

- Severity: Critical 10.0 (CVSS:3.0, scored by talos) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/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): 2.96%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-16T10:24:07.000Z
- Modified: 2026-06-17T03:36:10.633Z
- Weaknesses: CWE-798
- Assigned by: talos

## Description

A hard-coded password vulnerability exists in the Libcli Test Environment functionality of D-LINK DIR-3040 1.13B03. A specially crafted network request can lead to code execution. An attacker can send a sequence of requests to trigger this vulnerability.

(As written by CVE List.)

## Affected

- D-Link: D-LINK DIR-3040 1.13B03
- dlink dir-3040_firmware: 1.13b03

## Every score

- talos: CVSS:3.0 10.0 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://talosintelligence.com/vulnerability_reports/TALOS-2021-1285> (exploit, third-party-advisory)

## Sources

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

---

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