GitHub Advisory Database
GHSA-cmwh-w62w-r2mf
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.
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.ai:spring-ai-opensearch-store | From 1.0.0 before 1.0.9 (fixed in 1.0.9) |
| Maven | org.springframework.ai:spring-ai-opensearch-store | From 1.1.0 before 1.1.8 (fixed in 1.1.8) |
| Maven | org.springframework.ai:spring-ai-elasticsearch-store | From 1.0.0 before 1.0.9 (fixed in 1.0.9) |
| Maven | org.springframework.ai:spring-ai-elasticsearch-store | From 1.1.0 before 1.1.8 (fixed in 1.1.8) |
| Maven | org.springframework.ai:spring-ai-gemfire-store | From 1.0.0 before 1.0.9 (fixed in 1.0.9) |
| Maven | org.springframework.ai:spring-ai-gemfire-store | From 1.1.0 before 1.1.8 (fixed in 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