Skip to content
Noroxi
NVD / CVE Program· CNA microsoft

CVE-2021-40444: Microsoft MSHTML Remote Code Execution Vulnerability

Noroxi assessment

Priority: Now (action score 94/100)

  • CISA has confirmed exploitation in the wild (Nov 3, 2021); it is known to be used in ransomware campaigns. Remediation deadline for US federal agencies: Nov 17, 2021.
  • A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
  • Probability of exploitation in the next 30 days: 97.8% (FIRST EPSS); higher than 99.9% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
  • Fixed version: python-oletools (openSUSE:Tumbleweed) 0.60.2-2.4.
  • Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Patch today or shut off access. Upgrade to python-oletools (openSUSE:Tumbleweed) 0.60.2-2.4 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS

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 additional action. Enterprise customers who manage updates should select the detection build 1.349.22.0 or newer and deploy it across their environments. Microsoft Defender for Endpoint alerts will be displayed as: “Suspicious Cpl File Execution”. Upon completion of this investigation, Microsoft will take the appropriate action to help protect our customers. This may include providing a security update through our monthly release process or providing an out-of-cycle security update, depending on customer needs. Please see the Mitigations and Workaround sections for important information about steps you can take to protect your system from this vulnerability. UPDATE September 14, 2021: Microsoft has released security updates to address this vulnerability. Please see the Security Updates table for the applicable update for your system. We recommend that you install these updates immediately. Please see the FAQ for important information about which updates are applicable to your system.

HighCVSS 8.8 · v3.1KEVWeaponized Fix available
Published
Sep 15, 2021
Updated
Aug 10, 2026
EPSS
97.8% · 99th percentile

Report tools

JSON

Action score

94

Now

Patch today or shut off access.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
30 / 30 · Listed
EPSS
29 / 30 · 97.8%

CISA SSVC decision

Exploitation
active
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · microsoft
8.8
NVD has not scored this yet; the score shown is the CNA’s.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L/E:P/RL:O/RC:C

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Nov 3, 2021. That signals real attacks, not theory.

Remediation deadline for US federal agencies: Nov 17, 2021.

Known to be used in ransomware campaigns.

Get told when this record changes

  • In CISA KEV: exploitation in the wild confirmed
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-40444

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
microsoftwindows 10 1507
microsoftwindows 10 1607
microsoftwindows 10 1809
microsoftwindows 10 1909
microsoftwindows 10 2004
microsoftwindows 10 20h2
microsoftwindows 10 21h1
microsoftwindows 7
microsoftwindows 8.1
microsoftwindows rt 8.1
microsoftwindows server 2004
microsoftwindows server 2008

and 5 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • microsoft windows server 2004before 10.0.19041.1237
  • microsoft windows server 2008all versions
  • microsoft windows server 2008r2
  • microsoft windows server 2012all versions
  • microsoft windows server 2016before 10.0.14393.4651
  • microsoft windows server 2019before 10.0.17763.2183
  • microsoft windows server 2022before 10.0.20348.230
  • microsoft windows server 20h2before 10.0.19042.1237

Versions reported by the vendor

Affected version ranges reported by the assigning authority (microsoft). Independent of NVD's CPE analysis and usually ahead of it.

  • Microsoft Windows 10 Version 1507

    • 10.0.10240.0 and later · before 10.0.10240.19060affected
  • Microsoft Windows 10 Version 1607

    • 10.0.14393.0 and later · before 10.0.14393.4651affected
  • Microsoft Windows 10 Version 1809

    • 10.0.17763.0 and later · before 10.0.17763.2183affected
    • 10.0.0 and later · before 10.0.17763.2183affected
  • Microsoft Windows 10 Version 1909

    • 10.0.0 and later · before 10.0.18363.1801affected
  • Microsoft Windows 10 Version 2004

    • 10.0.0 and later · before 10.0.19041.1237affected
  • Microsoft Windows 10 Version 20H2

    • 10.0.0 and later · before 10.0.19042.1237affected
  • Microsoft Windows 10 Version 21H1

    • 10.0.0 and later · before 10.0.19043.1237affected
  • Microsoft Windows 7

    • 6.1.0 and later · before 6.1.7601.25712affected
  • Microsoft Windows 7 Service Pack 1

    • 6.1.0 and later · before 6.1.7601.25712affected
  • Microsoft Windows 8.1

    • 6.3.0 and later · before 6.3.9600.20120affected
  • Microsoft Windows Server 2008 R2 Service Pack 1

    • 6.1.7601.0 and later · before 6.1.7601.25712affected
  • Microsoft Windows Server 2008 R2 Service Pack 1 (Server Core installation)

    • 6.1.7601.0 and later · before 6.1.7601.25712affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
openSUSE:Tumbleweedpython-oletoolsbefore 0.60.2-2.40.60.2-2.4

Other highest-scoring records for the same primary product.

  • CVE-2021-34527Windows Print Spooler Remote Code Execution VulnerabilityKEV
    95Now
  • CVE-2025-33053Internet Shortcut Files Remote Code Execution VulnerabilityKEV
    91Now
  • CVE-2023-36025Windows SmartScreen Security Feature Bypass VulnerabilityKEV
    91Now

Published before and after this one in the same product

  • ← EarlierCVE-2021-34484Aug 12, 2021 · Windows User Profile Service Elevation of Privilege VulnerabilityKEV
    68This week
  • ← EarlierCVE-2021-36955Sep 15, 2021 · Windows Common Log File System Driver Elevation of Privilege VulnerabilityKEV
    62This week
  • Later →CVE-2021-40449Oct 12, 2021 · Win32k Elevation of Privilege VulnerabilityKEV
    86Now

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
opensuse:python-oletools0.60.2-2.4 · openSUSE:TumbleweedPackage registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Proof-of-concept repository on GitHub ×35

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Metasploit moduleexploit/windows/fileformat/word_mshtml_rceMicrosoft Office Word Malicious MSHTML RCEexploit2021-09-23
Proof-of-concept repository on GitHubstars:202021-09-08
Proof-of-concept repository on GitHubstars:102021-09-09
Proof-of-concept repository on GitHubstars:202021-09-09
Proof-of-concept repository on GitHubstars:42021-09-09
Proof-of-concept repository on GitHubstars:02021-09-09
Proof-of-concept repository on GitHubstars:32021-09-09
Proof-of-concept repository on GitHubstars:42021-09-10
Proof-of-concept repository on GitHubstars:18582021-09-10
Proof-of-concept repository on GitHubstars:72021-09-11
Proof-of-concept repository on GitHubstars:02021-09-11
Proof-of-concept repository on GitHubstars:112021-09-11

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-7 d
  2. Published
  3. Metasploit+8 d
  4. CISA KEV+49 d
  5. TodayNov 12, 2026+1884 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
high · data or configuration can be modified
Availability
low · the service can be disrupted

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
High
Availability impact
Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L

nvd-secondary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records