Back to updates
New releaseAug 20, 2026

CVE-2026-41091-PoC-Exploit Full-PoCv2

Local privilege escalation exploit for CVE-2026-41091 targeting Microsoft Defender. Uses Cloud Files API and NTFS junction redirection to gain NT AUTHORITY\SYSTEM from a low-privileged user. Includes full PoC and educational algorithm demonstration.

Share

SolarFlare

CVE-2026-41091 - RedSun (SolarFlare) - Microsoft Defender LPE Exploit Toolkit

C++ Windows License CVSS CISA KEV

This tool is provided for educational and authorized penetration testing purposes only. The authors and contributors are not responsible for any misuse or damage caused by this software. Users are solely responsible for ensuring they have explicit written permission from the target owner before testing. Unauthorized access to computer systems is illegal under applicable federal, state, and international cybercrime laws. By using this software, you agree to:

  • Use it only on systems you own or have explicit permission to test.
  • Comply with all applicable local, state, and federal laws.
  • Not use it for any malicious, destructive, or illegal activities.

[!] WARNING: Active Directory elevation of privilege vulnerabilities present high risk to enterprise infrastructure. Unauthorized testing is strictly prohibited.

Microsoft Defender Link Following Vulnerability - Local Privilege Escalation to NT AUTHORITY\SYSTEM

The vulnerability is known as "RedSun", "SolarFlare" is the name I gave to my exploit.

[<] Overview

This repository contains a full working Proof of Concept (PoC) exploit for CVE-2026-41091, a critical local privilege escalation vulnerability in Microsoft Defender (Microsoft Malware Protection Engine). By exploiting improper link resolution (CWE-59), an authenticated low-privileged attacker can gain NT AUTHORITY\SYSTEM privileges.

The vulnerability, also known as "RedSun" or "SolarFlare", allows attackers to trick Microsoft Defender into writing arbitrary files to protected system locations with SYSTEM privileges using Cloud Files API (CfAPI) and NTFS junction points.

Note: This repository includes two versions:

  • basic_poc.cpp - Simplified algorithm demonstration (educational)
  • full_poc.cpp - Complete working exploit with all features

[-<] Key Features

CategoryFeaturebasic_poc.cppfull_poc.cpp
ExploitationLocal Privilege Escalation to SYSTEM[+][+]
Cloud Files API (CfAPI) Integration[-][+]
Cloud Placeholder Creation[-][+]
NTFS Junction Redirection[~][+]
COM Service Activation[-][+]
TechniquesBatch Oplock Abuse[+][+]
VSS Snapshot Detection[+][+]
EICAR Trigger[+][+]
NTFS Reparse Point (Mount Point)[+][+]
File Disposition (NtSetInformationFile)[-][+]
Named Pipe Session ID Detection[-][+]
Console Session Launch (conhost.exe)[-][+]
WaitOnAddress / WakeByAddress[-][+]
SYSTEM Verification[-][+]
TargetMicrosoft Defender < 1.1.26040.8[+][+]
Windows 10/11[+][+]
Windows Server 2016[+][+]
Windows Server 2019/2022[+][+]
x64 only[+][+]
UsabilityStructured Logging[~][+]
Error Handling[~][+]
Random Directory Names[+][+]
Automatic Cleanup[~][+]
Retry Logic (NtCreateFile)[-][+]

[i] Vulnerability Details

AttributeValue
CVE IDCVE-2026-41091
CVSS Score7.8 (High)
CVSS VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLocal
Privileges RequiredLow
User InteractionNone
ImpactSYSTEM-level code execution
CISA KEV[+] Yes (actively exploited in the wild)
Patch AvailableMicrosoft Malware Protection Engine 1.1.26040.8

[c] Affected Products

ProductAffected VersionsFixed Versions
Microsoft Malware Protection Engine< 1.1.26040.81.1.26040.8+
Microsoft Defender Antimalware Platform< 4.18.26040.74.18.26040.7+

[<>] Exploit Chain

Categories