BACK TO THE WIRE
SW-000237AMAZON WEB SERVICES · STRANDS AGENTS TOOLS · STRANDS-AGENTS-TOOLS PACKAGE · MONGODB_MEMORY, ELASTICSEARCH_MEMORY, AND MEM0_MEMORY TOOLSHIGHACTION REQUIRED

CVE-2026-19111: IDOR in Strands Agents Tools memory tools enables cross-tenant data access

An insecure direct object reference vulnerability (CVE-2026-19111) in the strands-agents-tools package's mongodb_memory, elasticsearch_memory, and mem0_memory tools lets a remote authenticated user manipulate the namespace parameter via a crafted LLM prompt to read, modify, or delete another tenant's memories, or inject false memories. The standalone mongodb_memory and elasticsearch_memory functions also expose connection parameters that could redirect the memory layer to an attacker-controlled cluster. Versions before 0.8.3 are affected; 0.8.3 fixes the issue.

AI · SECURITY · DATA · VULNERABILITY · SECURITY ADVISORY

PUBLISHED OCT 12, 2026 16:35 UTC

WHAT CHANGED

The namespace field, used as the sole tenant-isolation key in the mongodb_memory, elasticsearch_memory, and mem0_memory tools, was exposed as an LLM-controllable parameter in the tool schema. A crafted prompt could forge the namespace value in a tool call, bypassing tenant isolation. Additionally, the standalone mongodb_memory and elasticsearch_memory functions exposed connection parameters that could be manipulated to redirect the memory backend to an actor-specified cluster. The fix in strands-agents-tools 0.8.3 addresses both issues.

WHY IT MATTERS

In multi-tenant agent deployments where multiple end users share a single agent instance, this flaw allows one tenant to read, tamper with, or inject false data into another tenant's stored agent memories, undermining data confidentiality and integrity. The connection-parameter exposure in the standalone functions could also let an attacker reroute the memory store entirely, creating a broader data-exfiltration or persistence risk. Administrators running affected versions in shared deployments should treat this as a priority patching and configuration review item.

WHO IS AFFECTED

ROLES
Developers and administrators who deploy Strands Agents Tools memory tools
PRODUCTS
strands-agents-tools (Strands Agents SDK tools package)
FEATURES
mongodb_memory toolelasticsearch_memory toolmem0_memory tool
CONFIGURATIONS
Multi-tenant agent deployments sharing a single agent instance across end usersStandalone mongodb_memory or elasticsearch_memory functions that accept connection parameters

WHAT TO DO

  1. 01
    CRITICALAUTOMATABLE

    Upgrade strands-agents-tools to version 0.8.3 or later to receive the IDOR fix for mongodb_memory, elasticsearch_memory, and mem0_memory tools.

    DOCUMENTATION
  2. 02
    HIGH

    Audit any forked or derivative copies of strands-agents-tools for the vulnerable namespace parameter and apply the equivalent patch.

  3. 03
    HIGH

    Until upgraded, do not deploy mongodb_memory, elasticsearch_memory, or mem0_memory tools in multi-tenant agents where multiple end users share one deployment.

  4. 04
    MEDIUM

    Restrict use of these memory tools to single-tenant deployments where each request maps to one fixed namespace, and avoid standalone mongodb_memory/elasticsearch_memory functions that accept actor-controllable connection parameters.

TIMELINE

ANNOUNCED
AUG 6, 2026

SOURCES

  • PRIMARY SOURCEAMAZON WEB SERVICES

    CVE-2026-19111 - Insecure direct object reference in Strands Agents Tools memory tools

    PUBLISHED AUG 6, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 12, 2026 16:35 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?