Back to Blog
AI · Security Nov 2026 4 min read

Can an AI Assistant Expose Confidential Files? Oversharing Explained

BlackHawk Data Engineering
BlackHawk Data Team
Rows of wooden card-catalogue drawers

Can an AI assistant show employees files they should not see?

An AI assistant can show an employee any file that employee already has permission to open, including files the employee never knew existed. Microsoft's documentation for Microsoft 365 Copilot states that the assistant "only surfaces organizational data to which individual users have at least view permissions." The AI assistant therefore breaks no access rule. The exposure comes from permissions that were too broad before the assistant arrived, and a search that once took effort now takes one question.

What is oversharing?

Oversharing is access that is broader than the sensitivity of the content warrants, and oversharing is the main reason an AI assistant exposes confidential files. Microsoft's Zero Trust guidance gives a typical example: a SharePoint site shared with "Everyone except external users" that contains sensitive HR documents. Oversharing of that kind can go unnoticed for years, because a person has to know where to look. Microsoft calls data oversharing "the single largest data security risk that organizations face when deploying Microsoft 365 Copilot."

Common causes of oversharing

  • Organization-wide groups. A site or folder is shared with everyone to save time during a project.
  • Links that never expire. A sharing link outlives the work it was created for.
  • Inherited permissions. A sensitive subfolder keeps the open permissions of its parent.
  • Stale membership. People keep access to a team's files after changing roles.
  • Unlabeled content. Sensitive files carry no classification, so no policy applies to them.

What changes when an AI assistant is added to overshared files?

An AI assistant changes the effort needed to find overshared files, not the access itself. Before an AI assistant, an overshared file was protected mostly by obscurity: somebody had to browse to the right folder. After an AI assistant, the same file surfaces whenever a question matches its content. Microsoft's guidance adds a security consequence: an attacker who compromises a single account gains "AI-assisted reconnaissance" across everything that account can reach. The table below shows four common situations before and after an assistant is enabled.

Situation Before an AI assistant After an AI assistant
A folder shared with everyone Found only by someone who browses to it Surfaces when a question matches its content
A confidential file with no label Protected by obscurity Returned in answers to anyone with access
An employee who changed roles Rarely opens the old team's files The old team's files appear in summaries
A compromised account The attacker searches by hand The attacker asks the assistant what the account can reach

How do you check for oversharing before turning on an AI assistant?

Checking for oversharing before turning on an AI assistant is a three-step assessment: find content that is broadly accessible, compare that access with the sensitivity of the content, and correct the mismatches. Microsoft Purview Data Security Posture Management for AI includes built-in oversharing assessments for Microsoft 365. Microsoft rates the work as medium effort, because remediation involves site owners, data stewards and security teams, not administrators alone. Organizations on other platforms follow the same three steps with the tools those platforms provide.

How to remediate oversharing

  1. Tighten permissions. Reduce access to the people who need the content, following least privilege.
  2. Apply or correct sensitivity labels. Label unclassified content so policy can act on it.
  3. Restrict site-level sharing. Turn off organization-wide and anonymous sharing where the content is sensitive.
  4. Remove stale access. Revoke grants that belong to finished projects and former team members.

How often should oversharing be re-checked?

Oversharing should be re-checked on a recurring schedule, because the problem returns. Microsoft's guidance is explicit that remediation "is not a one-time activity" and that oversharing patterns recur "as new content is created, new users are added to groups, and sharing links accumulate over time." BlackHawk Data recommends a re-assessment every quarter and before any new assistant or agent is enabled. Tracking the results from one assessment to the next shows whether sharing habits are improving.

Does an AI assistant use company files to train its model?

Whether an AI assistant uses company files to train its model depends on the vendor's terms, so the answer has to be checked for each product. For Microsoft 365 Copilot, Microsoft states that "prompts, responses, and data accessed through Microsoft Graph aren't used to train foundation LLMs." Other vendors set different terms. The American Bar Association's Business Law Today warned on October 9, 2026 that vendors "often seek the right to use customer data" to train or improve their AI models.

BlackHawk Data lists the questions to put to a vendor in Your Software Vendor Added AI: What to Ask Before You Use It.

Sources

Frequently asked questions

Is Microsoft 365 Copilot safe to turn on?
Microsoft 365 Copilot respects existing permissions, so safety depends on how well those permissions match the sensitivity of the content. An organization with tightly managed sharing has little new exposure. An organization with years of organization-wide sharing should run an oversharing assessment and remediate the findings before enabling Copilot.
Does removing an AI assistant fix oversharing?
Removing an AI assistant hides oversharing again but does not fix it. The overshared files remain open to every employee and to any attacker who compromises an account. Correcting the permissions is the fix, and the correction protects the data whether or not an assistant is in use.
Who should fix overshared files?
Overshared files should be fixed by the people who own the content, with security coordinating. Microsoft's guidance assigns remediation to site owners and data stewards, because only the owner knows who genuinely needs access. Security teams run the assessment, prioritize the findings and confirm that corrections were made.
What is a sensitivity label?
A sensitivity label is a classification attached to a file or site, such as Confidential, that travels with the content. Labels let policy act on meaning instead of location. An oversharing assessment uses labels to spot mismatches, for example a file labeled Confidential that a large group can open.