CVE-2026-22743

Server-Side Request Forgery via Filter Expression Keys in Neo4jVectorStore

Published Mar 27, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Spring AI’s spring‑ai‑neo4j‑store contains a Cypher injection flaw in the Neo4jVectorFilterExpressionConverter. When a filter expression key supplied by a user is inserted into a backtick‑delimited Cypher property accessor after stripping only double quotes, the resulting Cypher statement can include arbitrary code, allowing an attacker to read, modify, or delete data within the Neo4j database. The weakness corresponds to CWE‑89 and leads to loss of confidentiality, integrity, and potentially availability if the attacker can disrupt the database.

Affected Systems

Affected versions are Spring AI spring‑ai‑neo4j‑store 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3. Any deployment using these releases is vulnerable.

Risk and Exploitability

The vulnerability carries a CVSS base score of 7.5, indicating high severity. An exploit would require the ability to supply a filter expression key, which may be available to authenticated users of the application or possibly unauthenticated users depending on how the component is exposed. No EPSS data is available and the vulnerability is not currently listed in the CISA KEV catalog, suggesting limited public exploitation to date, but the high score and injection nature warrant serious attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade spring-ai-neo4j-store to version 1.0.5 or later, or 1.1.4 or later.
  • If an upgrade is not immediately possible, restrict the characters allowed in filter expression keys by rejecting backticks and other special characters.
  • Implement input validation or a whitelist of acceptable keys to prevent arbitrary Cypher construction.
  • Monitor application logs for unexpected Cypher queries or error messages that may indicate an injection attempt.

Generated by OpenCVE AI on March 27, 2026 at 10:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-7cj7-rcw6-p68v Spring AI has a Cypher Injection vulnerability in Neo4jVectorFilterExpressionConverter
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Ai
CPEs cpe:2.3:a:vmware:spring_ai:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Ai
Type Values Removed Values Added
First Time appeared Spring
Spring spring
Vendors & Products Spring
Spring spring
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-89
Type Values Removed Values Added
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.
Title Server-Side Request Forgery via Filter Expression Keys in Neo4jVectorStore
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Mar 27, 2026, 7:38 PM
Reserved
Jan 9, 2026, 6:54 AM
Status
Analyzed
Published
Mar 27, 2026, 6:16 AM
Modified
Oct 26, 2026, 10:10 PM