
Educational PoC generating a harmless DOCX with dummy OLE artifacts to test EDR/AV visibility, ASR rules, and sandbox analysis for CVE-2026-21509. For isolated labs only.
⚠️ This repository provides a harmless, non-exploit Proof of Concept.
Its purpose is to support defensive research, EDR/AV visibility testing, and training.
It does not exploit CVE‑2026‑21509 and contains only dummy OLE artifacts.
This repository contains an educational PoC simulating structural markers related to CVE‑2026‑21509, a Microsoft Office security feature bypass vulnerability.
The PoC generates a harmless DOCX file containing dummy embedded OLE components for telemetry observation, sandbox analysis, EDR rule validation, and SOC training.
Nothing in this repository is malicious.
No code execution, no exploit chain, no harmful objects.
CVE‑2026‑21509 is a security feature bypass in Microsoft Office caused by reliance on untrusted inputs in a security decision, allowing an unauthorized attacker to bypass OLE protections locally after the user opens a crafted document. 1
The vulnerability:
According to Microsoft and multiple advisories, the following are impacted:
This project exists only to:
Again:
❗ This PoC does NOT exploit CVE‑2026‑21509.
It only simulates harmless structural patterns for learning and detection testing.
You can analyze the generated file using 7‑Zip:
word/document.xmlword/_rels/document.xml.relsword/embeddings/ (dummy oleObjectX.bin)This helps defenders understand object relationships inside Office documents without risk.
When opening the dummy DOCX in an isolated environment, watch for:
Reference OLE/COM behavior patterns explained in Microsoft’s advisory and analysis of CVE‑2026‑21509. 3
Microsoft has released:
CISA requires organizations to apply mitigations by the deadline listed in the KEV catalog. 1
This project is provided strictly for research and educational purposes.