>samit_hota
Back to security news

Security News · SN-2026-405

HIGHCVE-2026-62832RESOLVED

Microsoft Patches LegacyHive Windows Zero-Day Vulnerability CVE-2026-62832

Affected: Windows User Profile Service · Windows 10 2004 and later · Windows Server 2022 and later

Samit Hota·
#news#vulnerability-disclosure#microsoft

Overview

As part of its August Patch Tuesday update cycle, Microsoft released official security updates for a high-severity local privilege escalation flaw in the Windows User Profile Service. Tracked as CVE-2026-62832 and known publicly as the LegacyHive Windows zero-day vulnerability, the security bug allows an authenticated attacker with credentials for a secondary local account to escalate permissions to full administrator status.

The flaw was initially thrust into the spotlight following the July 2026 Patch Tuesday, when a pseudonymous researcher operating under the handle “Nightmare Eclipse” published functional proof-of-concept (PoC) exploit code. While third-party patching provider ACROS Security released temporary 0Patch micropatches shortly after disclosure, Microsoft’s official August updates formally remediate the underlying flaw across supported desktop and server platforms. Microsoft’s advisory tags the vulnerability as reported by an anonymous researcher, declining to formally cite Nightmare Eclipse.

Anatomy of the LegacyHive Vulnerability

At a technical level, CVE-2026-62832 stems from improper link resolution before file access—a standard “link following” or symlink manipulation vulnerability—within the Windows User Profile Service (profsvc). The profile service executes under the NT AUTHORITY\SYSTEM context to manage user profile creation, hive loading, and directory cleanup tasks. Among these duties is handling individual user registry hives, such as NTUSER.DAT and user class registrations (UsrClass.dat).

When users log in or out, profsvc loads and mounts these registry files into the Windows registry hierarchy. LegacyHive exploits a flaw in how the service validates path destinations when handling symbolic links or mount points inside user profile directories. By creating crafted file links, a non-administrative user can force the elevated service to redirect registry hive file operations to a different target context.

As vulnerability analyst Will Dormann demonstrated following the PoC release, non-admin users can leverage the exploit to alter another account’s classes registry hive (HKCU\Software\Classes). When an administrative user subsequently logs into the compromised machine, Windows automatically parses and processes file associations, COM object handlers, and startup items stored in that class hive. Because the admin’s logon process executes those hijacked definitions, the attacker’s payload runs with elevated administrator privileges without requiring interactive trickery against the logging-in administrator.

Unlike typical single-click privilege escalation exploits, LegacyHive requires valid credentials for another local account on the host. This requirement adds an explicit prerequisite to the attack chain, requiring threat actors to establish a initial low-privilege foothold before attempting local escalation.

Attacker Profile and Disclosure Context

The publication of LegacyHive represents one entry in a ongoing public disclosure campaign by Nightmare Eclipse. The researcher drops unpatched Windows zero-days in protest of Microsoft’s bug bounty payouts, disclosure procedures, and researcher recognition practices.

Nightmare Eclipse routinely publishes fully working exploit code hours after Microsoft releases its monthly Patch Tuesday updates. This timing leaves defenders facing a full multi-week window before Microsoft’s next patch cycle. The researcher’s track record since April 2026 includes a wide collection of Windows zero-day disclosures:

  • ShieldBreak: A Microsoft Defender flaw granting SYSTEM privileges.
  • LegacyHive: The Windows User Profile Service LPE now resolved under CVE-2026-62832.
  • RoguePlanet: A Microsoft Defender vulnerability patched in July 2026.
  • YellowKey, GreenPlasma, and MiniPlasma: Zero-days impacting BitLocker and core Windows components, addressed in June 2026.
  • BlueHammer: A Windows flaw that saw post-disclosure adoption by ransomware operations.
  • RedSun, UnDefend: Additional zero-day disclosures affecting Defender and operating system components that remain unpatched by vendor updates.

When Nightmare Eclipse published the LegacyHive PoC, security experts quickly validated its impact. Kevin Beaumont confirmed the exploit’s viability on production systems and published custom detection queries tailored for Microsoft Defender for Endpoint (MDE) to help defenders spot exploitation attempts prior to official vendor action.

Blast Radius and Enterprise Exposure

Local privilege escalation bugs are frequently overshadowed by remote code execution threats, but LPE vulnerabilities like LegacyHive serve as fundamental building blocks in enterprise intrusions. Once attackers secure initial access—whether via phishing, password spraying, or exposed remote services—they rely on local privilege escalation to disable endpoint detection and response (EDR) agents, dump credential stores from LSASS, and achieve persistent administrative control.

The blast radius for LegacyHive primarily impacts:

  1. Multi-Tenant Endpoints and Session Hosts: Environments utilizing Remote Desktop Services (RDS), Citrix, or multi-user Windows Server 2022 installations. An attacker holding valid low-privilege credentials on a shared host can modify profile hive structures to target any administrative user logging into that host.
  2. Shared Enterprise Workstations: Shift-work workstations, specialized engineering hosts, or jump boxes where both standard operators and system administrators log in locally.
  3. Post-Exploitation Lateral Movement: Attackers operating within compromised network domains who possess low-privilege local credentials can leverage LegacyHive to quickly secure local administrator control across compromise targets.

Remediation and Mitigation Strategy

Security teams should apply Microsoft’s August 2026 Patch Tuesday security updates immediately to resolve CVE-2026-62832 across affected systems running Windows 10 2004 or later and Windows Server 2022 or later.

If official vendor updates cannot be deployed immediately due to testing cycles, organizations can implement ACROS Security’s free 0Patch micropatches released on July 20, which intercept improper link resolution calls in profsvc without requiring a system reboot.

Defenders using Microsoft Defender for Endpoint should ingest detection logic targeting suspicious junction point creations within user profile paths and unprivileged processes attempting write operations targeting UsrClass.dat file locations.

Found something similar in your stack?

Let's find out before it becomes an incident.

Book an advisory call