CVE-2026-22743: Spring AI has a Cypher Injection vulnerability in Neo4jVectorFilterExpressionConverter
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.
Published Mar 27, 2026 · Updated Mar 29, 2026
Affected packages
org.springframework.ai:spring-ai-neo4j-store
- Ecosystem
- Maven
- Affected
- >= 1.0.0-M5, < 1.0.5
- Fixed in
- 1.0.5
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-neo4j-store
org.springframework.ai:spring-ai-neo4j-store
- Ecosystem
- Maven
- Affected
- >= 1.1.0-M1, < 1.1.4
- Fixed in
- 1.1.4
- Check
mvn dependency:tree -Dincludes=org.springframework.ai:spring-ai-neo4j-store
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22743
- https://spring.io/security/cve-2026-22743
- https://github.com/spring-projects/spring-ai/commit/3a46c7dd00e4adc17a132b9438149bde94da244f
- https://github.com/spring-projects/spring-ai/releases/tag/v1.0.5
- https://github.com/spring-projects/spring-ai/releases/tag/v1.1.4
- https://github.com/advisories/GHSA-7cj7-rcw6-p68v
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
