From SELECT to SYSADMIN: Critical SQL Copilot privilege escalation flaw patched by Microsoft
wunderwuzzi23 · x · 2026-10-01
Security researcher wunderwuzzi presented research at BlueHat Asia 2026 on SQL Copilot in SQL Server Management Studio, uncovering CVE-2026-65669, a SQL Server elevation-of-privilege vulnerability rated critical by Microsoft and since patched.
Recon path: probing Copilot with list all your tools initially exposed only 5 tools; but after opening an authenticated query window, a much larger set of database-specific tools became available — schema exploration, retrieving query results, inspecting database objects, reading database content, T-SQL validation, backup operations and more. Chaining these tools enabled escalation from plain SELECT to SYSADMIN.
He also introduces the notion of a database "CONSTITUTION.md"; full write-up and video demos are on his blog. Users should update SSMS installations.
More from coding & agent
- Generic API-catalog MCP server vs one tool per job: a context-bloat experiment — MandeepKaur9407 · 2026-11-16
- Berkeley paper: LLMs answer with stale values even when the update is in context — ombre-ai · 2026-11-16
- skills-gate: one gate skill fronts 148 agent skills at just 389 tokens — Distinct-Pie2389 · 2026-11-16
- Open-weight Karpo-Decision-31B tops Decision Index at 73.9, one forward pass per answer — CodeByPoonam · 2026-11-16
- shadcn boosts @uisdk: one-shot UI rebuild that's instantly E2E-testable by AI — shadcn · 2026-11-16
- AI agent deletes 43,599 lines of OpenClaw test code in one PR — vincent_koc · 2026-11-16