Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.ai/spring-ai-advisors-vector-store
  4. ›
  5. CVE-2026-40966

CVE-2026-40966: Spring AI's VectorStoreChatMemoryAdvisor conversation scoping can lead to cross-tenant memory exfiltration

April 28, 2026 (updated May 6, 2026)

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.

References

  • github.com/advisories/GHSA-v6x6-pjxw-3pv2
  • github.com/spring-projects/spring-ai
  • 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
  • nvd.nist.gov/vuln/detail/CVE-2026-40966
  • spring.io/security/cve-2026-40966

Code Behaviors & Features

Detect and mitigate CVE-2026-40966 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.0.6, all versions starting from 1.1.0 before 1.1.5

Fixed versions

  • 1.0.6
  • 1.1.5

Solution

Upgrade to versions 1.0.6, 1.1.5 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

maven/org.springframework.ai/spring-ai-advisors-vector-store/CVE-2026-40966.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:00 +0000.