VMware ESXi: patching and protecting hypervisors from ransomware

Updated November 2026

An ESXi host runs every virtual machine on it, so ransomware groups target it to encrypt dozens of servers in one go. Keep it on a supported release, apply each VMSA patch with esxcli software profile update (or vSphere Lifecycle Manager), never expose its management interface to the internet, and keep backups the hypervisor and your domain admins cannot reach.

Supported versions

Broadcom, which now owns VMware, publishes end dates in its Product Lifecycle portal and knowledge base. After the End of General Support date there is no technical support and there are no new patches, apart from customers with a separate extended support contract.

ESXi support status as of November 2026
VersionReleasedEnd of General SupportStatus now
ESX 9.0 / 9.1–See Broadcom Product LifecycleSupported (current, part of VCF/VVF 9)
ESXi 8.xOctober 11, 2022October 11, 2027Supported, under a year left
ESXi 7.xApril 2, 2020October 2, 2025End of general support; patches only with extended support
ESXi 6.x and older–Ended years agoUnsupported

Check what a host runs (in the ESXi Shell or over SSH, as root):

esxcli system version get
esxcli software profile get

The first shows version, update and build number, for example 8.0.3 build 25595708. Compare the build with the fixed build listed in the latest advisory.

Still on ESXi 7? Broadcom’s July 2026 advisory VMSA-2026-0006 fixed a critical (CVSS 9.3) ESXi flaw for 9.x and 8.0, but for 7.0 it says only “contact Broadcom Support if you have an extended support contract”. Without such a contract, a 7.0 host stays vulnerable. Plan the move to 8.0 or 9.x now; ESXi 8 itself reaches end of general support on October 11, 2027. See end-of-life planning.

Where VMSA advisories appear

Broadcom publishes VMware Security Advisories (VMSA-YYYY-NNNN) in the Broadcom Support Portal under Security Advisories, VMware Cloud Foundation. Sign in and use Manage Notifications to get email alerts. Each advisory gives a response matrix with the CVSS score, the fixed build for each version, and any workaround. Read “Workarounds: None” as “patch now”.

Two recent examples:

Also watch the CISA Known Exploited Vulnerabilities catalog, which flags ESXi bugs that attackers are using. See following security advisories.

Get the patch

Patches come from the Broadcom Support Portal and need an active support entitlement. You have two options:

If the host is managed by vCenter, put the new depot into vSphere Lifecycle Manager and remediate the cluster from there instead; it migrates VMs and handles maintenance mode for you.

Patch a host with esxcli

Since ESXi 8.0 Update 2, Broadcom no longer supports changing the ESXi version with esxcli software vib update or vib install. Use an image profile. These commands run as root on the host.

Read VMSAfixed build Get depotZIP or token Maintenancemove VMs Dry runthen update Reboothost Verify buildexit maint.
One host at a time; in a cluster, the next host starts only after the last one is back.
# 1. Move or shut down the VMs on this host, then:
esxcli system maintenanceMode set --enable true

# 2. List the image profiles in the depot (offline ZIP shown; an online
#    depot URL works the same way)
esxcli software sources profile list -d /vmfs/volumes/datastore1/<patch-depot>.zip

# 3. Test, then apply. Use the profile name from step 2.
esxcli software profile update --dry-run -d /vmfs/volumes/datastore1/<patch-depot>.zip -p <profile-name>
esxcli software profile update -d /vmfs/volumes/datastore1/<patch-depot>.zip -p <profile-name>

# 4. REBOOTS THE HOST (it must be in maintenance mode)
esxcli system shutdown reboot --reason "Security patch VMSA-2026-0006"

# 5. After it is back: check the build, then leave maintenance mode
esxcli system version get
esxcli system maintenanceMode set --enable false

Pick the profile that matches the one esxcli software profile get reports today, at the new build. If the update stops on a hardware compatibility warning, check the warning against Broadcom’s compatibility guide before you rerun with --no-hardware-warning. To use the online depot from a standalone host, allow outbound HTTP for the duration:

esxcli network firewall ruleset set -r httpClient -e true
esxcli software sources profile list -d https://dl.broadcom.com/<Download Token>/PROD/COMP/ESX_HOST/main/vmw-depot-index.xml
# ... profile update as above, with the same -d URL ...
esxcli network firewall ruleset set -r httpClient -e false

Disable SLP

The ESXiArgs campaign in February 2023 most likely used known, already-patched flaws in the SLP service on outdated or end-of-life hosts; VMware found no evidence of a zero-day. ESXi 7.0 U2c and later and ESXi 8.0 and later ship with SLP disabled, but upgraded hosts may still have it on. Broadcom’s KB 318790 gives this procedure (no reboot needed):

esxcli system slp stats get                 # check whether SLP is in use
/etc/init.d/slpd stop                        # stops the SLP service
esxcli network firewall ruleset set -r CIMSLP -e 0
chkconfig slpd off                           # keep it off after reboots
chkconfig --list | grep slpd                 # should print: slpd off

The only side effect: CIM clients that find the CIM server through SLP will no longer find it. Treat this as hardening, not a substitute for patching.

Lock down the management network

Backups that survive the hypervisor

When a host is encrypted, every VM on it goes with it, and an attacker with domain admin rights can usually reach the backup server too. CISA’s ESXiArgs advisory recommends offline backups that are tested regularly, encrypted and immutable.

If a host is already encrypted, isolate it and follow the ransomware response steps. ESXiArgs encrypted VM configuration files but not the large flat disk files, which is why CISA could publish a recovery script; other ESXi ransomware is not so forgiving.

Sources