Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
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.
Affected versions: Spring AI 1.0.0 through 1.0.x (fix 1.0.9). Spring AI 1.1.0 through 1.1.x (fix 1.1.8).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.ai:spring-ai-elasticsearch-store | >= 1.0.0, < 1.0.9, >= 1.1.0, < 1.1.8 | 1.0.9, 1.1.8 |
| Java / Kotlin (Maven) | org.springframework.ai:spring-ai-gemfire-store | >= 1.0.0, < 1.0.9, >= 1.1.0, < 1.1.8 | 1.0.9, 1.1.8 |
| Java / Kotlin (Maven) | org.springframework.ai:spring-ai-opensearch-store | >= 1.0.0, < 1.0.9, >= 1.1.0, < 1.1.8 | 1.0.9, 1.1.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-47835
- https://github.com/spring-projects/spring-ai/commit/2b20cfc8f478444f942d4be7a867d254441ff991
- https://github.com/spring-projects/spring-ai/commit/9787991aa1ed92c511131ddf4e142bd94051e6e7
- https://github.com/spring-projects/spring-ai
- https://github.com/spring-projects/spring-ai/releases/tag/v1.0.9
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.8
- https://spring.io/security/cve-2026-47835
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-943- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.ai:spring-ai-elasticsearch-store, org.springframework.ai:spring-ai-gemfire-store, org.springframework.ai:spring-ai-opensearch-store- Disclosed
- 15.06.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cmwh-w62w-r2mf - CC BY 4.0
Vulnerability history: org.springframework.ai:spring-ai-opensearch-store
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.