CVE-2026-116575 (GCVE-0-2026-116575)
Vulnerability from cvelistv5
Published
2026-10-26 20:15
Modified
2026-10-27 14:18
CWE
  • CWE-200 - Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-863 - Incorrect Authorization
Summary
Mem0 provides persistent memory infrastructure for AI agents and applications. Prior to Python SDK 2.0.18 and TypeScript SDK 3.1.6, _build_session_scope() in mem0/memory/main.py and Memory.buildSessionScope() in the TypeScript SDK join caller-controlled user_id, agent_id, and run_id values using unescaped & and = delimiters. A caller can embed another scope component in a controlled identifier so that distinct tenant tuples produce the same session_scope key. Memory.add(), AsyncMemory.add(), and the REST POST /memories flow use that key to read and save recent raw messages, allowing cross-tenant conversation disclosure and eviction or interleaving of another tenant's history. This issue is fixed in Python SDK 2.0.18 and TypeScript SDK 3.1.6.
Impacted products
Vendor Product Version
mem0ai mem0 Version: < 2.0.18
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-116575",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-27T13:45:14.377647Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-27T14:18:25.039Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "mem0",
          "vendor": "mem0ai",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2.0.18"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Mem0 provides persistent memory infrastructure for AI agents and applications. Prior to Python SDK 2.0.18 and TypeScript SDK 3.1.6, _build_session_scope() in mem0/memory/main.py and Memory.buildSessionScope() in the TypeScript SDK join caller-controlled user_id, agent_id, and run_id values using unescaped \u0026 and = delimiters. A caller can embed another scope component in a controlled identifier so that distinct tenant tuples produce the same session_scope key. Memory.add(), AsyncMemory.add(), and the REST POST /memories flow use that key to read and save recent raw messages, allowing cross-tenant conversation disclosure and eviction or interleaving of another tenant\u0027s history. This issue is fixed in Python SDK 2.0.18 and TypeScript SDK 3.1.6."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-200",
              "description": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-863",
              "description": "CWE-863: Incorrect Authorization",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T20:15:01.875Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2"
        },
        {
          "name": "https://github.com/mem0ai/mem0/pull/6892",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mem0ai/mem0/pull/6892"
        },
        {
          "name": "https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f"
        },
        {
          "name": "https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6"
        },
        {
          "name": "https://github.com/mem0ai/mem0/releases/tag/v2.0.18",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/mem0ai/mem0/releases/tag/v2.0.18"
        }
      ],
      "source": {
        "advisory": "GHSA-5324-3w58-qpp2",
        "discovery": "UNKNOWN"
      },
      "title": "Mem0: Cross-tenant conversation leak via unescaped delimiter collision in session-scope key (_build_session_scope)"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-116575",
    "datePublished": "2026-10-26T20:15:01.875Z",
    "dateReserved": "2026-10-26T15:03:39.035Z",
    "dateUpdated": "2026-10-27T14:18:25.039Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-116575\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-27T13:45:14.377647Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-27T13:45:20.891Z\"}}], \"cna\": {\"title\": \"Mem0: Cross-tenant conversation leak via unescaped delimiter collision in session-scope key (_build_session_scope)\", \"source\": {\"advisory\": \"GHSA-5324-3w58-qpp2\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.3, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"mem0ai\", \"product\": \"mem0\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 2.0.18\"}]}], \"references\": [{\"url\": \"https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2\", \"name\": \"https://github.com/mem0ai/mem0/security/advisories/GHSA-5324-3w58-qpp2\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/mem0ai/mem0/pull/6892\", \"name\": \"https://github.com/mem0ai/mem0/pull/6892\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f\", \"name\": \"https://github.com/mem0ai/mem0/commit/71f2ebefa3494da21550fb525216818776cde67f\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6\", \"name\": \"https://github.com/mem0ai/mem0/releases/tag/ts-v3.1.6\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/mem0ai/mem0/releases/tag/v2.0.18\", \"name\": \"https://github.com/mem0ai/mem0/releases/tag/v2.0.18\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Mem0 provides persistent memory infrastructure for AI agents and applications. Prior to Python SDK 2.0.18 and TypeScript SDK 3.1.6, _build_session_scope() in mem0/memory/main.py and Memory.buildSessionScope() in the TypeScript SDK join caller-controlled user_id, agent_id, and run_id values using unescaped \u0026 and = delimiters. A caller can embed another scope component in a controlled identifier so that distinct tenant tuples produce the same session_scope key. Memory.add(), AsyncMemory.add(), and the REST POST /memories flow use that key to read and save recent raw messages, allowing cross-tenant conversation disclosure and eviction or interleaving of another tenant\u0027s history. This issue is fixed in Python SDK 2.0.18 and TypeScript SDK 3.1.6.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-200\", \"description\": \"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-863\", \"description\": \"CWE-863: Incorrect Authorization\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-10-26T20:15:01.875Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-116575\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-27T14:18:25.039Z\", \"dateReserved\": \"2026-10-26T15:03:39.035Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-10-26T20:15:01.875Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…