
Prompt injection in AI agents: the public incidents, tracked
Every publicly disclosed prompt injection incident in AI assistants and agents, from Slack AI to Microsoft Copilot: where the attack was hidden, what it could reach, and how it was fixed. From disclosures, advisories and CVE records; updated as new ones appear.
Photo: Markus Spiske / Unsplash
On this page
Prompt injection means instructions hidden in content an AI system reads, such as an email, a web page, a code comment or a support ticket, that make it do something the user never asked for. For a chatbot that is an embarrassment. For an agent that can read private data, call tools and send messages, it can be a data leak or worse.
This tracker lists the publicly disclosed incidents involving AI assistants and agents: what the attacker hid where, what they could get, and how it was fixed. Sources are the researchers' disclosures, vendor advisories and CVE records only; I do not copy CVE numbers or details from news sites. I add incidents as they are disclosed.
As of 1 December 2026: 27 incidents from August 2024 to November 2026, from Slack and GitLab to Microsoft 365 Copilot, Google Gemini, Salesforce Agentforce, Visual Studio Code, ServiceNow and the coding agents of Anthropic, Google, OpenAI and AWS. Most leaks used the same exit, a link or image that quietly sends data to the attacker, and most fixes combine the same few controls.
The register
Prompt injection incidents in AI assistants and agents
| August 2024 | Slack AI | A message in a public channel | Secrets such as API keys from private channels, via a crafted link | Patched by Slack on 20 August 2024; Slack called the scenario very limited |
|---|---|---|---|---|
| May 2025 | GitLab Duo | Hidden text in merge requests, comments or code | Private source code and confidential issues, sent out in an image address | Duo stopped rendering images and forms that point outside GitLab |
| May 2025 | GitHub MCP server | An issue in a public repository | Data from private repositories, published in a public pull request | Researchers: an architecture problem, not a server bug; limit the agent to one repository |
| June 2025 | Microsoft 365 Copilot (EchoLeak, CVE-2025-32711) | Reported as an email, with no click needed | Information in Copilot's context | Fixed by Microsoft on its side; rated critical |
| July 2025 | Supabase MCP server | A support ticket | Integration tokens from a database the agent reached with an admin key | Read-only mode, project scoping, fewer tool groups |
| August 2025 | Coding agents: Claude Code (CVE-2025-55284), Cursor (CVE-2025-54135), GitHub Copilot in Visual Studio (CVE-2025-53773) | Text in source files, web pages or tool output | Secrets sent out through DNS lookups; code execution by rewriting the agent's own settings or MCP configuration | Network commands no longer auto-approved; approval required to change sensitive files |
| August 2025 | Google Gemini | The title of a calendar invite | Spam, deleted events, smart-home control, the user's location, email subjects | Injection classifiers, link redaction, confirmation for risky actions, user notifications |
| August 2025 | Perplexity Comet browser | Hidden text on a web page | The user's Perplexity account, using a one-time code read from Gmail | Fixed in stages; Perplexity calls the problem unsolved across the industry |
| September 2025 | Salesforce Agentforce (ForcedLeak) | A field of a public web-to-lead form | CRM lead data, sent to an expired domain still on an allowlist | Trusted URL enforcement; the domain recovered |
| September 2025 | GitHub Copilot Chat (CamoLeak) | A hidden comment in a pull request description | Private code and secrets, one character per image through GitHub's image proxy | Image rendering turned off in Copilot Chat |
| January 2026 | Microsoft Copilot Studio (ShareLeak, CVE-2026-21520) | A comment field in a SharePoint form | Customer records from SharePoint lists, emailed outside the company | Fixed by Microsoft |
| February 2026 | Microsoft Semantic Kernel framework (CVE-2026-26030, CVE-2026-25592) | A prompt to an agent built on the framework | Code execution and escape from the sandbox | Fixed in the Python and .NET SDKs |
| May 2026 | Microsoft 365 Copilot in Word, Excel and other Office apps (Copirate 365, CVE-2026-24299) | Instructions in a shared Word document or another file the user asks Copilot about | Emails, chats and other data Copilot can read, sent out without a click through a font that Copilot's HTML preview loads; through Copilot's memory, a lasting rule that leaked secrets from later conversations | Fixed by Microsoft by 5 March 2026; no customer action needed |
| June 2026 | pgAdmin 4 AI Assistant (CVE-2026-12045) | Text in the database the assistant reads: a row, a column value or a comment | Any SQL command with the pgAdmin user's database rights despite the assistant's read-only mode; with a superuser role, commands on the database server | Fixed in pgAdmin 4 9.16 on 18 June 2026 |
| July 2026 | OpenAI Codex desktop app for macOS (CVE-2026-14898) | Instructions in content Codex processed, such as a result from a connected tool | API keys, source code and data from connected tools, sent out without a click in the address of an image the app loaded | Fixed by OpenAI in version 26.527.31326, which no longer loads remote images |
| August 2026 | Microsoft Copilot (CoSnitch, CVE-2026-24301) | A crafted link, or a web page the user asked Copilot to summarise | Connected email, calendar and drive data, chat history, and lasting instructions written into Copilot's memory | Fixed by Microsoft |
| August 2026 | Coding agents in GitHub Actions: Claude Code (CVE-2026-54316), Gemini CLI (CVE-2026-12537), OpenAI Codex | The text of a GitHub issue that anyone can open | Code execution on the vendors' own build runners, the workflow's API keys and GitHub token, and control of a later Codex run through a planted instruction file | Gemini CLI fixed in 0.39.1 (April 2026) and Claude Code in three rounds, the last in 2.1.163 (June 2026); OpenAI split its own workflow into separate jobs and treats the behaviour as documented |
| September 2026 | Copilot in SQL Server Management Studio (CVE-2026-65669) | A comment in a SQL file, or notes for Copilot stored in the database that a user with fewer rights can write | Any SQL command with the connected user's rights despite Copilot's read-only mode: data changed or sent out, and a database owner's login added to the sysadmin role | Fixed by Microsoft on 8 September 2026 (SQL Server Management Studio 22.8.2) |
| September 2026 | Salesforce Agentforce (SalesBleed) | A field of a public web-to-lead form | CRM account and lead data, sent out without a click in the address of an image or a link that Slack previews; phishing messages posted in Slack under the agent's name | Fixed by Salesforce: the Trusted URLs bypass by 19 August 2026, attribution and confirmation for Slack replies by 21 September 2026 |
| October 2026 | GitHub Copilot in Visual Studio and SQL Server Management Studio (CVE-2026-103572) | Instructions in a file or in data returned by an MCP server | Code execution, by rewriting Copilot's protected settings or MCP configuration through a filename trick | Fixed by Microsoft on 13 October 2026 |
| November 2026 | Agents and chat in Visual Studio Code (CVE-2026-102230, CVE-2026-120782, CVE-2026-119982) | A web page the agent opened in the built-in browser, instructions in an untrusted repository, or content the user ran through inline chat | Local files uploaded to the attacker's site without approval, commands run without terminal approval, and edits to other workspace files without confirmation | Fixed by Microsoft in VS Code 1.145.3 on 10 November 2026 |
| November 2026 | ServiceNow Now Assist for Customer Service Management, Email Response AI Agent (CVE-2026-18883) | Content the agent reads while drafting replies to customer email; ServiceNow gives no further detail | Not disclosed: ServiceNow describes it only as an indirect prompt injection issue | Fixed centrally by ServiceNow (advisory of 19 November 2026); no upgrade or customer action needed |
| November 2026 | Kiro Web, the hosted AI coding environment from AWS (CVE-2026-136267) | Tool-call markup in a repository file or web page the agent read, which certain models repeated | Commands run in the subscriber's hosted development environment without a consent prompt | Fixed by AWS on its side on 30 October 2026; no customer action needed |
The August 2025 coding-agent row groups three separate advisories with the same pattern; the August 2026 one is a single disclosure that covers three agents. EchoLeak's email vector comes from the researchers' write-up, which could not be read directly; the CVE record itself confirms the vulnerability and the fix. The Visual Studio Code row rests on Microsoft's and GitHub's advisories only: they describe instructions injected through untrusted content without using the words prompt injection. The ServiceNow row rests on its advisory and the CVE record only, which do not say where the instructions were hidden or what they could reach. The Codex and Kiro Web rows also rest on the vendor advisory and the CVE record only, and the Kiro Web bulletin describes injected tool-call markup without using the words prompt injection.
Source: Researchers' disclosures, vendor advisories and CVE records; links in the sources below
Adjacent: attacks through the supply chain
Two incidents were not prompt injection but belong next to it, because they reached agents and their tools through software people trusted:
- Amazon Q Developer extension, July 2025 (CVE-2025-8217). An attacker used an over-privileged token to commit code into the open-source extension, and it shipped in an automatic release; a syntax error stopped it from running, and AWS removed the version (AWS).
- A fake Postmark MCP server, September 2025. A package impersonating Postmark built trust over 15 versions, then began copying every email it sent to an outside address. Postmark had never published an MCP server to npm (Postmark).
How common it is
Prompt injection is first on OWASP's Top 10 for LLM applications (OWASP), and Microsoft's security response team says indirect prompt injection is one of the most widely used techniques in the AI vulnerabilities reported to it (Microsoft MSRC). In a public red-teaming competition, 1.8 million attacks against 22 agents produced more than 60,000 successful policy violations, and most agents broke for most behaviours within 10 to 100 attempts (Zou et al. 2025). Defences help, but do not close the gap:
What the fixes have in common
- Close the exit. Most leaks left through a link or an image the assistant rendered. GitLab, GitHub, Google and Salesforce all restricted which addresses can be loaded or linked.
- Ask before risky actions. Google, Perplexity and Cursor added confirmation for actions such as deleting events or changing configuration; several coding-agent fixes removed commands from the auto-approved list.
- Give the agent less. The GitHub and Supabase MCP cases needed broad credentials: an admin database key, access to every repository. Narrow scopes would have contained them; see Delegated access for agents.
- Filter, but do not rely on filters. Classifiers that detect injected instructions help, as Google's and Perplexity's layers show, but vendors themselves describe the problem as unsolved.
The underlying pattern is Simon Willison's lethal trifecta: private data, untrusted content and a way to send data out, in one agent (Willison). Most of the incidents above combined all three. Removing any one leg is the most reliable fix; how to design for that is in Agentic AI from demo to production, and the tool side in MCP tool design.
Questions and answers
What is indirect prompt injection?
Indirect prompt injection means instructions hidden in content an AI system reads, such as an email, a web page, a code comment or a support ticket, that make it do something the user never asked for. For an agent with private data and tools, it can mean a data leak. Microsoft's security response team calls it one of the most widely used techniques in AI vulnerabilities reported to it.
Has prompt injection been exploited in the wild?
It has worked against real, widely used products many times. As of 1 December 2026, I track 27 publicly disclosed incidents from August 2024 to November 2026, from Slack AI and GitLab Duo to Microsoft 365 Copilot, Google Gemini, Salesforce Agentforce, Visual Studio Code and ServiceNow. In one, the title of a calendar invite could make Google Gemini delete events, control smart-home devices and reveal the user's location.
How do prompt injection attacks leak data from AI agents?
Most leaks use the same exit: a link or image the assistant renders that quietly sends data to the attacker. In GitLab Duo, private source code could be sent out in an image address. In CamoLeak, GitHub Copilot Chat could leak private code and secrets one character per image through GitHub's image proxy. In ForcedLeak, Salesforce Agentforce sent CRM lead data to an expired domain still on an allowlist.
What do the fixes for prompt injection incidents have in common?
Most fixes combine the same few controls. Close the exit: GitLab, GitHub, Google and Salesforce restricted which addresses can be loaded or linked. Ask before risky actions, as Google, Perplexity and Cursor added. Give the agent narrower credentials. Filter, but do not rely on filters. The most reliable fix removes one leg of Simon Willison's lethal trifecta: private data, untrusted content and a way to send data out.
Can prompt injection be fully prevented?
Not yet: defences help but do not close the gap, and vendors themselves describe the problem as unsolved. In Anthropic's own measurement, an attacker trying 100 adaptive variations per scenario succeeded 8.0% of the time against Claude Opus 4.5 without safeguards and 1.4% with them. Anthropic notes that even 1% is a meaningful risk for an agent that handles untrusted content all day.
Changelog
- 1 December 2026. Added Kiro Web from AWS (CVE-2026-136267, November 2026) and four earlier disclosures: the pgAdmin 4 AI Assistant (CVE-2026-12045, June 2026), the OpenAI Codex desktop app for macOS (CVE-2026-14898, July 2026), the coding agents of Anthropic, Google and OpenAI attacked through GitHub issues (August 2026) and SalesBleed in Salesforce Agentforce (September 2026). No other disclosure since 24 November met the register's rules.
- 24 November 2026. Added the indirect prompt injection in ServiceNow's Email Response AI Agent (CVE-2026-18883, November 2026). No other disclosure since 17 November met the register's rules.
- 17 November 2026. Added Copirate 365 in Microsoft 365 Copilot (CVE-2026-24299, May 2026), Copilot in SQL Server Management Studio (CVE-2026-65669, September 2026) and the agent and chat fixes in Visual Studio Code (November 2026). No new researcher disclosures since 1 November.
- 1 November 2026. Added the Copilot remote code execution in Visual Studio and SQL Server Management Studio (CVE-2026-103572, October 2026). No new incidents since 27 October.
- 27 October 2026. First version: 15 incidents from August 2024 to August 2026, and two supply-chain incidents.
Sources
- PromptArmor (August 2024). Data exfiltration from Slack AI via indirect prompt injection.
- Slack (August 2024). Slack security update.
- Legit Security (May 2025). Remote prompt injection in GitLab Duo.
- Invariant Labs (May 2025). GitHub MCP exploited.
- Microsoft Security Response Center. CVE-2025-32711 (EchoLeak).
- General Analysis (2025). Supabase MCP can leak your entire SQL database.
- Anthropic. Claude Code advisory GHSA-x5gv-jw7f-j6xj (CVE-2025-55284).
- Cursor. Advisory GHSA-4cxx-hrm3-49rm (CVE-2025-54135).
- Microsoft Security Response Center. CVE-2025-53773.
- Johann Rehberger (2025). GitHub Copilot remote code execution via prompt injection.
- SafeBreach (August 2025). Invitation is all you need: hacking Gemini.
- Google (June 2025). Mitigating prompt injection attacks.
- Brave (August 2025). Indirect prompt injection in Perplexity Comet.
- Perplexity (October 2025). Mitigating prompt injection in Comet.
- Noma Security (September 2025). ForcedLeak: agent risks exposed in Salesforce Agentforce.
- Legit Security (September 2025). CamoLeak: critical GitHub Copilot vulnerability.
- Microsoft Security Response Center. CVE-2026-21520.
- Capsule Security (April 2026). ShareLeak.
- Microsoft Security (May 2026). Prompts become shells: RCE vulnerabilities in AI agent frameworks.
- Johann Rehberger (May 2026). Copirate 365 at DEF CON: Plundering in the Depths of Microsoft Copilot (CVE-2026-24299).
- Microsoft Security Response Center. CVE-2026-24299.
- Microsoft Security Response Center. CVE-2026-24301.
- Varonis (August 2026). CoSnitch.
- Johann Rehberger (September 2026). From SELECT to SYSADMIN with SQL Copilot (CVE-2026-65669).
- Microsoft Security Response Center. CVE-2026-65669.
- Johann Rehberger (October 2026). Visual Studio Copilot and SSMS remote code execution (CVE-2026-103572).
- Microsoft Security Response Center. CVE-2026-103572.
- Microsoft (November 2026). Visual Studio Code advisory GHSA-f56j-7499-5hch (CVE-2026-102230).
- Microsoft (November 2026). Visual Studio Code advisory GHSA-w9fm-7vcm-cvq4 (CVE-2026-120782).
- Microsoft Security Response Center. CVE-2026-102230.
- Microsoft Security Response Center. CVE-2026-120782.
- Microsoft Security Response Center. CVE-2026-119982.
- ServiceNow (November 2026). November 2026 CVE advisory notification, KB3235180.
- NVD. CVE-2026-18883.
- pgAdmin (June 2026). AI Assistant read-only transaction bypass, issue 10022 (CVE-2026-12045).
- NVD. CVE-2026-12045.
- OpenAI (October 2026). Security advisory CVE-2026-14898: remote Markdown images could expose session data in Codex Desktop for macOS.
- NVD. CVE-2026-14898.
- Novee (August 2026). Critical flaws in Anthropic, Google, and OpenAI's coding agents.
- Anthropic. Claude Code advisory GHSA-fg94-h982-f3mm (CVE-2026-54316).
- Google. Gemini CLI advisory GHSA-wpqr-6v78-jr5g (CVE-2026-12537).
- Zenity Labs (September 2026). SalesBleed: indirect prompt injection and 0-click data exfiltration on Agentforce.
- Zenity Labs (September 2026). SalesBleed: hijacking Agentforce in Slack for anonymous phishing attacks.
- AWS (November 2026). Security bulletin 2026-202-AWS (CVE-2026-136267, Kiro Web).
- NVD. CVE-2026-136267.
- AWS (July 2025). Security bulletin AWS-2025-015.
- Postmark (September 2025). Information regarding the malicious postmark-mcp package.
- OWASP. LLM01:2025 Prompt Injection.
- Microsoft MSRC (July 2025). How Microsoft defends against indirect prompt injection attacks.
- Anthropic (November 2025). Research on prompt injection defenses.
- Zou et al. (2025). A large public red-teaming competition against AI agents. arXiv:2507.20526.
- Simon Willison (June 2025). The lethal trifecta for AI agents.
How to cite
Ivan Bardak. "Prompt injection in AI agents: the public incidents, tracked". bardak.ai, updated December 1, 2026. https://bardak.ai/posts/prompt-injection-incidents
Get the next post by email
Notes on AI agents, enterprise architecture and AI transformation, built on primary sources. One email per new post, unsubscribe with one click.
Get new posts by email
One email per new post, no spam.


