CVE-2021-33045 is an authentication bypass in the login process of Dahua IP cameras, video intercoms and NVR/XVR recorders: a login request that claims to come from the device's own loopback interface is accepted without valid credentials. NVD scores it 9.8, CISA added it to the KEV catalog on 2024-08-21, and Dahua's fixed builds date from June and July 2021.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
99.6%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
Yes
Listed as known exploited
Published
Vulnerability ID: CVE-2021-33045 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| Dahua IP cameras (IPC-HX1XXX, HX2XXX, HX3XXX, HX5(4)(3)XXX, HX5XXX, HUM7XXX, HX8XXX) | — | builds before May 2020; fixed in builds such as DH_IPC-HX5XXX-Volt_MultiLang_PN_Stream3_V2.820.0000000.5.R.210705 (Dahua DHCC-SA-202106-001) |
| Dahua video intercoms (VTO75X95X, VTO65XXX, VTH542XH) | — | builds before December 2019; fixed in DH_VTO75X95X_Eng_PN_SIP_V4.300.0000003.0.R.210714, DH_VTO65XXX_Eng_PN_V4.300.0000004.0.R.210715 and DH_VTH542XH_MultiLang_SIP_V4.500.0000002.0.R.210715 (Dahua DHCC-SA-202106-001) |
| Dahua NVRs (NVR1XXX, NVR2XXX, NVR4XXX, NVR5XXX, NVR6XX) | cpe:2.3:o:dahuasecurity:nvr-4xxx_firmware:*:*:*:*:*:*:*:* | builds before December 2019; fixed in V4.001 builds of July 2021, for example DH_NVR5XXX-4KS2_MultiLang_V4.001.0000006.1.R.210709 (Dahua DHCC-SA-202106-001; NVD end versions per model) |
| Dahua XVR recorders (XVR4xxx, XVR5xxx, XVR7xxx) | cpe:2.3:o:dahuasecurity:xvr-5x16_firmware:*:*:*:*:*:*:*:* | builds before December 2019; fixed in V4.001 builds of July 2021, for example DH_XVR5x16-I2_MultiLang_V4.001.0000003.1.R.210710 (Dahua DHCC-SA-202106-001) |
What does this mean for affected devices?
NVD describes CVE-2021-33045 as "the identity authentication bypass vulnerability found in some Dahua products during the login process", where "attackers can bypass device identity authentication by constructing malicious data packets." The record is Analyzed, with an NVD Primary CVSS v3.1 score of 9.8 (critical), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CWE-287 and a legacy CVSS v2 score of 10.0. NVD's 19 firmware CPEs cover the IPC-HX3XXX, HX5XXX and HUM7XXX cameras, NVR-1XXX to NVR-6XX and XVR-4x04 to XVR-7x32 recorders and the VTO and VTH intercoms, each ending before the build Dahua lists as fixed, such as nvr-4xxx_firmware before 4.001.0000005.1.r.210713 (NVD).
The researcher bashis, who reported both Dahua login flaws, explains the difference in his Full Disclosure post of 5 October 2021. CVE-2021-33045 is the "Loopback Vulnerability": setting the login type to loopback and the client address to 127.0.0.1 during the global.login sequence "pretends that the login request comes from 'loopback' and will therefore bypass legitimate authentication." He tested it on IPC, VTH, VTO, NVR and DVR devices with firmware "older than beginning/mid 2020", over Dahua's DHIP protocol. The companion CVE-2021-33044 uses the NetKeyboard client type instead, works over DHIP and HTTP/HTTPS, and reaches newer firmware, up to June 2021. Bashis first contacted Dahua on 13 June 2021, received this CVE ID on 3 July 2021, and published limited and full disclosures on 6 September and 6 October 2021.
Dahua's DHCC-SA-202106-001, first published on 2021-09-01 and updated to V1.2 on 2024-01-12, lists the affected lines and fixed builds per model. For CVE-2021-33045 it names:
- IP cameras IPC-HX1XXX, HX2XXX, HX3XXX, HX5(4)(3)XXX, HX5XXX, HUM7XXX and HX8XXX with builds before May 2020, fixed in builds such as
DH_IPC-HX5XXX-Volt_MultiLang_PN_Stream3_V2.820.0000000.5.R.210705. - Video intercoms VTO75X95X, VTO65XXX and VTH542XH with builds before December 2019, fixed in V4.300 and V4.500 builds of July 2021.
- NVRs NVR1XXX, NVR2XXX, NVR5XXX and NVR6XX, whose fix list also includes NVR4XXX builds, with builds before December 2019, fixed in V4.001 builds such as
DH_NVR5XXX-4KS2_MultiLang_V4.001.0000006.1.R.210709. - XVR recorders XVR4xxx, XVR5xxx and XVR7xxx with builds before December 2019, fixed in V4.001 builds such as
DH_XVR5x16-I2_MultiLang_V4.001.0000003.1.R.210710.
The recorder lines make this CVE wider than CVE-2021-33044, whose table covers cameras, PTZ domes, thermal cameras and intercoms but no NVR or XVR. Dahua scores both at 8.1 base (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) and 7.3 temporal, lower than NVD's 9.8 because it rates attack complexity high. To check a unit, Dahua points to the build time on the device's Settings, System Information, Version Information page; fixed versions are available by cloud upgrade or from the download center.
CISA added CVE-2021-33045 to the KEV catalog on 2024-08-21, describing an "authentication bypass vulnerability when the loopback device is specified by the client during authentication", with a due date of 2024-09-11 and known ransomware use listed as Unknown (catalog version 2026.11.13, checked 2026-11-17). CISA's SSVC entry on the NVD record rates exploitation active, automatable yes and technical impact total. FIRST EPSS gives it 0.99593, the 99.95th percentile, in the 2026-11-16 dataset (FIRST EPSS).
Our IP camera and NVR firmware vulnerabilities guide uses this pair as the example of special client types and internal-only paths in a login handler: a request that says it comes from the loopback interface must still prove who it is. The authentication bypass fix guide covers that class. To fix it, install the Dahua build listed for each model or a later one, and keep Dahua's management ports off the internet until every camera, intercom and recorder is updated.
Evidence
- Identity authentication bypass in the login process of some Dahua products; NVD Analyzed; Primary CVSS v3.1 9.8; CWE-287; CVSS v2 10.0; 19 firmware CPEs with end versions such as nvr-4xxx_firmware before 4.001.0000005.1.r.210713. — NVD
- Loopback vulnerability: loopback login type with 127.0.0.1 during global.login bypasses authentication; tested on IPC/VTH/VTO/NVR/DVR, firmware older than beginning/mid 2020, DHIP protocol; CVE-2021-33044 uses NetKeyboard over DHIP and HTTP/HTTPS; contact 13 June 2021, CVE received 3 July 2021, limited disclosure 6 September, full disclosure 6 October 2021. — bashis, Full Disclosure
- First published 2021-09-01, V1.2 on 2024-01-12; CVE-2021-33045 affects IPC builds before May 2020 and VTO/VTH/NVR/XVR builds before December 2019; fixed builds per model from June and July 2021; base 8.1, temporal 7.3; build time on the Version Information page; cloud upgrade. — Dahua PSIRT DHCC-SA-202106-001
- Added to the KEV catalog 2024-08-21, due 2024-09-11, loopback device specified by the client during authentication, ransomware use Unknown (catalog version 2026.11.13). — CISA KEV
- EPSS 0.99593, 99.95th percentile, 2026-11-16 dataset. — FIRST EPSS

Related advisories
Sources
Frequently asked questions
How does CVE-2021-33045 differ from CVE-2021-33044?
Both bypass Dahua's login. CVE-2021-33045 makes the request claim to come from the loopback interface and affects older firmware, before May 2020 on cameras, while CVE-2021-33044 uses the NetKeyboard client type and reaches builds up to June 2021. Only CVE-2021-33045 lists NVR and XVR recorders (per bashis and Dahua DHCC-SA-202106-001).
Which Dahua recorders are affected by CVE-2021-33045?
Dahua lists NVR1XXX, NVR2XXX, NVR5XXX and NVR6XX NVRs, with NVR4XXX builds in the fix list, and XVR4xxx, XVR5xxx and XVR7xxx recorders, all with builds before December 2019, fixed in V4.001 builds of July 2021 (per Dahua DHCC-SA-202106-001).
How do I check whether a Dahua device has the fix?
Log in to the web interface and read the build time on the Settings, System Information, Version Information page, then compare it with the fixed build Dahua lists for that model, or install the update by cloud upgrade (per Dahua DHCC-SA-202106-001).
Why does Dahua score CVE-2021-33045 at 8.1 while NVD scores it 9.8?
Dahua rates attack complexity high, giving 8.1 base and 7.3 temporal, while NVD rates it low, giving 9.8. CISA's KEV listing since 2024-08-21 confirms exploitation in the wild either way (per Dahua DHCC-SA-202106-001, NVD and CISA KEV).
Questions about this page?