Skip to content
EventPast event

SQL Copilot read-only bypass and privilege escalation vulnerability

3 reports2 reporting sourcesLatest report

Start here

AI overview

Security researcher Johann Rehberger (wunderwuzzi23) disclosed the privilege escalation vulnerability CVE-2026-65669 in SQL Copilot in SQL Server Management Studio (SSMS) at BlueHat Asia 2026, which Microsoft rated as critical. Copilot executes SQL using the query window's database connection, so when a user connects as sysadmin, it has the same privileges; the so-called read-only mode relies only on the system prompt and the LocalSqlExecutionAccessChecker class. The researcher claims privilege escalation from SELECT to SYSADMIN, reminds users to ensure their SSMS installation is updated, and thanks Microsoft for quickly patching the issue. He subsequently posted a video post demonstrating the privilege escalation process, tagged CVE-2026-65669; this is the author's vulnerability disclosure claim, not an independent reproduction or vendor confirmation.

Generated by AI from reports · Updated 4 days ago

Progress timeline

Oct 5
  1. X @wunderwuzzi23
    Researcher demonstrates hijacking Copilot in SQL Server Management Studio (CVE-2026-65669)

    Researcher wunderwuzzi23 posted a follow-up video post claiming to demonstrate privilege escalation from SELECT to SYSADMIN via Copilot in SQL Server Management Studio, tagged CVE-2026-65669. This is the author's vulnerability disclosure claim, not an independent reproduction or vendor confirmation.

Oct 1
  1. X @wunderwuzzi23
    Researcher discloses privilege escalation path in SQL Copilot in SQL Server Management Studio

    Security researcher Johann Rehberger published research on SQL Copilot, the AI database assistant in Microsoft SQL Server Management Studio, finding a serious privilege escalation path from SELECT privileges to SYSADMIN. The author reminds users to ensure their SSMS installation is updated, thanks Microsoft for quickly patching the issue, and notes the research was also presented at BlueHat Asia two weeks ago. The author mentions the concept of a database CONSTITUTION.md file; full technical details and video demonstration are in the blog post.

  2. Embrace The RedSelected
    Researchers disclose SQL Copilot privilege escalation vulnerability CVE-2026-65669: from SELECT to SYSADMIN

    Security researcher Johann disclosed the privilege escalation vulnerability CVE-2026-65669 in SQL Copilot in SQL Server Management Studio (SSMS) at BlueHat Asia 2026, which Microsoft rated as critical. Copilot executes SQL using the query window's database connection, so when a user connects as sysadmin, it has the same privileges; the so-called read-only mode relies only on the system prompt and a regex blacklist in the LocalSqlExecutionAccessChecker class, with no separate low-privilege connection. The author bypassed the blacklist by indirectly invoking stored procedures, allowing Copilot to execute write operations such as CREATE, INSERT, UPDATE, DELETE, and DROP, and demonstrated data exfiltration. In the full attack chain, a database owner plants malicious instructions in the database, which are triggered via indirect prompt injection when a high-privilege user uses Copilot, ultimately adding the attacker's login to the sysadmin role. The author recommends making the agent's read-only restriction an enforcement at the permission level and reminds users to update promptly.

Related discussion

Total 1 items

Attention trend

New sources per day

13 days total3 ·Maximum3(Oct 1)·Today0

  • Oct 1New3 sources (3 outlets,0 accounts)
  • Oct 2New0 sources (0 outlets,0 accounts)
  • Oct 3New0 sources (0 outlets,0 accounts)
  • Oct 4New0 sources (0 outlets,0 accounts)
  • Oct 5New0 sources (0 outlets,0 accounts)
  • Oct 6New0 sources (0 outlets,0 accounts)
  • Oct 7New0 sources (0 outlets,0 accounts)
  • Oct 8New0 sources (0 outlets,0 accounts)
  • Oct 9New0 sources (0 outlets,0 accounts)
  • Oct 10New0 sources (0 outlets,0 accounts)
  • Oct 11New0 sources (0 outlets,0 accounts)
  • Oct 12New0 sources (0 outlets,0 accounts)
  • Oct 13New0 sources (0 outlets,0 accounts)

Hourly attention

Current attention59·Peak in the comparable period59(Oct 7 12:00)·Change over the comparable past 24 hours –

0204060Oct7Oct7Oct7Oct8