Skip to content
Heist/ feed
Back to feed
Medium

VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration

Type: advisorySources: OSV

In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’ chat histories, including secrets and credentials, by injecting filter logic through conversationId. Only applications that use VectorStoreChatMemoryAdvisor and pass user-supplied input as a conversationId are affected.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40966
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 10:55 UTC · Revision 1

Source evidence

VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration

core-osv · Original source

Published 28 Apr 2026, 06:42 UTC

In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’ chat histories, including secrets and credentials, by injecting filter logic through conversationId. Only applications that use VectorStoreChatMemoryAdvisor and pass user-supplied input as a conversationId are affected.

osv:CVE-2026-40966
Complete source record
{
  "id": "89b2174fad68a41b9ccadab3633f31ccb8daffb4a321db72b9b436d87cd43f84",
  "url": "https://osv.dev/vulnerability/CVE-2026-40966",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration",
    "summary": "In Spring AI, an attacker can bypass conversation isolation and exfiltrate sensitive memory from other users’ chat histories, including secrets and credentials, by injecting filter logic through conversationId. Only applications that use VectorStoreChatMemoryAdvisor and pass user-supplied input as a conversationId are affected.",
    "evidence": "osv:CVE-2026-40966",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-40966",
      "aliases": [
        "CVE-2026-40966",
        "GHSA-v6x6-pjxw-3pv2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-ai",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fcd2803f36f35939c20ed152c9c1b0863fa35dcf"
                },
                {
                  "fixed": "057e111a93e61f911427a581207e853cf68085e9"
                },
                {
                  "introduced": "fa4c61eabeba0a69147b3c00a3b50380c1f25a75"
                },
                {
                  "fixed": "3d662709e1d5041efebf74753a6d119e5196952a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.0.0"
                      },
                      {
                        "fixed": "1.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.1.0"
                      },
                      {
                        "fixed": "1.1.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40966.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.232330763Z",
      "provider": "osv",
      "references": [
        "https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?version=3.1&vector=AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
        "https://spring.io/security/cve-2026-40966",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40966.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40966"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "vmware",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.0.0"
                  },
                  {
                    "fixed": "1.0.6"
                  },
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "fixed": "1.1.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40966.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40966",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519059,
  "published_at": "2026-04-28T06:42:36.619+00:00"
}