CVE-2026-125080
Cypher injection via orderBy placeholder in Spring Data Neo4j custom queries
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)
| Artifact | Affected versions | Fixed 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
75% of the dependent artifacts (74) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 474 |
| 2 hops | 336 |
| 3 hops | 147 |
| 4 hops | 94 |
| 5 hops | 5 |
| 6 hops | 3 |
Most used dependents
- org.springframework.boot » spring-boot-starter-data-neo4j37 usages
- org.springframework.boot » spring-boot-starter-test-classic20 usages
- io.komune.cccev » cccev-f2-commons8 usages
- city.smartb.cccev » projection-api6 usages
- city.smartb.cccev » cccev-projection-api6 usages
- io.komune.cccev » cccev-projection-api6 usages
- io.komune.cccev » cccev-concept-f2-domain-jvm5 usages
- org.springframework.boot » spring-boot-data-neo4j4 usages
- org.springframework.boot » spring-boot-starter-classic4 usages
- city.smartb.cccev » certification-api4 usages
- city.smartb.cccev » cccev-certification-api4 usages
- io.komune.cccev » cccev-core-jvm4 usages
- io.komune.cccev » cccev-evidence-f2-domain-jvm4 usages
- io.komune.cccev » cccev-requirement-f2-domain-jvm4 usages
- org.springframework.boot » spring-boot-data-neo4j-test3 usages
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.
