Cypher injection via orderBy placeholder in Spring Data Neo4j custom queries
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Spring Data Neo4j versions from 6.1.0 before 8.0.9 and from 8.1.0 before 8.1.3 are affected. Improper neutralization of special elements in Cypher queries (CWE-943) lets a remote attacker without privileges read database contents when the application passes unvalidated user input as the orderBy value of a custom query. The attacker can read data through blind reads or write it into new nodes, and if APOC and APOC file export are enabled, can write query results to a file on the database file system. The CVSS 4.0 base score is 8.2 (HIGH).
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Spring Data Neo4j to 8.0.9, 8.1.3, or 8.2.0. Neo4j Spring Data Neo4j 8.2.0 is listed as the fixed release for the 8.2 line.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA Spring Data Neo4j (Neo4j) Fixed in 8.0.9, 8.1.3, 8.2.0
Timeline
- 2026-11-20 Threatist record created from CVE-2026-125080
- 2026-11-20 Alias added: GHSA-4fqp-j5hr-p6m5
- 2026-11-20 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
References
More neo4j vulnerabilities
- TI-2021-13406 Neo4j through 3.4.18 (with the shell server enabled) exposes an RMI service that… CVSS 3.1CRITICAL 9.8
- TI-2026-71015 Authentication ignored for top-level @cypher fields in @neo4j/graphql CVSS 4.0CRITICAL 9.3
- TI-2018-16042 neo4j-contrib neo4j-apoc-procedures version before commit 45bc09c contains a XML External… CVSS 3.0CRITICAL 10.0
- TI-2018-13005 Due to incorrect access control in Neo4j Enterprise Database Server 3.4.x before 3.4.9… CVSS 3.0CRITICAL 9.8
- TI-2026-87873 Aggregation queries can bypass authentication restrictions in @neo4j/graphql CVSS 4.0HIGH 8.7
- TI-2021-18971 A directory traversal vulnerability in the apoc plugins in Neo4J Graph database before… CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-125080 · CVE Program
- CVE-2026-125080 · NVD
- FIRST EPSS
- GHSA-4fqp-j5hr-p6m5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences