Vulnerabilities in pkg:maven/org.springframework.ai/spring-ai-elasticsearch-store
PACKAGECVE-2026-47835 is a HIGH (CVSS 8.6) spring ai vector store metadata vulnerability (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) affecting Spring Framework libraries in the Maven ecosystem. The issue involves spring ai vector store metadata filtering to handle special characters in elasticsearch, opensearch, and gemfire vector stores. Remediation is available by upgrading affected packages to version 1.1.8, 1.0.9.
pkg:maven/org.springframework.ai/spring-ai-elasticsearch-store
Vulnerability advisories affecting package pkg:maven/org.springframework.ai/spring-ai-elasticsearch-store. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-cmwh-w62w-r2mf | CVE-2026-47835 | HIGH | Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores |
CVE-2026-47835 at a Glance
Security Impact
CVSS: 8.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L).
How to Fix CVE-2026-47835
To remediate this vulnerability, upgrade all affected Spring Framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-opensearch-store</artifactId>
<version>1.1.8</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-elasticsearch-store</artifactId>
<version>1.0.9</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-opensearch-store</artifactId>
<version>1.0.9</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-elasticsearch-store</artifactId>
<version>1.1.8</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-gemfire-store</artifactId>
<version>1.0.9</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-gemfire-store</artifactId>
<version>1.1.8</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.springframework.ai
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-47835, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.springframework.ai
Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.springframework.ai command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-943: Improper Neutralization of Special Elements in Data Query Logic, where the product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query. In Spring Framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47835 Affected Spring Framework Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.springframework.ai:spring-ai-opensearch-store
|
Maven |
≥ 1.1.0
< 1.1.8
|
1.1.8
|
|
org.springframework.ai:spring-ai-elasticsearch-store
|
Maven |
≥ 1.0.0
< 1.0.9
|
1.0.9
|
|
org.springframework.ai:spring-ai-opensearch-store
|
Maven |
≥ 1.0.0
< 1.0.9
|
1.0.9
|
|
org.springframework.ai:spring-ai-elasticsearch-store
|
Maven |
≥ 1.1.0
< 1.1.8
|
1.1.8
|
|
org.springframework.ai:spring-ai-gemfire-store
|
Maven |
≥ 1.0.0
< 1.0.9
|
1.0.9
|
|
org.springframework.ai:spring-ai-gemfire-store
|
Maven |
≥ 1.1.0
< 1.1.8
|
1.1.8
|
References
Frequently Asked Questions
What is CVE-2026-47835?
Which Spring Framework versions are affected?
What version fixes CVE-2026-47835?
Is spring-ai-opensearch-store affected?
Is spring-ai-elasticsearch-store affected?
What is the CVSS score of CVE-2026-47835?
What CWE is associated with CVE-2026-47835?
How can I check Maven dependencies for CVE-2026-47835?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cmwh-w62w-r2mf",
"modified" : "2026-08-26T15:01:17Z",
"published" : "2026-06-15T21:30:39Z",
"aliases" : [ "CVE-2026-47835" ],
"summary" : "Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores",
"details" : "In Spring AI Vector Stores, special characters could be used to force the execution of arbitrary queries in Elasticsearch, OpenSearch, and GemFire VectorDB. Affected components: spring-ai-elasticsearch-store, spring-ai-opensearch-store, spring-ai-gemfire-store.\n\nAffected versions:\nSpring AI 1.0.0 through 1.0.x (fix 1.0.9).\nSpring AI 1.1.0 through 1.1.x (fix 1.1.8).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.ai:spring-ai-opensearch-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.8"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.ai:spring-ai-opensearch-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.7"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.ai:spring-ai-elasticsearch-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.8"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.ai:spring-ai-elasticsearch-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.7"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.ai:spring-ai-gemfire-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.0.8"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.ai:spring-ai-gemfire-store"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.1.7"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47835"
}, {
"type" : "WEB",
"url" : "https://github.com/spring-projects/spring-ai/commit/2b20cfc8f478444f942d4be7a867d254441ff991"
}, {
"type" : "WEB",
"url" : "https://github.com/spring-projects/spring-ai/commit/9787991aa1ed92c511131ddf4e142bd94051e6e7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spring-projects/spring-ai"
}, {
"type" : "WEB",
"url" : "https://github.com/spring-projects/spring-ai/releases/tag/v1.0.9"
}, {
"type" : "WEB",
"url" : "https://github.com/spring-projects/spring-ai/releases/tag/v1.1.8"
}, {
"type" : "WEB",
"url" : "https://spring.io/security/cve-2026-47835"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-943" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-26T15:01:16Z",
"nvd_published_at" : "2026-06-15T20:16:28Z"
}
}