Cyber Security News

New LegacyHive Windows 0-day Vulnerability Allows Users to Load Another User’s Registry


A proof-of-concept exploit dubbed LegacyHive has been released, enabling a Windows elevation-of-privilege vulnerability in the Windows User Profile Service that allows a standard user to load another user’s registry hive under their own registry classes root.

Registry hives are files that store configuration data for Windows, services, applications, and user profiles. Improperly loading or exposing these files can permit unauthorized access or privilege escalation.

The GitHub repository describes LegacyHive as a “Windows user profile service arbitrary hive load elevation of privileges vulnerability.”

The LegacyHive PoC released by Nightmare-Eclipse claims to work on all supported Windows desktop and server versions that have the July 2026 security updates installed.

According to security researcher Nightmare-Eclipse, the publicly released PoC has been intentionally restricted to reduce the risk of immediate abuse, requiring credentials for a second standard user and the username of a third account, which may be an administrator.

The repository was created shortly before the release, with the PoC source code and README documentation made approximately 11 hours before it became publicly accessible. The project is licensed under the MIT License.

PoC in LegacyHive.cpp (source: Nightmare-Eclipse )

If executed successfully, the target account’s user hive will be mounted within the current user’s classes registry location. In its unrestricted form, the original technique did not require additional user credentials.

It was not limited to the UsrClass.dat hive, which typically contains file associations, shell settings, COM configurations, and application-class settings.

The researcher indicated that the original exploit could load arbitrary hives, while the public version was simplified before release.

This behavior is security-sensitive because registry hives may contain values that affect how Windows launches software, resolves COM objects, handles file types, and applies user-specific settings.

An attacker who manipulates the loading context of a privileged user’s hive could identify additional escalation paths based on the local system configuration and accessible registry data.

Currently, the disclosure does not specify a CVE number, Microsoft advisory, or an official patch that directly addresses LegacyHive.

Its compatibility with systems patched in July 2026 suggests that organizations should not assume that routine monthly updates resolve the reported issue.

Windows administrators are advised to restrict local access to trusted users, monitor for unusual profile-loading activity, and review endpoint telemetry for unexpected accesses to user profile registry files, including NTUSER.DAT and UsrClass.dat

Security teams should also track Microsoft’s response and validate the PoC only within isolated, authorized test environments.

This publication emphasizes the ongoing risks posed by local Windows privilege-escalation vulnerabilities, particularly those affecting core services that load and manage user profile data.

Attackers Move in Seconds. Defenses Take Hours! Blackpoint Built the Answer – Attend a Free Webinar on AI SOC Agent to contain a live attack.

Abinaya

Abi is a Security Editor and fellow reporter with Cyber Security News. She is covering various cyber security incidents happening in the Cyber Space.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

2 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

3 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

4 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

4 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

4 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

6 hours ago