Technical impact
The vulnerability occurs when a custom Cypher query uses the orderBy placeholder and receives unfiltered user input; the input is treated as Cypher code, enabling an attacker to create blind read queries, insert arbitrary nodes, or, if the APOC library and its file export capability are enabled, write query results to a file on the database host, thereby compromising data confidentiality, integrity, and potentially availability.
Affected Systems
Neo4j Spring Data Neo4j versions 6.1.0 through 8.0.8 and 8.1.0 through 8.1.2 are vulnerable. These versions include the orderBy placeholder handling for custom queries exposed to user input.
Risk and Exploitability
With a CVSS score of 8.2 the flaw is considered high severity, while an EPSS score of less than 1% indicates a low probability of exploitation at the time of assessment. The vulnerability is not listed in the CISA KEV catalog. An attacker can exploit this remotely by supplying a crafted orderBy value to a custom query that is exposed to untrusted users; the attack requires only standard database access rights and does not need elevated privileges.