Preliminary research
From SELECT to SYSADMIN with SQL Copilot (CVE-2026-65669)
Last synced: 5 December 2026.
The article reverse engineers SQL Copilot's read-only checker and bypasses it with dynamic T-SQL, then stores AGENTS.md and CONSTITUTION.md instructions in SQL Server extended properties. A later privileged Copilot session consumes that metadata, turning database-owner control into sysadmin escalation.
Preserved copies · Johann Rehberger · Original publication ↗
Record
- Researcher
- Johann Rehberger
- Published by
- Embrace The Red
- Date
- Topic
- Injection
In the archive
Related sources
- from select to sysadmin Whitepaper
Author not stated
Preserved copies of this source
- wunderwuzzi23/scratch: system_prompts/sql-copilot-in-ssms-may-2026.txt Code
wunderwuzzi23 · GitHub
Preserved copies of this source
- CVE-2026-65669 Advisory
Author not stated · Microsoft Security Response Center
External source · no preserved copy
Tags
This page is the archive's own catalogue record. The research is the work of Johann Rehberger, first published at the original source. Preserved copies are kept so the citation survives its host.