CVE-2021-21972: Unauthenticated Remote Code Execution in VMware vSphere Client
- Vendor
- VMware
CVE-2021-21972 is an unauthenticated remote code execution vulnerability in a vCenter Server plugin exposed through the VMware vSphere Client HTML5 interface. The vulnerable functionality accepts a tar archive without authentication and processes relative path traversal sequences in archive entries, allowing attacker-controlled files to be written outside the intended extraction directory. This enables arbitrary code execution on the operating system hosting vCenter Server. The vulnerability combines missing authentication with relative path traversal (CWE-23). Affected products are VMware vCenter Server 7.x before 7.0 U1c, 6.7 before 6.7 U3l, and 6.5 before 6.5 U3n, and VMware Cloud Foundation 4.x before 4.2 and 3.x before 3.10.1.2. Exploitation requires neither authentication nor user interaction, and exploitation in the wild is documented.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits remote command execution with unrestricted privileges on the underlying vCenter Server operating system, potentially resulting in complete compromise of the affected server. Attackers can deploy web shells or backdoors, access sensitive information, modify system files, and establish persistent access. Compromise of the virtualization management plane can facilitate subsequent lateral movement and attacks against managed infrastructure. The vulnerability has been used for initial access in ransomware operations, including intrusions involving Memento and Akira affiliates.
Mitigation
If you can’t patch tonight, do this now.
If patching cannot be performed immediately, apply the official VMware workaround documented in KB 82374 until the fixes are deployed. Restrict network access to the vCenter HTTPS management interface to trusted administrative systems and management networks. Review access records and server activity for unexpected uploads, command execution, unauthorized accounts, and persistence.
Remediation
Patch, then assume compromise.
Apply the VMware fixes documented in advisory VMSA-2021-0002. Fixed releases are vCenter Server 7.0 U1c, 6.7 U3l, and 6.5 U3n, and VMware Cloud Foundation 4.2 and 3.10.1.2 for their respective release branches. Upgrade to these releases or later applicable fixed versions. Review server logs and system access records for exploitation and persistence; patching does not remove an existing compromise.
Exploits
9 exploits validated by Mallory's analysis. Hidden: 11 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-21972 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-21972?
- Yes. Mallory tracks 9 public exploits or proofs of concept for CVE-2021-21972, the earliest disclosed Feb 23, 2021.
- Is there a patch for CVE-2021-21972?
- Apply the VMware fixes documented in advisory VMSA-2021-0002. Fixed releases are vCenter Server 7.0 U1c, 6.7 U3l, and 6.5 U3n, and VMware Cloud Foundation 4.2 and 3.10.1.2 for their respective release branches.
- What products are affected by CVE-2021-21972?
- Vmware Cloud Foundation and Vmware Vcenter Server.
- How severe is CVE-2021-21972?
- CVE-2021-21972 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.9% (100th percentile) as of Nov 27, 2026.
Recent activity
41 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.