# CVE-2026-40967: Spring AI has a VectorStore FilterExpression Converter injection

Source: https://junglewise.ai/threats/cve-2026-40967-spring-ai-has-a-vectorstore-filterexpression-converter-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-28  
License: CC BY 4.0 with a link back

CVE-2026-40967 · Severity: high · CVSS 8.6 · Published 2026-04-28

In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translate them to specific vector store query languages. In several cases, keys and values are not properly escaped, leading to the ability to alter the query.

Affected versions:
Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

Technologies: [org.springframework.ai:spring-ai-vector-store (Maven)](https://junglewise.ai/threats/technologies/org-springframework-ai-spring-ai-vector-store), [VMware Spring Ai](https://junglewise.ai/threats/technologies/spring-ai). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [VMware](https://junglewise.ai/threats/vendors/vmware).

## Quick answers

**Is CVE-2026-40967 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-40967 being exploited in the wild.

**How severe is CVE-2026-40967?** High severity, with a CVSS score of 8.6, published 28 April 2026.

**Which products and versions are affected?** org.springframework.ai:spring-ai-vector-store (Maven) ECOSYSTEM:introduced=1.0.0,fixed=1.0.6.

**Is there a fix for CVE-2026-40967?** Yes. org.springframework.ai:spring-ai-vector-store (Maven): upgrade to 1.0.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-40967?** Check whether you run org.springframework.ai:spring-ai-vector-store (Maven) or VMware Spring Ai at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.ai:spring-ai-vector-store (Maven): upgrade to 1.0.6 or later

  ```sh
  # set org.springframework.ai:spring-ai-vector-store to 1.0.6 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.ai:spring-ai-vector-store (Maven) ECOSYSTEM:introduced=1.0.0,fixed=1.0.6
- VMware Spring Ai

## Identifiers

- CVE-2026-40967
- GHSA-qc4j-qjqx-vr58

## Related threats

- [Spring AI RedisChatMemoryRepository RediSearch injection in findByMetadata()](https://junglewise.ai/threats/cve-2026-59319-spring-ai-redischatmemoryrepository-redisearch-injection-in)
- [Spring AI path traversal in ResourceCacheService](https://junglewise.ai/threats/cve-2026-59294-spring-ai-path-traversal-in-resourcecacheservice)
- [Spring AI tool calling privilege escalation](https://junglewise.ai/threats/cve-2026-59318-spring-ai-tool-calling-privilege-escalation)
- [Spring AI Semantic Cache context hash isolation bypass](https://junglewise.ai/threats/cve-2026-59308-spring-ai-semantic-cache-context-hash-isolation-bypass)
- [Spring AI unbounded session accumulation denial of service](https://junglewise.ai/threats/cve-2026-59279-spring-ai-unbounded-session-accumulation-denial-of-service)
