HIGH 7.5

CVE-2026-22743

Spring AI has a Cypher Injection vulnerability in Neo4jVectorFilterExpressionConverter

Description

Spring AI's spring-ai-neo4j-store contains a Cypher injection vulnerability in Neo4jVectorFilterExpressionConverter. When a user-controlled string is passed as a filter expression key in Neo4jVectorFilterExpressionConverter of spring-ai-neo4j-store, doKey() embeds the key into a backtick-delimited Cypher property accessor (node.metadata.) after stripping only double quotes, without escaping embedded backticks. This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-neo4j-store
>= 1.0.0-M5, < 1.0.5>= 1.1.0-M1, < 1.1.4
1.0.5, 1.1.4

Blast radius

1affected artifacts
19affected versions
8dependent artifacts (est.)
27dependent versions

75% of the dependent artifacts (6) still pull an affected version in their latest release.

DepthDependent versions
Direct
24
2 hops
3

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.