SecPod

Learn Search

Search across all Learn content

← Back to Security Research
CVE-2026-62832: Microsoft Patches "LegacyHive" Windows Zero-Day

CVE-2026-62832: Microsoft Patches "LegacyHive" Windows Zero-Day

Oct 27, 2026By Manasvini R

Summary

CVE-2026-62832, publicly known as LegacyHive, is a local privilege escalation vulnerability in the Windows User Profile Service, caused by improper link resolution before file access ("link following"). The flaw carries a CVSS score of 7.8 (High), and Microsoft rates it Important with an exploitability assessment of "Exploitation More Likely."

The vulnerability was disclosed by a researcher using the handle "Nightmare Eclipse", in protest of Microsoft's bug bounty and vulnerability disclosure practices, who published a proof-of-concept exploit on GitHub hours after the July 2026 Patch Tuesday updates shipped without a fix for the flaw. Unlike prior exploits from the same researcher, the LegacyHive PoC requires the attacker to already hold credentials for a second local account, which raises the bar for weaponization but does not eliminate the risk, particularly on shared systems, terminal servers, and virtual desktop infrastructure. Microsoft has now shipped an official fix as part of its August 2026 Patch Tuesday updates, tracked as CVE-2026-62832, though it has not credited Nightmare Eclipse and instead lists the reporter as anonymous.

Vulnerability Details

CVE IDCVSS ScoreEPSS ScoreAffected ProductsVulnerability Type
CVE-2026-62832 7.8 (High) 2.39% Windows 10 (21H2, 22H2), Windows 11 (23H2, 24H2, 25H2, 26H1), and associated Windows Server releases Improper Link Resolution Before File Access / "Link Following" (CWE-59)

Root Cause Analysis

CVE-2026-62832 lives in the Windows User Profile Service, the component responsible for loading and unloading a user's registry hive (NTUSER.DAT) when they log on or off a system. The flaw is a classic link-following issue, CWE-59: the service resolves a file path used during hive loading without adequately verifying that the path has not been redirected via a symbolic link, junction, or similar filesystem object before it is accessed.

Because that resolution step trusts the path rather than validating where it actually points, an authenticated attacker who holds credentials for a second local account can plant a redirect that causes the service to load or write to a hive location it should not touch, specifically another user's profile hive. Vulnerability analyst Will Dormann explained that a non-admin user can abuse this behavior to modify the target user's classes registry hive so that it gains automatic code execution the next time that user, potentially an administrator, logs in, turning a local logon event into a privilege escalation trigger. Successful exploitation requires no user interaction from the victim beyond a normal, expected logon.

Microsoft has not published the deeper internals of the flawed resolution logic, consistent with its standard practice of withholding exploit-enabling detail from public advisories, and has stated only that it is "aware of the reported vulnerability" without initially confirming the researcher's claims.

How CVE-2026-62832 Can Be Exploited

Attack prerequisites

  1. 1. Local access to a Windows system running an affected, unpatched build.
  2. 2. Valid credentials for a second local account on the same system, distinct from the attacker's primary low-privileged account.
  3. 3. The ability to run a specially crafted application under the attacker's own account; no interaction from the targeted (higher-privileged) user is required beyond their normal logon.

Conceptual exploitation flow

  1. 1. The attacker, already authenticated as a low-privileged local user, obtains or already holds credentials for a second local account on the same machine.
  2. 2. The attacker runs a specially crafted application that abuses the Windows User Profile Service's improper link resolution, redirecting the hive-loading path toward the target user's registry hive rather than the attacker's own.
  3. 3. As described by vulnerability analyst Will Dormann, the attacker uses this redirection to modify the target user's classes registry hive, planting entries designed to execute automatically on that user's next logon.
  4. 4. When the higher-privileged, potentially administrator, account subsequently logs in, the planted registry entries execute in that user's context, without any additional action or awareness on their part.
  5. 5. The attacker's code now runs with administrator privileges, completing the escalation from a low-privileged local foothold to full administrative control of the system.
Key Observation: The public PoC was released by Nightmare Eclipse hours after the July 2026 Patch Tuesday shipped without a fix, and cybersecurity researcher Kevin Beaumont independently confirmed the exploit worked and published detection queries for Microsoft Defender for Endpoint the following day. The requirement for a second local account's credentials makes this harder to weaponize remotely than a fully unauthenticated flaw, but it remains a realistic escalation path in enterprise environments with shared workstations, terminal servers, or VDI, and in post-compromise scenarios where an attacker has already harvested a second set of local credentials.

Impact

Impact AreaDescription
Local privilege escalationAn attacker with low-privileged local access and a second account's credentials can escalate to full administrator privileges on the affected system.
Cross-user data exposureThe underlying link-following flaw allows the attacker to access or modify another user's registry hive and profile-related data.
Elevated risk on shared and multi-user systemsTerminal servers, VDI environments, and shared workstations, where multiple accounts routinely log on to the same machine, present the most practical attack surface.
Persistence via autostart registry entriesPlanting execution triggers in another user's classes hive gives the attacker a repeatable mechanism that fires on every subsequent logon by the target account until remediated.

MITRE ATT&CK Mapping

Technique IDTechnique NameTactic
T1078Valid Accounts (credentials for a second local account)Initial Access (TA0001)
T1112Modify Registry (planting entries in another user's classes hive)Defense Evasion (TA0005)
T1547Boot or Logon Autostart Execution (code runs automatically on target user's next logon)Persistence (TA0003)
T1068Exploitation for Privilege EscalationPrivilege Escalation (TA0004)
T1574Hijack Execution Flow (abuse of link resolution in hive loading)Privilege Escalation (TA0004)

Mitigation

  1. 1. Apply Microsoft's August 2026 Patch Tuesday update for CVE-2026-62832 immediately.
  2. 2. Deploy the free unofficial 0Patch micropatch from ACROS Security as an interim measure on systems that cannot be patched right away, available for Windows 10 2004+ and Windows Server 2022+.
  3. 3. Deploy Kevin Beaumont's published KQL detection queries in Microsoft Defender for Endpoint to hunt for LegacyHive exploitation attempts.
  4. 4. Audit and tighten use of secondary local accounts on shared workstations, terminal servers, and VDI hosts, where this flaw is most practically exploitable.
  5. 5. Monitor registry hive load and classes-hive modification events tied to the Windows User Profile Service for signs of tampering.
  6. 6. Prioritize patch rollout on multi-user and privileged-access systems where an administrator account regularly logs on alongside lower-privileged users.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.Experience the fastest and most accurate patching software here

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Cacti Zero-Day Enables Unauthenticated Remote Code Execution in Four HTTP Requests
threat intelligenceCacti Zero-Day Enables Unauthenticated Remote Code Execution in Four HTTP Requests

CVE Research

Cacti Zero-Day Enables Unauthenticated Remote Code Execution in Four HTTP Requests

A critical zero-day vulnerability in Cacti could allow unauthenticated attackers to execute arbitrary commands through a four-request exploit chain involving second-order SQL injection and poller configuration manipulation. The flaw affects Cacti 1.2.31 when guest access is enabled, posing serious risks to network monitoring infrastructure.

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026