Est.

Agent Memory Poisoning in Multi-Tenant Enterprise Environments

One poisoned memory entry can spread across tenants undetected.

· 8 min read · Updated
Cover illustration for “Agent Memory Poisoning in Multi-Tenant Enterprise Environments”
Threat Intelligence · September 23, 2026 · 8 min read · 1,792 words

Agent memory in 2026 is architecture now, complete with its own benchmark suites and its own failure modes. One of those failure modes has become a documented enterprise security problem: poisoning an agent's memory so a false fact becomes something the system treats as permanent truth, shared across every tenant sitting on that memory store. Gartner projects that 40% of enterprise applications will run task-specific AI agents by the end of 2026, up from under 5% in 2025. That's one of the fastest adoption curves enterprise software has ever seen, and it causes the memory layer to scale at the same pace, mostly without anyone stress-testing what happens when someone feeds it a lie on purpose.

McKinsey's 2025 State of AI Global Survey found 23% of organizations already scaling agentic AI in at least one business function, with another 39% still experimenting. Most companies running agents in production have never run an adversarial test against their own memory layer. That gap is what this piece is about, and it's a bigger gap than most security teams realize.

How agent memory is structured and where poisoning enters

Agent memory isn't one thing. It splits into semantic memory (facts and domain knowledge), episodic memory (records of past interactions), and short-term working memory that holds the current session's context. Each type poisons differently, and each needs its own fix. This problem resists a single patch.

The highest-value target for an attacker is long-term, consolidated memory sitting in a knowledge database somewhere. Poison that, and the false entry doesn't vanish when the session ends. It resurfaces in later sessions as authoritative context. The agent treats it the way a court treats a fact already entered into evidence: settled, no longer up for cross-examination.

The entry points are wide open by design, and most governance conversations skip past this vulnerability. A document uploaded to a shared drive. An email the agent reads on its own. A webpage it fetches mid-research. A calendar invite. A response coming back from a third-party API. Any of these carries the payload, and none require a human sitting there typing a jailbreak prompt.

That last part matters more than it sounds like it should. Background "heartbeat" processes, the routine monitoring an agent does of inboxes, message channels, news feeds, and code repos, open a silent injection path that skips prompt injection. In controlled evaluation, social credibility cues, especially the appearance of consensus, drove short-term behavioral influence at rates up to 61%. Worse, the routine act of an agent jotting something down for later pushed that short-term pollution into durable long-term memory at rates up to 91%, with cross-session influence reaching 76%. Even when the manipulated content got diluted among a pile of benign material, the pollution still crossed session boundaries. Built-in context management does not catch this; it just makes the poison harder to spot. It just makes the poison harder to spot.

The four stages by which a single poisoned memory becomes an enterprise damage event

Diagram: How One Poisoned Memory Becomes an Enterprise Damage Event. Visualizes: Visualize the four-stage chain by which a single corrupted memory entry escalates into full enterprise harm: Stage 1 — Injection (malformed input or stale document…

Stage one is injection. A malformed input, a stale document pulled from retrieval, or a misread tool-call error produces a response where the agent asserts something as fact. In a stateless agent, that's the end of it: the response goes out, the session closes, nothing sticks. In a stateful agent, it becomes a memory.

Stage two is unverified recall. The memory resurfaces in a later session, and nothing checks it: no confidence score, no source tag, no verification step. The read gets logged, sure, but logging only records that the wrong fact was retrieved. It doesn't validate anything.

Stage three is propagation. The bad fact lands in a downstream workflow, an automation that never cross-checks the agent's claim against a real system of record, and the error compounds without a human ever laying eyes on it.

A customer-service agent once stored refund_approved=true in memory, and that single entry got recalled across three separate tickets over the following 48 hours, triggering forty-seven refunds, only eleven of which had actual ticket approval behind them. A customer-service agent once stored refund_approved=true in memory. That single entry got recalled across three separate tickets over the following 48 hours. Forty-seven refunds went out. Eleven had actual ticket approval behind them. Cleaning it up took eleven days, which is a long time to spend explaining to finance why the math doesn't add up.

Multi-tenant architecture and cross-tenant threat escalation

Single-tenant deployments contain the damage almost by accident. One agent, one company, one blast radius, and whatever breaks stays inside that fence. Multi-tenant deployments knock the fence down entirely, because the shared vector store multiplies the attack instead of containing it.

Isolation between tenants mostly comes down to metadata filtering: memories carry tags queried separately from the actual content, and that tagging is the only thing keeping Tenant A's data out of Tenant B's session. Get the filtering wrong, or route around it, and the wall stops being a wall. It's a suggestion, and a fairly polite one.

Research from Ahad et al. (arXiv:2605.22842) documents exactly this happening, in what the paper calls the Trust Laundering Chain. A policy-formatted document enters a shared vector store through a completely normal upload, no red flags, nothing exotic, and re-emerges in future sessions as trusted system context. Its actual origin is gone, wiped from the record the moment it got treated as ground truth. Across all 64 documented failures in the study, the system's attribution logic blamed the model every single time. Four separate safety classifiers, one purpose-built to catch memory poisoning, returned zero detections across 510 checkpoints. In 59 of 65 valid entries, the agent cited the injected document in its own chain-of-thought reasoning as if it were policy, then acted on it. Full effect landed within five sessions and stayed there indefinitely: no trigger required, no repeated attacks, no access to the model itself needed.

Layer onto that a second gap: federated identity. When multiple agents write into one shared memory store, there's often no reliable record of which agent wrote what, under which tenant's context, on whose behalf. Provenance doesn't survive to retrieval time in most multi-agent setups. So even if someone wanted to trace a poisoned memory back to its source, the system was never built to let them do it.

Detection systems' misattribution of memory attacks as model problems

When an agent starts acting up, the standard governance move is to red-team the model, dig through attention patterns, maybe retrain it. That's the right instinct for a model that's misaligned. It's the wrong instinct for a memory that's been tampered with, and running it anyway wastes time while the actual problem, a poisoned record sitting in the vector store, keeps getting served up as fact.

Part of the issue is that safety evaluation itself gets built stateless. Safety evaluation frameworks are commonly built stateless, testing agent scenarios that each start from empty memory. A framework built that way can't catch a threat that only appears in evaluation after memory has accumulated over time. That's like testing a car's brakes by rolling it down a hill with the engine off.

Even without an attacker anywhere in the picture, things degrade on their own. Research has shown safety declining under ordinary, benign memory buildup, with no adversarial input involved. That means the signal you'd use to catch poisoning looks almost identical to the signal from plain old drift, and pulling those two apart after the fact is genuinely hard.

Then there's Memory-Graft, which showed that around 10 poisoned records could drive roughly 48% harmful retrieval in a single-agent memory setup, and that attack wasn't even designed to dodge classifiers. It just happened to. Whatever a production classifier faces in the wild, in other words, is a harder version of a test that already got through clean.

The attack surface in practice: shadow AI and ungoverned memory stores

Most mid-market and enterprise companies are running a pile of AI tools that security teams don't know exist, and the tools nobody's tracking are, unsurprisingly, the ones with memory nobody's governing either. A substantial share of employees admit to feeding sensitive customer data, employee records, or internal documents into AI tools that were never approved. Many IT teams can't even see the prompts being submitted, so tracking what those tools are writing to memory is a non-starter.

Research has found that a large share of employees have uploaded company information to a public AI platform. Every one of those uploads is a potential injection point, assuming the platform's agent holds onto that context, and most do by default. Misconfigured databases have exposed API tokens in plaintext across agent platforms, a failure pattern that surfaced repeatedly in 2026. That's a different failure than memory poisoning on paper, leaked secrets rather than a corrupted fact, but the root cause is identical: an ungoverned store nobody was watching closely enough.

The governance controls that are specific to multi-tenant memory poisoning

The fix that actually works looks less like a single tool and more like a stack: input moderation with trust scoring, memory sanitization paired with provenance tracking, retrieval that weighs trust before relevance, and behavioral monitoring that flags an agent defending a belief it should never have picked up.

Provenance is the piece everything else depends on, and it's the one most teams skip because it's tedious rather than because it's hard. Every memory record needs metadata recording which agent wrote it, under which tenant's context, and its source type; it may be a user instruction, a tool response, a retrieval hit, or the agent's own inference. Without that trail, the Trust Laundering Chain has no interruption point, nowhere for a human or a system to step in and ask where a given fact actually came from.

Most enterprise deployments have decent logging on the write side. The read side gets treated like it's free: a query in, a result out, no cost, no scrutiny. That's backwards, since the read side carries just as much risk as the write side. Recall needs its own instrumentation, a confidence score attached to what's retrieved and a check on where it originally came from. That's the missing control at stage two of the damage chain, and it's far cheaper to build than the recovery process that follows when it's missing.

The clearest fix, though, is also the simplest to describe, even if it isn't simple to build: quarantine. Anything that enters memory through an agent's own output, rather than through a verified system of record, should sit in a separate, untrusted partition until something checks it. That single change is a stage-one intervention. Everything after that, the unverified recall, the propagation, the eleven days spent unwinding forty-seven refunds, is stage-four cleanup for a problem that never needed to reach stage two.

Sources

  1. State of AI Agent Memory 2026: Benchmarks & Trends
  2. Mind Your HEARTBEAT! Claw Background Execution Inherently Enables Silent Memory Pollution
  3. The Misattribution Gap: When Memory Poisoning Looks Like Model Failure in Agentic AI Systems
  4. Securing LLM-Agent Long-Term Memory Against Poisoning: Non-Malleable, Origin-Bound Authority with Machine-Checked Guarantees
  5. christian-schneider.net

More in Threat Intelligence