A new zero-day vulnerability in Microsoft Windows, dubbed LegacyHive, was disclosed on July 15, 2026, just one day after Microsoft's record-setting July Patch Tuesday. The vulnerability was published by security researcher NightmareEclipse, who also released a proof-of-concept (PoC) exploit. The flaw exists in all fully patched desktop and server versions of Windows. It allows a local, non-privileged user to read data from another user's registry hive by abusing a flaw in how the Windows Object Manager handles path resolution. While the public PoC is limited to information disclosure, it highlights a fundamental weakness that could potentially be leveraged for more severe attacks.
The LegacyHive vulnerability is a local information disclosure flaw. It does not, in its current public form, lead to remote code execution or privilege escalation. The core of the issue is a path resolution bug in the Windows Object Manager that allows a low-privileged user to mount another user's UsrClass.dat registry hive.
The UsrClass.dat file is a user-specific part of the registry that stores per-user application settings, COM object registrations, and user activity artifacts, such as Windows Explorer history. By mounting and reading this file, an attacker who has already gained a low-privileged foothold on a multi-user system (like a terminal server) could spy on the activity and application usage of other users, including administrators.
A proof-of-concept exploit has been publicly released on GitHub. There is currently no evidence of this vulnerability being actively exploited in the wild. However, the public availability of the PoC means that threat actors can now analyze and potentially weaponize it. The researcher, NightmareEclipse, noted that the technique could potentially be modified to target other, more sensitive registry hives, though this has not been demonstrated publicly. This disclosure follows a pattern from the same researcher, who previously disclosed the 'RoguePlanet' flaw in June.
The immediate impact of the public PoC is limited to information disclosure. An attacker could use it to gather intelligence on a compromised system, learning about the applications used by other logged-in users. This information could be valuable for tailoring further stages of an attack. For example, an attacker could identify if an administrator uses a specific remote management tool and then craft a phishing lure related to that tool.
If the technique can be adapted to mount more sensitive hives, such as the SAM or SECURITY hives (which would likely require higher privileges to begin with), the impact could escalate significantly. However, as it stands, LegacyHive is primarily a local reconnaissance tool.
The following patterns may help identify the use of the LegacyHive PoC or similar techniques:
reg loadreg load command or its underlying API call (RegLoadKey) to mount the target user's hive. Monitor for this command being used with unusual paths.C:\Users\<user>\AppData\Local\Microsoft\Windows\UsrClass.datHKU\<SID>_Classesreg.exe. Specifically, look for reg load commands where the user executing the command is different from the user whose hive is being loaded.UsrClass.dat file in user profiles. Alert when a process owned by UserA attempts to read the UsrClass.dat file belonging to UserB. This aligns with D3FEND Decoy File principles, treating these files as sensitive objects.As this is a zero-day vulnerability, there is no patch available from Microsoft at this time. The following are potential compensating controls:
New details confirm the 'LegacyHive' zero-day exploit enables local privilege escalation, granting admin access, a significant increase from initial information disclosure reports.
Further analysis of the 'LegacyHive' zero-day exploit has revealed that its impact is more severe than initially understood. While previously described as an information disclosure vulnerability, new reports confirm it allows for local privilege escalation (LPE). This means a low-privileged attacker can gain administrative access on fully patched Windows systems by abusing the Windows User Profile Service. This escalation significantly increases the threat, enabling broader data access and potential for further attacks.
Security researcher NightmareEclipse discloses the LegacyHive vulnerability and releases a proof-of-concept exploit.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.