spring-projects/spring-ai · Security
Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores
- GHSA ID
- GHSA-cmwh-w62w-r2mf
- CVE ID
- CVE-2026-47835
- Severity
- high
- Published
- Updated
- CVSS
- 8.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- CVSS v3
- 8.6 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Description
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).
CWEs
- CWE-943 · Improper Neutralization of Special Elements in Data Query Logic
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-47835 ↗
- https://spring.io/security/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/releases/tag/v1.0.9 ↗
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.8 ↗
- https://github.com/advisories/GHSA-cmwh-w62w-r2mf ↗