VulnerabilitiesDevice-code phishing can hijack GitHub Copilot CLI sessions
Microsoft researchers say one approved sign-in code let them steer a coding agent, poison its memory and reach private repositories in a lab test.
17 Nov 2026
In a controlled lab simulation, Microsoft researchers demonstrated that a phished OAuth device-code approval against GitHub Copilot CLI could let an attacker remotely steer an active session, poison the agent's memory, read cloud-synced sessions, and access private repositories. Microsoft states this is a proof-of-concept showing abuse of existing features and has not been observed in real-world attacks.
Disclosed 17 November 2026 · Record updated 17 November 2026
Lab demonstration only: a successful device-code phishing approval could allow remote control of an active Copilot CLI session, manipulation of agent memory, reading of synced sessions, and access to private repositories; no victims or in-the-wild exploitation reported.
VulnerabilitiesMicrosoft researchers say one approved sign-in code let them steer a coding agent, poison its memory and reach private repositories in a lab test.
17 Nov 2026