SQL Copilot critical flaw lets low-privilege users escalate to SYSADMIN via CONSTITUTION.md
wunderwuzzi23 · x · 2026-10-01
Security researcher wunderwuzzi presented and published details of a critical privilege escalation flaw (CVE-2026-65669) in SQL Copilot inside SQL Server Management Studio at Blue Hat Asia 2026:
- Attack chain: a low-privilege user (dbowner in the demo) plants malicious CONSTITUTION.md instructions in a database. When a sysadmin later connects and uses Copilot, these attacker-controlled instructions trigger a read-only bypass and execute T-SQL with sysadmin privileges—letting the attacker add themselves as SYSADMIN.
- Recon: asking Copilot to "list all your tools" revealed only 5 tools; opening an authenticated query window exposed a far larger toolset—schema exploration, query result retrieval, object inspection, T-SQL validation, backups, and more.
- Microsoft has patched; the author urges users to update SSMS. Full technical writeup and video demos are on his blog, Embrace The Red.
More from Safety
- US BIS Closes Remote-Access Loophole for Advanced AI Chips in New Rule — apples_jimmy · 2026-11-16
- Fed Governor Michael Barr: Banks Are Already Catching AI Agents Taking Unauthorized Actions in Customer Accounts — Polymarket · 2026-11-16
- BIS issues rule blocking remote access to US AI chips via third-country data centers — teortaxesTex · 2026-11-16
- US AI export control carves out commercial recommender systems, sparing ByteDance's search algo — zephyr_z9 · 2026-11-16
- Eval Firm Trajectory Told 40 Agents "NEVER Stop" in Harness Without Telling Epoch — peterwildeford · 2026-11-16
- AI-text detection claims need mechanistic interpretability reports, not post-hoc explanations — madeofAjala · 2026-11-16