CVE-2021-21985: VMware vCenter Server Improper Input Validation Vulnerability
CVE-2021-21985 is a critical-severity flaw (CVSS 9.8) affecting vcenter server, cloud foundation, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The vSphere Client (HTML5) contains a remote code execution vulnerability due to lack of input validation in the Virtual SAN Health Check plug-in which is enabled by default in vCenter Server. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-08-12 · 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.
- GitHub PoC: alt3kx/CVE-2021-21985_PoC (214 stars)
- GitHub PoC: xnianq/cve-2021-21985_exp (115 stars)
- GitHub PoC: testanull/Project_CVE-2021-21985_PoC (28 stars)
- GitHub PoC: aristosMiliaressis/CVE-2021-21985
- GitHub PoC: bigbroke/CVE-2021-21985
- Metasploit: VMware vCenter Server Virtual SAN Health Check Plugin RCE
- Nuclei scan template: VMware vSphere Client (HTML5) - Remote Code Execution
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-21985?
vcenter server: downgrade or apply the listed mitigation; cloud foundation: upgrade to 3.10.2.1, 4.2.1. Exact commands for each OS are on this page.
Is CVE-2021-21985 being exploited?
Yes. CVE-2021-21985 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-21985 affect?
CVE-2021-21985 affects vcenter server, cloud foundation. Severity is critical (CVSS 9.8). The vSphere Client (HTML5) contains a remote code execution vulnerability due to lack of input validation in the Virtual SAN Health Check plug-in which is enabled by default in vCenter Server. A malicious actor with network access to port 4
How urgent is CVE-2021-21985?
Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-59309 CRITICAL 9.8 UPGRADE VMware vCenter contains an authentication bypass vulnerability in the VMware Directory Service. A malicious ac
- CVE-2026-59310 CRITICAL 9.8 EXPLOITED UPGRADE Broadcom VMware vCenter Path Traversal Vulnerability
- CVE-2021-21972 CRITICAL 9.8 EXPLOITED UPGRADE DOWNGRADE VMware vCenter Server Remote Code Execution Vulnerability
- CVE-2024-38813 HIGH 7.5 EXPLOITED UPGRADE DOWNGRADE VMware vCenter Server Privilege Escalation Vulnerability
- CVE-2024-38812 CRITICAL 9.8 EXPLOITED UPGRADE DOWNGRADE VMware vCenter Server Heap-Based Buffer Overflow Vulnerability