CVE-2021-40444
CVE-2021-40444 is a security flaw in Microsoft MSHTML, a part of Windows, Microsoft’s operating system. Opening a booby-trapped file can let an attacker run their own code through Microsoft MSHTML. The US Cybersecurity and Infrastructure Security Agency (CISA) added it to its catalog of flaws known to be used in attacks on 3 Nov 2021, and says ransomware gangs have used it.[1]
Microsoft MSHTML is in things households have, such as phones, computers, browsers and everyday apps, so the fix matters at home as much as at work. Fixed in version 10.0.10240.19060, 10.0.14393.4651, 10.0.17763.2183 and 10.0.18363.1801 and others.
Description
CISA calls it a remote code execution in Microsoft MSHTML. In its words: “Microsoft MSHTML contains a unspecified vulnerability that allows for remote code execution.”[1]
The CVE record adds: “Microsoft is investigating reports of a remote code execution vulnerability in MSHTML that affects Microsoft Windows. Microsoft is aware of targeted attacks that attempt to exploit this vulnerability by using specially-crafted Microsoft Office documents. An attacker could craft a malicious ActiveX control to be used by a Microsoft Office document that hosts the browser rendering engine. The attacker would then have to convince the user to open the malicious document. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. Microsoft Defender Antivirus and Microsoft Defender for Endpoint both provide detection and protections for the known vulnerability. Customers should keep antimalware products up to date. Customers who utilize automatic updates do not need to take…”[2]
The underlying weakness is path traversal (CWE-22), in MITRE’s list of common software weaknesses.
It scores 8.8 out of 10 on the Common Vulnerability Scoring System, which rates it high, scored by the organisation that published the CVE using CVSS 3.1.[2]
Affected versions
NVD’s record lists these fixed versions: in each line, everything before the version shown is affected.[2]
| Product | Fixed in |
|---|---|
| Windows 10 Version 1507 | 10.0.10240.19060 |
| Windows 10 Version 1607 | 10.0.14393.4651 |
| Windows 10 Version 1809 | 10.0.17763.2183 |
| Windows 10 Version 1909 | 10.0.18363.1801 |
| Windows 10 Version 2004 | 10.0.19041.1237 |
| Windows 10 Version 20H2 | 10.0.19042.1237 |
| Windows 10 Version 21H1 | 10.0.19043.1237 |
| Windows 7 | 6.1.7601.25712 |
Every device with Microsoft MSHTML needs the update.
Exploitation
CISA added it to its catalog of known exploited vulnerabilities on 3 Nov 2021, 49 days after it was made public. CISA lists a flaw only when it has reliable evidence of it being exploited, and gave US federal agencies until 17 Nov 2021 to fix it.[1] CISA says ransomware gangs have used it.
FIRST’s Exploit Prediction Scoring System, which estimates how likely a flaw is to be used in attacks in the next 30 days from what it sees across the internet, puts it at 98%. That’s in the top 1% of the flaws it scores.[4]
CISA assesses it as not automatable: each attack takes some work.
CISA doesn’t say who was attacked, or how.
Fix
Microsoft has published a fix or advice.[3] CISA’s required action: “Apply updates per vendor instructions.”[1]
- Update Microsoft MSHTML now.On Windows: Settings, Windows Update, Check for updates, then restart. Office updates come the same way, or from any Office app: File, Account, Update Options. Then turn on automatic updates, so the next fix arrives on its own.
- Check you’re on 10.0.10240.19060 or later.Fixed in version 10.0.10240.19060, 10.0.14393.4651, 10.0.17763.2183 and 10.0.18363.1801 and others. Anything older is what attackers are going after.
- If there’s no update, stop using it.CISA’s advice when a flaw being used in attacks has no fix is to stop using the product until it does.
Timeline
| Date | Event |
|---|---|
| The flaw is made public in the National Vulnerability Database, with a severity score of 8.8.[2] | |
| CISA adds it to its catalog of flaws known to be used in attacks, noting that ransomware gangs have used it.[1] | |
| CISA’s deadline for US government agencies to fix it.[1] | |
| FIRST puts the odds of it being used in attacks in the next 30 days at 98%.[4] |
See also
Other Microsoft MSHTML flaws
- CVE-2019-0541: remote code execution ·
Other Microsoft flaws
- CVE-2026-96951, Microsoft Windows: command injection ·
- CVE-2026-65660, Microsoft SharePoint: code injection ·
- CVE-2026-85880, Microsoft Windows: heap-based buffer overflow ·
- CVE-2026-81963, Microsoft Windows: link following ·
- CVE-2019-1068, Microsoft SQL Server: remote code execution ·
Other path traversal flaws
- CVE-2025-61624, Fortinet products: path traversal ·
- CVE-2021-3199, ONLYOFFICE Docs: server path traversal ·
- CVE-2026-104286, Fortinet FortiMail: path traversal ·
- CVE-2026-93616, Check Point products: path traversal ·
- CVE-2026-66384, JFrog Artifactory: improper limitation of a pathname to a restricted directory ·
Added the same day
- CVE-2021-42258, BQE BillQuick Web Suite: SQL injection ·
- CVE-2021-42013, Apache HTTP Server: path traversal ·
- CVE-2021-41773, Apache HTTP Server: path traversal ·
- CVE-2021-40539, Zoho ManageEngine: aDSelfService plus authentication bypass ·
- CVE-2021-38649, Microsoft Open Management Infrastructure (OMI): privilege escalation ·
Every Microsoft flaw on CISA’s list · Everything added in November 2021
References
- ^ Cybersecurity and Infrastructure Security Agency. “Microsoft MSHTML Remote Code Execution Vulnerability”. Known Exploited Vulnerabilities Catalog, added 3 Nov 2021.
- ^ National Institute of Standards and Technology. “CVE-2021-40444 Detail”. National Vulnerability Database, published 15 Sep 2021.
- ^ Microsoft. Advisories and fixes: msrc.microsoft.com, portal.msrc.microsoft.com.
- ^ FIRST. “Exploit Prediction Scoring System”. EPSS 0.978, percentile 99.9, 31 Oct 2026.
- CVE Program. “CVE-2021-40444”. The official CVE record.
This article is built from CISA’s catalog (version 2026.10.30), NVD’s record and FIRST’s scores, kept in HARD’s database and checked every morning. The plain English is HARD’s.

