Reviewing Databricks Mosaic AI Agent Framework — the gap Databricks names in its own framework
No disclosed CVE here — the real finding is Databricks' own AI Security Framework v3.0 naming a confused-deputy problem: Unity Catalog governs data at rest, but an agent inherits whatever its tools can reach.
Databricks' Mosaic AI Agent Framework connects Delta Lake data to LLMs through Vector Search for retrieval, MLflow for evaluation and tracing, and Model Serving for deployment — all sitting under Unity Catalog governance. Agent tools are registered as Unity Catalog Functions, so every tool an agent can call is subject to the same UC privilege model as any other catalog object, and every function call is logged for audit. That's a genuinely strong governance foundation compared to platforms where agent permissions are a separate, bolted-on system.
Mosaic AI Agent Framework, briefly
A newer piece, Unity AI Gateway (extended from the earlier Mosaic AI Gateway), is positioned as the runtime control plane for model requests, agent activity, tool calling, guardrails, and inference logs — meaning Databricks explicitly separates “governs data at rest” (Unity Catalog's original job) from “governs runtime agent behavior” (the Gateway's newer one).
Unity AI Gateway's guardrails, precisely
Unity AI Gateway reached general availability at Data + AI Summit 2026 (June 16), and its guardrails aren't rigid pre-built rules — each is backed by an editable prompt and a configurable model that evaluates requests, responses, or both, doing contextual reasoning to distinguish a real policy violation from a benign reference (news reporting, fiction, education) rather than relying on pure keyword or regex matching. On a violation, it can reject the request or mask the sensitive data. Every guardrail decision is logged to Inference Tables — a Unity Catalog Delta table — which is what makes audit, accuracy evaluation, and prompt tuning over time possible.
MLflow Tracing, the observability layer underneath, is fully OpenTelemetry-compatible and captures raw inputs, retrieved documents, tool-call parameters, and outputs at every step by design — which means the trace data itself becomes a sensitive-data surface (PII, proprietary business context) that needs the same governance as the underlying data. Databricks' stated mitigation is native Unity Catalog integration on Managed MLflow: role-based access control on trace data, data lineage, and audit logging extended to observability data, not just to training or inference data. A review should confirm that extension is actually configured, not assume trace data inherits governance automatically just because the rest of the pipeline does.
No CVE here — the honest finding is different
What replaces a CVE here is more useful for a review than a single bug would be: Databricks' own AI Security Framework (DASF) version 3.0, published in 2026, names the structural problem directly in its own documentation rather than leaving it for a third party to discover.
What DASF v3.0 actually adds
Databricks' own AI Security Framework v3.0, read literally
| Layer | Unity Catalog covers it? | What DASF v3.0 names |
|---|---|---|
| Data at rest | Yes — table, column, and row-level access control via UC privileges. | Fully covered; not the gap. |
| Registered tool functions | Yes — Unity Catalog Functions are the registration point for agent tools. | Registration ≠ a bound on how the tool is used once an agent can call it. |
| Runtime agent behavior | Partially — Unity AI Gateway logs and can apply guardrails to model/tool traffic. | Named directly: an agent performs discovery and traversal across data paths a human user never explicitly reached. |
| Net effect | — | "The human inherits the agent's permission surface rather than the reverse" — Databricks' own confused-deputy framing. |
Databricks' own framing: “when an AI system can take action, read-only access controls aren't enough.” DASF v3.0 adds Agentic AI as a 13th system component, with 35 new risk categories — agent-core reasoning and memory poisoning, MCP server tool-poisoning, MCP client risks, and multi-agent communication threats among them — and six new controls: least-privilege tools, human-in-the-loop for high-stakes actions, sandboxing for agent-generated code, AI Gateway guardrails, reasoning observability, and tool-ecosystem mapping.
The core admission is a confused-deputy problem, stated in Databricks' own words: an agent performs discovery and traversal across data paths and tools a human user never explicitly reached, so in effect the human inherits the agent's permission surface rather than the other way around. Unity Catalog ACLs on data don't, by themselves, bound what an agent can be manipulated into doing with the tools it's allowed to call — the framework says this plainly, which is a stronger signal for a review than most vendors' marketing-adjacent security pages offer.
Review checklist
For any system built on Mosaic AI Agent Framework, a design-time review should be able to answer:
- Is Unity AI Gateway actually deployed as the runtime control plane for agent tool-calling, or is agent traffic bypassing it?
- Which of an agent's registered Unity Catalog Function tools would let it discover or traverse data paths beyond what its invoking user explicitly requested?
- Which high-stakes agent actions require human-in-the-loop approval, per DASF v3.0's own recommended control — and is that list documented, not assumed?
- Is agent-generated code actually sandboxed before execution, per DASF v3.0's control, or does it run with the same privileges as the rest of the pipeline?
- Are guardrail decisions reviewed via Inference Tables, or is the logging enabled but never actually examined?
- Does Managed MLflow's Unity Catalog integration extend role-based access control to trace data specifically, given traces capture the same sensitive inputs and outputs as the underlying pipeline?
See tool-use permission scoping for the general version of the confused-deputy pattern Databricks names above.
Sources
Blog
Get new posts in your inbox
AI security review, OWASP Agentic Top 10, ISO 42001 evidence, and what AI Committees actually need. No cadence promises — we publish when there's something worth reading.
Review a Databricks Mosaic AI Agent Framework deployment
Unity AI Gateway coverage, tool-traversal scope, and DASF v3.0's own control checklist — mapped to a disposition your AI Committee can act on.
A note on scope: Drel reviews assessed systems against documented architecture, configuration and intent. It does not ingest live telemetry from production environments. Dispositions reflect the assessed system at the time of review and the re-assessment triggers that govern when the disposition must be revisited.