

Data Leakage: How Exposure Happens and How Security Teams Stop It

Data leakage is the release of information to an environment it should not reach, whether or not anyone is known to have accessed it. It usually looks ordinary: a SharePoint folder shared through “Anyone” links, or an S3 bucket left public since a migration nobody remembers. Legal’s first question is whether anyone opened it, and the honest answer is often that nobody knows yet.
The work that follows is deciding whether the exposure was authorized, whether it is reportable, and how to stop the next one. Each of those decisions depends less on the alert than on what the team knows about the data, the user, and the business reason behind the share.
TL;DR:
- Data leakage is about exposure and counts whether or not an attacker was involved, and a single leak can also qualify as a breach.
- Sensitive data sent to AI apps and secrets pushed to public code are the fastest-growing leakage paths in recent research.
- Posture checks can find a public bucket or an overshared link before anyone downloads from it, which controls that only watch data moving out may miss.
- Each prevention control covered here has a known gap, and deciding whether a share was legitimate still takes business context.
How Data Leakage Relates to Breaches and Exfiltration
NIST defines information leakage as “the intentional or unintentional release of information to an untrusted environment.” ENISA’s 2024 threat landscape draws a narrower technical line, describing a data leak as unintentional loss or exposure caused by misconfiguration, vulnerabilities, or human error.
Leakage, breach, and exfiltration carry different meanings from one framework to the next, and the frameworks partly contradict each other. ENISA’s same report treats a data breach as a deliberate attack. GDPR instead counts accidental as well as unlawful disclosure of personal data as a personal data breach. NIST defines exfiltration as the unauthorized transfer of information from a system, the step where an attacker takes the data.
The terms overlap rather than mark stages of one incident. Under GDPR, a leak of personal data can be a breach at the point of disclosure, even with no evidence that anyone viewed it. Exfiltration is defined by the transfer itself, usually in an adversarial context. The table below summarizes how the three terms relate:
| Term | Core meaning | Intent | Must access be confirmed? |
|---|---|---|---|
| Data leakage | Release to an untrusted environment | Intentional or unintentional | No |
| Data breach | Unauthorized disclosure of, or access to, protected data | Either under GDPR and CISA’s glossary; intentional under ENISA | No; disclosure can suffice |
| Data exfiltration | Unauthorized transfer of information from a system | Usually deliberate | The transfer defines it |
Teams that work across jurisdictions should settle which breach definition their incident process uses before an exposure turns up, since the same event can be a leak with no reporting duty under one framework and a reportable breach under another.
Common Causes of Data Leakage
Most leakage paths share one trait: someone with legitimate access made data reachable by people or systems that should not have it. The 2025 and 2026 studies below use different samples and observation periods, and their findings don’t add up to one ranking of causes.
Cloud Storage and Database Misconfiguration
Wiz’s 2025 cloud data research found publicly exposed PaaS databases lacking access controls in 72% of the cloud environments it analyzed. In Tenable’s 2025 telemetry, collected from October 2024 through March 2025, 9% of publicly accessible cloud storage held sensitive data, and 97% of that data was classified restricted or confidential.
SaaS Oversharing and Public Links
Microsoft 365 Copilot only returns organizational data the user can already view, and over-permissioned sites and inherited shares become searchable in plain language. Varonis’s 2025 risk assessments of 1,000 real-world IT environments found that 99% of organizations had exposed sensitive data that AI could easily surface. Salesforce Experience Cloud guest-user settings are the same problem in another product, and Salesforce said the 2026 attacks on those sites traced to a customer-configured guest user setting, with no flaw in the platform itself.
GenAI Prompts and Shadow AI
According to the 2026 Verizon DBIR, 45% of employees now use AI regularly on corporate devices, up from 15% a year earlier, and shadow AI has become the third most common non-malicious insider action in Verizon’s DLP dataset. Source code was the most common data type submitted to external models.
Netskope’s 2026 threat report, based on telemetry from October 2024 through October 2025, found that genAI data policy violations doubled year over year, to an average of 223 per organization per month. Security teams can monitor shadow AI by correlating identity, SaaS, and browser logs.
Secrets Committed to Public Code
GitGuardian’s secrets sprawl report counted 28.65 million new hardcoded secrets in public GitHub commits during 2025, a 34% increase, and found that more than 64% of the credentials confirmed valid in 2022 still worked when retested in January 2026. A leaked key also turns exposure into access the moment someone tries it.
Misdirected Email and Insider Mishandling
Misdelivery is the top error type in the 2026 DBIR’s overall dataset, at 61%. Ponemon’s 2026 insider risk report attributes 53% of the insider incidents its participating organizations experienced to employee negligence, though its insider-risk definition covers more than data leaks.
GenAI and secrets show the clearest year-over-year growth in this research. Misconfiguration, oversharing, and misdirected email remain common, but published research gives no trend figures for them, and the evidence does not establish whether they are rising.
Data Leakage Examples From 2025 and 2026
Misconfigured data stores are most commonly discovered by security researchers, according to the 2026 DBIR, and outside parties found or published each of the recent cases below:
- In January 2025, during reconnaissance of DeepSeek’s internet-facing subdomains, Wiz found a publicly accessible ClickHouse database holding over a million lines of logs, including chat history and secret keys.
- In July 2025, nearly 4,500 shared ChatGPT conversations turned up in a Google site search, all shared links whose owners had opted into a discoverability feature, which OpenAI then removed.
- In April 2026, McGraw Hill traced exposed data to a misconfigured Salesforce-hosted webpage and confirmed the breach after an extortion attempt; 13.5 million accounts were affected.
- In May 2026, GitGuardian escalated a public GitHub repository holding 844 MB of CISA-related data, including credentials for AWS GovCloud servers, after automated alerts went unanswered. The repository had been public for almost six months; CISA later rotated the secrets and found no use of the credentials outside its environments.
In McGraw Hill’s case, a single misconfiguration led to unauthorized access, extortion, and publication of the stolen data.
How Security Teams Detect Data Leakage
Leakage detection watches exposure state. Exfiltration detection watches data moving out, the job of data exfiltration prevention controls. The useful exposure signals come from four places:
- SaaS audit logs capture sharing changes. Microsoft Purview records AnonymousLinkCreated and AnonymousLinkUsed, though for anonymous use the user’s identity may be unknown. Google Workspace records link-visibility changes as change_document_visibility in the Drive audit log.
- Cloud configuration drift shows up in posture tools. AWS Security Hub fails control S3.1 when any account-level block public access setting is off, and S3.8 applies the same test to each bucket.
- External exposure monitoring scans public cloud storage and code repositories for your data and keys, catching exposures that internal tools can miss.
- Dark web and paste-site monitoring catches credentials and data that have already escaped.
These signals reveal risky configurations, sharing changes, access activity, or data already published outside, but an alert alone rarely establishes whether the share was legitimate. Defender for Cloud Apps guidance counts a sharing alert as a false positive “if you’re able to confirm that the user had a business justification to share these reports.” Establishing that justification takes HR data, project ownership, and prior decisions about similar shares, none of which the audit event carries.
How to Prevent Data Leakage
Prevention works best when access is narrow and exposure is caught early, with content inspection as a backstop. Preventive controls reduce the rate of leakage, and posture controls shorten how long it lasts. You need both, because a bucket’s state can change after deployment and an employee can paste a prompt from an unmanaged browser. Each control category below also has a known limit.
DLP Across Endpoint, Email, Cloud, and Browser
Endpoint DLP can block risky actions, such as pasting sensitive content into a browser. Coverage depends on the browser: Purview’s paste restrictions run natively in Edge, need the Purview extension in Chrome and Firefox, and do not cover other browsers, which Purview can stop from accessing protected files. Tuning false positives and exceptions is an ongoing operational cost, and each alert still needs DLP incident response to decide whether the activity was legitimate.
DSPM and Data Classification
DSPM finds sensitive data across cloud services and shows how exposed it is, though it says little about where data goes once a third party holds it. When a sensitivity label applies encryption, Copilot returns the content only to users who hold both the EXTRACT and VIEW rights.
CSPM
CSPM catches public buckets and permissive IAM roles, though its findings arrive in volume and need prioritizing before they reduce exposure.
Secrets Scanning and Pre-Commit Hooks
GitHub push protection blocks supported secrets at push time, but depending on repository settings, developers can bypass it by stating a reason or by requesting approval, and local hooks can be skipped with git commit –no-verify. Mirror the scans in CI.
AI Gateways and Browser-Level Controls
A gateway acts only on traffic it mediates, so prompts sent from personal accounts or unmanaged browsers may never pass through it. Blocking AI apps on work devices does nothing about personal devices, where employees can still paste company data into a prompt. Pair restrictions with approved alternatives and a clear policy.
Least Privilege, Encryption, and Tokenization
Least privilege caps how much any single identity can expose. Encryption and tokenization work when unauthorized recipients cannot obtain plaintext or decryption rights; storage encryption on its own does not stop a misconfigured service from serving decrypted objects. Key management and the token vault then become the components to protect.
How to Prioritize Data Leakage Controls
Your first investment should follow the route most of your sensitive data travels. Each situation below matches a common route to a starting point:
- If most sensitive data flows through browsers into personal AI accounts, prioritize browser or endpoint inspection over an API gateway, which cannot see those sessions. In the 2026 DBIR’s dataset, 67% of users reach AI platforms with non-corporate accounts on corporate devices.
- If you are deploying Microsoft 365 Copilot, run oversharing assessments and remediate overshared links before broad rollout, then use label-based DLP rules to exclude your most sensitive content.
- If developers push to remotes other than GitHub, add secrets scanning in CI and plan for revocation, because push protection will not cover those paths.
- If you could not say today whether an exposed bucket was read, turn on S3 server access logging and CloudTrail data events now, the same groundwork cloud incident response depends on. A SANS cloud forensics post warns that without them you may be unable to say conclusively whether data was exposed.
- If your DLP queue is mostly benign business activity, invest in identity, HR, and data-sensitivity context before adding more policies.
Each of these controls still produces alerts that someone has to judge.
Why Leakage Verdicts Depend on Business Context
Data classification and inline enforcement are converging, and Software Analyst Cyber Research describes the DSPM and DLP capabilities as increasingly inseparable. A combined platform can show that data moved or became reachable, but it rarely establishes why. Without the business context behind a share, teams can end up closing the same benign shares every week while a real exposure waits in the same queue.
Frequently Asked Questions About Data Leakage
Is a Data Leak With No Evidence of Access a Reportable Breach?
It can be. The EDPB’s notification guidelines require notifying the supervisory authority unless a personal data breach is unlikely to result in a risk to individuals. Telling affected individuals is a separate decision with a higher threshold. Under HIPAA, an impermissible disclosure of PHI is presumed to be a breach, subject to specified exceptions, unless a documented assessment shows a low probability of compromise, and that assessment weighs whether the PHI was actually viewed. The UK ICO expects you to document the reasons whenever you decide not to report.
How Do You Prove to an Auditor That Exposed Data Was Not Accessed?
Show access logs that cover the whole exposure window, and state plainly where their coverage stops, since a clean log only speaks for the period and systems it recorded. CloudTrail’s Event history keeps 90 days of management events but no S3 object reads, and Entra ID Free tenants keep sign-in logs for seven days by default unless they are exported, and sign-ins are not file reads. If the relevant logging was off, treat the data as exposed.
When a Secret Leaks to a Public Repo, Should You Rotate First or Investigate First?
Revoke or rotate first, after checking what depends on the credential. GitGuardian’s remediation guidance treats revocation as the only way to keep attackers out of the affected service. Deleting the commit is not enough on its own, since deleted files stay recoverable from repository history, and GitHub notes that rewriting history may not be warranted once the secret is revoked.
How Should We Triage Thousands of Overshared Files From a Copilot Readiness Scan?
Prioritize sensitivity and audience over volume. Microsoft’s Restricted Content Discovery can temporarily keep selected SharePoint sites out of organization-wide search and Copilot responses while permissions are reviewed. It does not change access, users can still open content they already have, and large sites can take more than a week to update.
Is Data Leakage the Same as Data Loss?
No. NIST’s glossary, citing a 2011 special publication, defines data loss as the exposure of sensitive information through either theft or leakage. Leakage is one path to data loss; theft is the other.
Subscribe to newsletter
Subscribe to receive the latest blog posts to your inbox every week.
.avif)




Related posts
.avif)

For expert judgment, scaled to your world, head for Daylight



