HIGH 8.2

CVE-2026-125080

Cypher injection via orderBy placeholder in Spring Data Neo4j custom queries

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Improper neutralization of special elements in data query logic (Cypher injection) in the orderBy placeholder handling for custom queries in Neo4j Spring Data Neo4j versions 6.1.0 through 8.0.8 and 8.1.0 through 8.1.2 allows a remote attacker to read database contents via blind reads, write read content into new nodes, or, if APOC and APOC file export are enabled, to write query results to a file in the database's accessible file system via crafted sort order parameters. Exploitation requires an application that passes unvalidated user input as the orderBy value to a custom Cypher query using the placeholder directive.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.data » spring-data-neo4jpreliminary
>= 6.1.0, < 8.0.9>= 8.1.0, < 8.1.3
8.0.9, 8.1.3

Blast radius

1affected artifacts
177affected versions
98dependent artifacts (est.)
1,059dependent versions

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

DepthDependent versions
Direct
474
2 hops
336
3 hops
147
4 hops
94
5 hops
5
6 hops
3

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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.