Skip to main content
Intelligence Simplified
A long corridor of server racks with a single glowing blue cable plugged into one rack.

May 19, 2026

AI Database Access Control: 8,385 Tables, One Connector

UpGuard found an MCP server that exposed 8,385 database tables at a private equity firm. AI database access control has to start with the connector.

Covers week of May 18, 2026.

On May 18, UpGuard published Shared Context: How an MCP Server Exposed a Private Equity Firm. The researchers found an MCP server connected to the firm’s Snowflake account that gave them unrestricted read access to 8,385 database tables, exposing contact data, financial information and infrastructure credentials. UpGuard’s framing is the useful part: an MCP server isn’t one product that can be misconfigured, it’s a gateway that can turn any system it connects to into a leak. If you’re connecting AI to your business data, AI database access control has to be designed at the connector, not hoped for at the prompt.

What happened, in plain terms

MCP servers let AI assistants call tools, including tools that query databases. In this case, an MCP server was reachable from the internet and was connected to a data warehouse with broad access. Anyone who could reach the server could ask it to read data, and the server would oblige with whatever its database account allowed. That turned out to be thousands of tables.

There was no clever exploit. The access was simply there.

Why the connector’s account is the real control

When an AI tool queries a database, it does so with some account. That account decides everything: which tables, which rows, read or write. The model can be instructed to “only look at sales data,” but instructions aren’t controls. If the account can read payroll, a mistake, a misunderstanding or a malicious request can reach payroll.

The principle I’d apply to every AI connection to a database is the same one I use for identity: the assistant should not see more than the person asking. I wrote about that in AI agent data leakage and identity.

An AI database access control checklist

  1. Give the AI its own database account. Never reuse an admin or a data engineer’s account.
  2. Grant the minimum. Read-only where possible. Limit it to specific schemas or views, not the whole database.
  3. Use views to shape data. Create views that include only the columns the AI needs. Leave out credentials, personal identifiers and anything you wouldn’t put in a report.
  4. Keep the connector private. An MCP server or AI gateway should never be reachable from the open internet without strong authentication.
  5. Pass the user through where you can. If different people use the AI, the best setups enforce each person’s own permissions rather than one shared account.
  6. Log queries. Keep a record of what the AI asked the database, so you can review it and spot surprises.

Don’t forget what’s sitting in the data

One detail in UpGuard’s findings deserves attention: infrastructure credentials were in the database. Many companies store keys, passwords or tokens in tables because it was convenient at the time. When anything gains read access, those secrets go with it.

A data review before connecting AI should look for exactly this. Move secrets to a proper secret store, and rotate anything that’s been sitting in a table.

Where to start if you’ve already connected AI to your data

If you’ve already wired an AI assistant to a database, don’t panic, but do check:

  • Which account does the connection use, and what can it access?
  • Is the connector reachable from outside your network?
  • Are there credentials or highly sensitive fields in tables the AI can read?

Those three answers tell you whether you have a small cleanup or an urgent fix. Last week I wrote about vetting MCP servers before you install them, which covers the tool side of the same problem.

Getting your data structured, scoped and documented is what makes AI on top of it safe and useful. Here’s how I approach data migration and data management, including preparing data for AI access. If you’re not sure what your AI tools can reach today, that’s a good first conversation.

Sources

Russ Frisch

• Founder and software engineer

We take fixed-price work on data, AI workflows, and finishing apps. You work with the Intelligence Simplified team.

Expertise:

Data migration AI workflows Workflow automation Prototype to Production