Multi-tenant AI leaks data via shared caches
Research shows cross-tenant leakage via shared KV caches in LLM inference. Four hard isolation boundaries and what accountable parties should now audit.
You must be able to demonstrate, per request, which isolation boundaries were active between your tenant and others sharing the same model infrastructure. Vendor assurances about encryption are not enough; you need reproducible evidence of cache separation, attestation and key binding.
The prompt is an analysis of 3 December 2026 of cross-tenant leakage via shared KV caches in LLM inference, which argues that authentication and encryption alone cannot prevent data leakage between tenants in shared model systems. Recent academic work demonstrates that timing differences in cache responses can form a channel through which one tenant infers information about another tenant's prompts without direct session access. In our assessment, this finding reframes the isolation question: the vulnerability sits not in transport or login, but in the data in use—the moment the model computes with plaintext—and operators must treat shared caches without per-user binding as an active attack surface.
What makes shared caches a leakage path?
A shared KV cache in multi-tenant LLM inference creates a timing oracle. When cache keys are not bound to the issuing user, the system responds faster when an earlier input is already cached. That measurable time difference betrays information about what other tenants entered. The researchers who identified this vulnerability confirmed it on real hardware and proposed binding cache keys to a per-user derived secret value—an HMAC salt—to separate caches cryptographically per user. This distinction matters for both prefix caches and semantic caches, the latter requiring a separate index partition. However, the researchers are explicit about the limits of their work: the timing channel has been measured, but the full defence is partly simulated and has not been tested end to end in production.
Which isolation boundaries does a defensible architecture require?
Four complementary boundaries emerge from recent academic sources. None stands alone; relying on only some of them leaves distinct risks unaddressed:
- Cache key binding to user identity — cryptographic separation of cache namespaces per tenant to close the timing-leakage path.
- Trusted execution environments on CPU and GPU — isolated compute that prevents infrastructure administrators from accessing plaintext state during inference.
- Remote attestation and key issuance at application level — decryption keys released only after successful attestation, not held by infrastructure.
- Runtime behavioural profiling and correlation — cryptographic coupling of an agent's profile to its assignment, with detection of shared storage as a hidden channel during execution.
What must you audit in a vendor's multi-tenant setup?
The audit question shifts from "is the system encrypted?" to "can it demonstrate per request which boundaries were active?" You should require that the platform can present, for every request, the principal, tenant, project, session, cache namespace, tool permissions, context sources and attested runtime. This dossier sits alongside the usual access logs and must include evidence of cache isolation and attestation outcomes. Because attestation is only meaningful if its results are retained and traceable, you must agree before an incident occurs who records attestation evidence, policy versions and release decisions, and for how long.
How should you handle vendor claims about multi-tenant isolation?
The sensible line is not to take vendor statements as true but to ask for reproducible evidence. The examined defences are prototypes with acknowledged limitations, so the label "multi-tenant" carries no reassurance on its own. You should treat vendor attestations as claims to be verified, not as facts. This aligns with the broader call for independent verification of frontier AI systems: the burden of proof sits with the provider, not with your acceptance of their word.
What can tooling do, and what remains your responsibility?
Automated systems can collect and correlate cache metrics, attestation logs and runtime profiles. They can flag when isolation boundaries fall away or when key release deviates from policy. What they cannot do is decide whether the evidence you have gathered is sufficient for your risk tolerance, or whether the gaps in simulation-based defences are acceptable in your threat model. That judgement—weighing the prototype status of these defences against the sensitivity of the data you process—remains yours alone. The tools give you visibility; the decision to proceed, or to demand further hardening, is a human one.
Sources: This article draws on reporting and guidance from arXiv.
Written by
Tobias Lindqvist
Adversarial machine learning and the security properties of retrieval systems.