In 2025, researchers showed that a single email could get Microsoft 365 Copilot to leak a user's data without the user clicking anything. Most AI data leaks are less dramatic. A developer pastes a config file into an AI coding assistant to debug a failed deployment and misses the live access key inside it. Now that key sits in a provider's chat history, outside your security team's view.
Slips like that are how many AI data leaks start. Others start inside apps built on a large language model, or LLM, that share more than they should. Employees and developers can stop both kinds once they learn what to protect and practice it on real work.
An AI data leak is when an AI tool or an app built on a large language model exposes sensitive information. Teams that suffer AI data leakage often lose personal data or source code, which can hurt the company, the consumers, or both. Those teams can also accidentally expose secrets like access tokens and confidential business data like contract terms.
An AI data leak usually happens by accident during everyday work, while a data breach starts with an attacker breaking in. The line can blur, though. In 2025, researchers at Aim Security found EchoLeak (CVE-2025-32711), a flaw that could turn Microsoft 365 Copilot's normal behavior into a way to pull data out.1
AI data leaks happen when employees overshare with AI tools or when AI-powered apps expose company data on their own.
Employees can leak data through AI tools, usually by pasting work data into one their company hasn't approved. One in five organizations IBM studied reported a breach tied to shadow AI, which is when employees use tools their company hadn't approved.2
Those incidents exposed customers' personal data in 65% of cases, compared with 53% across all breaches. Unapproved tools put customer records at higher risk than the average breach does.
Developers also put sensitive data at risk when using AI coding assistants, because a stack trace or code snippet they paste in could include an access token.
LLM applications leak data when they read more than the person asking should see or follow an attacker's hidden instructions. Apps that use retrieval-augmented generation, or RAG, pull company files into their answers. If the app retrieves with broader permissions than the person asking, or files were overshared to begin with, the model can surface documents that person should never see.
That same retrieval opens the door to prompt injection, where an attacker hides instructions in content the model pulls in. With Microsoft's 2025 EchoLeak flaw, an attacker could send an email full of hidden instructions. Copilot would pull that email in when the user later asked a work question, then send sensitive data out through Microsoft links.1
Attackers can also trick a model into revealing its system prompt, which are the hidden instructions an app gives it. Logs and agents with broad tool access can open more doors to LLM data leakage.
The Open Worldwide Application Security Project (OWASP) ranks sensitive information disclosure as LLM02 on its 2026 Top 10 for LLM Applications rankings.3 It held the same rank in 2025, up from sixth in 2023. These related risks can also cause leaks:
Companies can prevent AI data leaks with clear AI use rules for employees and least-privilege design for apps. Employees and developers also need regular training to put those rules and design choices into practice.
An AI acceptable use policy tells employees which AI tools they can use and which data stays out of every prompt. Only 37% of organizations IBM studied had policies to manage AI or detect shadow AI.2 In the other 63%, employees decided for themselves which AI tools were safe to use.
A good policy also gives employees a safe way to report a mistake, like pasting customer records into the wrong chatbot. Employees who feel safe admitting a slip report it sooner, which gives the security team time to delete the chat history or change any exposed passwords.
Developers can prevent leaks by limiting what a model and its agents can read and send, then treating every output as untrusted. Of the organizations IBM studied, 13% reported a breach of an AI model or app.2 Ninety-seven percent of those lacked proper AI access controls. OWASP's LLM02 guidance recommends these steps3:
Training matters because many AI data leaks start with a decision a person makes, like pasting a customer list into a chatbot or connecting a private folder to an app. When companies roll out AI tools before teaching safe use, employees fill the gap on their own.Security Journey calls that the AI Capability Gap. You can reduce it with role-based training to teach employees what to protect before they start using the tools.
None of this means slowing down AI adoption. Developers who understand how retrieval, prompt injection, and agent permissions fail can build apps that don't leak. Employees who know what stays out of a prompt can use AI tools without guessing. For developers, Security Journey's secure coding training includes hands-on sandbox labs and capture-the-flag challenges on AI and LLM security. Employees outside engineering get role-based lessons that help them form safer AI habits.