
PoC and exploit scripts for CVE-2026-119948, a stack-based buffer overflow in Windows Active Directory LDAP BER parsing that can lead to RCE on Domain Controllers.
LEGAL DISCLAIMER: This repository was created exclusively for educational and security research purposes. The use of these tools against systems without prior express written authorization is illegal. The author is not responsible for any misuse of this material.
| Field | Detail |
|---|---|
| CVE | CVE-2026-119948 |
| Nickname | WindowsAD-RCE |
| Type | Stack-based buffer overflow (CWE-121) |
| CVSS | 7.5 High (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) |
| Component | Active Directory - LDAP processing |
| Vectors | Malformed LDAP BER request sent to the DC |
| Authentication | Low privileges required (AC:H) |
| Affects | Windows Server 2016/2019/2022/2025, Windows 10 1607-22H2, Windows 11 23H2-26H2 |
| Fixed | Microsoft patch November 2026 |
| Disclosed | November 2026 |
Stack-based buffer overflow in the LDAP processing component of Active Directory on Windows Server. An authenticated attacker with low privileges can send a specially crafted LDAP BER request to the Domain Controller, causing a stack overflow and potentially executing arbitrary code with the privileges of the LSASS service.
The vulnerability is located in the parsing of BER (Basic Encoding Rules) messages of the LDAP protocol. Fields such as Distinguished Name (DN) or Extended Operations OIDs with incorrectly declared lengths can cause misalignment and overflow in the buffer allocated on the service's stack.
High attack complexity (AC:H) indicates that successful exploitation requires specific conditions or multiple attempts with precise timing.
Atacante Domain Controller
| |
|-- Autentica com conta low-priv ----->|
| |
|-- Envia LDAP BER malformado -------->|
| (DN oversized, length mismatch) |
| |
| [Stack overflow no LSASS]
| |
|<-- Potencial RCE / crash -----------|
# Checar se DC esta acessivel e identificar servicos AD
python poc.py --target 192.168.1.10
# Scan em multiplos DCs
python poc.py --targets-file dcs.txt --output resultado.json
# Com verbosidade
python poc.py --target dc01.corp.local --verbose
# Enviar payloads de overflow para DC especifico
python exploit.py --target 192.168.1.10
# Especificar porta LDAP alternativa
python exploit.py --target 192.168.1.10 --port 3268
# Scan em massa com payloads
python exploit.py --targets-file dcs.txt --output exploits.json --threads 5
By Gh0st-Bx1 | https://github.com/Ghost-Bx1