Loading...
Skip to main content

CVE-2026-41712 — Vulnerability in...

HIGH

Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage

Published May 12, 2026Updated September 10, 2026Source: osv

Summary

Spring AI's chat memory component contained a problematic default that, when not explicitly overridden, could result in unintended data exposure between users.

Advisory Timeline

  • First published May 12, 2026 (153 days ago).
  • Last revised September 10, 2026 — 121 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.ai:spring-ai-advisors-vector-store to 2.0.0-M6 or later
<!-- Update pom.xml dependency version to 2.0.0-M6 for org.springframework.ai:spring-ai-advisors-vector-store -->
Maven
Update org.springframework.ai:spring-ai-client-chat to 1.0.7 or later
<!-- Update pom.xml dependency version to 1.0.7 for org.springframework.ai:spring-ai-client-chat -->
Maven
Update org.springframework.ai:spring-ai-model to 1.0.7 or later
<!-- Update pom.xml dependency version to 1.0.7 for org.springframework.ai:spring-ai-model -->
Maven
Update org.springframework.ai:spring-ai-client-chat to 1.1.6 or later
<!-- Update pom.xml dependency version to 1.1.6 for org.springframework.ai:spring-ai-client-chat -->
Maven
Update org.springframework.ai:spring-ai-model to 1.1.6 or later
<!-- Update pom.xml dependency version to 1.1.6 for org.springframework.ai:spring-ai-model -->
Maven
Update org.springframework.ai:spring-ai-model to 2.0.0-M6 or later
<!-- Update pom.xml dependency version to 2.0.0-M6 for org.springframework.ai:spring-ai-model -->
Maven
Update org.springframework.ai:spring-ai-client-chat to 2.0.0-M6 or later
<!-- Update pom.xml dependency version to 2.0.0-M6 for org.springframework.ai:spring-ai-client-chat -->
Maven
Update org.springframework.ai:spring-ai-advisors-vector-store to 1.0.7 or later
<!-- Update pom.xml dependency version to 1.0.7 for org.springframework.ai:spring-ai-advisors-vector-store -->
Maven
Update org.springframework.ai:spring-ai-advisors-vector-store to 1.1.6 or later
<!-- Update pom.xml dependency version to 1.1.6 for org.springframework.ai:spring-ai-advisors-vector-store -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (9)

Affects 1 ecosystem: maven (3).

PackageEcosystemAffectedFixed In
org.springframework.ai:spring-ai-advisors-vector-store
maven
2.0.0-M1, 2.0.0-M2, 2.0.0-M3, 2.0.0-M4 (+1 more)2.0.0-M6
org.springframework.ai:spring-ai-client-chat
maven
1.0.0, 1.0.0-M7, 1.0.0-M8, 1.0.0-RC1 (+6 more)1.0.7
org.springframework.ai:spring-ai-model
maven
1.0.0, 1.0.0-M7, 1.0.0-M8, 1.0.0-RC1 (+6 more)1.0.7
org.springframework.ai:spring-ai-client-chat
maven
1.1.0, 1.1.0-M1, 1.1.0-M2, 1.1.0-M3 (+7 more)1.1.6
org.springframework.ai:spring-ai-model
maven
1.1.0, 1.1.0-M1, 1.1.0-M2, 1.1.0-M3 (+7 more)1.1.6
org.springframework.ai:spring-ai-model
maven
2.0.0-M1, 2.0.0-M2, 2.0.0-M3, 2.0.0-M4 (+1 more)2.0.0-M6
org.springframework.ai:spring-ai-client-chat
maven
2.0.0-M1, 2.0.0-M2, 2.0.0-M3, 2.0.0-M4 (+1 more)2.0.0-M6
org.springframework.ai:spring-ai-advisors-vector-store
maven
1.0.0, 1.0.0-M7, 1.0.0-M8, 1.0.0-RC1 (+6 more)1.0.7
org.springframework.ai:spring-ai-advisors-vector-store
maven
1.1.0, 1.1.0-M1, 1.1.0-M2, 1.1.0-M3 (+7 more)1.1.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-276
    Incorrect Default PermissionsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Frequently Asked Questions

What is CVE-2026-41712?
Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2026-41712?
CVE-2026-41712 affects org.springframework.ai:spring-ai-advisors-vector-store, org.springframework.ai:spring-ai-client-chat and org.springframework.ai:spring-ai-model. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41712 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-q62f-h9x2-gcqc

Related CVEs

  • CVE-2026-22738
    CRITICAL

    Spring AI: SpEL injection is triggered when a user-supplied value is used as a filter expression key

  • CVE-2026-41713
    HIGH

    Spring AI: Prompt Injection via Memory Poisoning in PromptChatMemoryAdvisor

  • CVE-2026-40978
    HIGH

    Spring AI has SQL Injection in CosmosDBVectorStore.doDelete()

  • CVE-2026-22730
    HIGH

    SQL Injection in Spring AI MariaDBFilterExpressionConverter

  • CVE-2026-47835
    HIGH

    Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores

  • CVE-2026-40967
    HIGH

    Spring AI has a VectorStore FilterExpression Converter injection

  • CVE-2026-22729
    HIGH

    JSONPath Injection in Spring AI Vector Stores FilterExpressionConverter

  • CVE-2026-41705
    HIGH

    Spring AI's MilvusVectorStore#doDelete(List) implementation is vulnerable to filter-expression injection via unsanitized document IDs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies