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

Aug 17, 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 Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras
Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

CVE Research

Operation CameraSwarm: Inside the Toolkit Behind 14,530 Compromised Dahua Cameras

A single operator compromised 14,530+ Dahua cameras across Ukraine and Russia in 35 days, chaining credential brute-force, a CVE-2021-33044/33045 authentication bypass, and P2P relay abuse to plant a persistent backdoor and harvest transferable admin access.

Aug 21, 2026

Open Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF
Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE Research

Critical GitLab Flaw Exposes Public Projects to Deletion — Two CVEs Patched, Including High-Severity CSRF

CVE-2026-19478 is a critical code injection vulnerability in GitLab CE/EE that allows an unauthenticated attacker to modify or delete public projects and user data by abusing a GraphQL directive. A second high-severity issue, CVE-2026-19650, involves cross-site request forgery in the GraphQL multiplex query handler. This article examines how the critical vulnerability works, the availability of a public proof-of-concept, the potential impact on self-managed instances, the affected versions, and the security updates released to remediate both issues.

Aug 19, 2026

Open No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners
No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

CVE Research

No Password Needed: macOS Screen Sharing Flaw (CVE-2026-65400) Used to Deploy Monero Miners

Aug 19, 2026

Open Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies
Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

CVE Research

Evooo1Bot: Mirai-Based Linux Botnet Turns Edge Devices Into SOCKS5 Proxies

Aug 19, 2026