Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFind endpoint using orderBy placeholder
-
DeliveryCraft malicious sort order parameter
-
ExploitInject Cypher via unvalidated orderBy
-
ExecutionPerform blind reads of database
-
ImpactExfiltrate data or write file via APOC
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | Exploitation requires an application built on Spring Data Neo4j (versions 6.1.0 through 8.0.8 or 8.1.0 through 8.1.2) that passes unvalidated user input as the orderBy value into a custom Cypher query using the placeholder directive - if that specific coding pattern is absent, the application is not exploitable. Blind reads and writing content into new nodes work under that condition alone; writing query results to a file on the database's accessible filesystem additionally requires that APOC and APOC file export are enabled. Limiting factors: the vulnerable orderBy-placeholder pattern is a developer choice rather than a default, and the file-write escalation depends on non-default APOC file-export configuration. |
| Impact | Signals point to a credible but conditional risk rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N, VC:H) scores 8.2 (High) and the CVSS 4.0 metric AT:P (attack requirements present) directly encodes the key caveat: exploitation is only possible against applications that pass unvalidated user input into the orderBy placeholder of a custom Cypher query. PR:N means no application authentication is required by the vulnerability itself, but the AT:P requirement and the description make clear the flaw is reachable only in a specific, non-universal coding pattern. The vuln.today decision label is 'this_week' (prioritize, not act_now/emergency). No EPSS score, no CISA KEV listing, and no PoC/exploit reference were supplied - only the vendor (Neo4j) advisory - so there is no public exploit identified at time of analysis and no evidence of active exploitation. Net: a genuine, developer-reported injection flaw worth remediating on a near-term schedule, but its real-world blast radius depends heavily on whether a given application actually uses the vulnerable orderBy placeholder pattern, which cannot be determined from this data. The listed VI:N (no integrity impact) sits in tension with the description's mention of writing content into new nodes and writing query results to files - verify integrity impact with the vendor. |
| Exploit ScenarioDerived | A remote attacker submits a crafted sort-order parameter to an application endpoint that forwards the value unvalidated into a Spring Data Neo4j custom Cypher query via the orderBy placeholder directive. The injected Cypher lets the attacker read database contents through blind reads or write that content into new nodes; if APOC and APOC file export are enabled, the attacker can additionally write query results to a file on the database host's accessible filesystem. No public exploit was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Spring Data Neo4j 6.1.0 through 8.0.8 and 8.1.0 through 8.1.2 leaves the orderBy placeholder used by custom Cypher queries open to injection, so a remote attacker who can influence a sort parameter can read database contents through blind queries or persist retrieved data into new nodes, and - where APOC with file export is enabled - write query results to a file on the database host's accessible filesystem. The flaw only materialises in applications that forward unvalidated user input into that placeholder, making exposure a function of the consuming application's query code rather than of the library alone; severity is 8.2 under CVSS 4.0, with an assessed 3.1 vector of AV:N/AC:H/PR:N/UI:N/C:H/I:L/A:N. No public exploit code or CISA KEV entry was identified at time of analysis, and the vendor-coordinated advisory is published at neo4j.com/security/CVE-2026-125080.
RemediationAI
The supplied data does not name a fixed release, so the patched version must be taken from the Neo4j security advisory at https://neo4j.com/security/CVE-2026-125080 and the library upgraded accordingly for both affected branches (6.1.0-8.0.8 and 8.1.0-8.1.2). Until that upgrade is applied, the decisive control is at the call site: stop forwarding raw user input into the orderBy placeholder and instead map incoming sort parameters against a fixed allowlist of known property names, rejecting anything outside it - this removes the injection primitive entirely but requires touching every custom query that uses the placeholder. Where client-chosen sorting is genuinely needed, resolve the requested field to a server-side constant rather than interpolating the string. If the connected Neo4j instance does not need APOC, removing it, or specifically disabling APOC file export, closes the file-write escalation path; the trade-off is loss of any procedures or export workflows that depend on those features, and this measure does not mitigate the blind-read or node-write variants of the injection.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Data Neo4j (SDN) is the Spring Framework integration for the Neo4j graph database; it derives Cypher queries from repository methods and lets developers supply custom Cypher with a special orderBy placeholder that is resolved at query-build time. Because sort expressions are assembled into the generated query rather than passed as a bound parameter, the placeholder is a string-splicing point, and the flaw is classified as CWE-943 (improper neutralization of special elements in data query logic) - the graph-database analogue of SQL injection, commonly called Cypher injection. An attacker who controls the sort value can terminate or extend the ORDER BY clause and append arbitrary Cypher: extractive payloads support blind read-out of stored data, and write-capable payloads can create nodes containing the extracted content. The file-write variant is not intrinsic to the injection primitive - it depends on the database instance having APOC installed with file export enabled, which lets crafted Cypher route query results to a path the database can reach. The CVSS 4.0 score carries AT:P, and the corresponding prerequisite is confirmed by the vendor description: the deployed application must actually pass unvalidated user input as the orderBy value to a custom query using the placeholder directive. The trigger conditions for any individual payload beyond that pattern are not described in the available sources.
Know when Neo4j gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable with no auth (PR:N), but AC:H because exploitation requires the specific unvalidated orderBy-placeholder pattern; high confidentiality from blind reads, low integrity from node/file writes.
Primary rating from Vendor (Neo4j).
CVSS VectorVendor: Neo4j
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-125080 in Spring Data Neo4j (versions 6.1.0-8.0.8 and 8.1.0-8.1.2) allows unauthenticated attackers who control sort parameters to inject Cypher queries, potentially exfiltrating database contents or persisting data to new nodes; with APOC enabled, file writes on the database host are also possible. This impacts any application that fails to validate user input passed to the orderBy placeholder, threatening data confidentiality and integrity, and requiring immediate identification of affected services and interim mitigations since no patch is available.
Apply strict input validation on sort parameters (e.g., whitelist column names), disable APOC file export features if not required, and implement monitoring for unusual database queries; no vendor patch is available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
neo4j-contrib neo4j-apoc-procedures version before commit 45bc09c contains a XML External Entity (XXE) vulnerability in
Neo4j through 3.4.18 (with the shell server enabled) exposes an RMI service that arbitrarily deserializes Java objects,
Due to incorrect access control in Neo4j Enterprise Database Server 3.4.x before 3.4.9, the setting of LDAP for authenti
APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j. Rated high severity (CVSS 8.1), this vulnerability i
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling di
Schema-level and Query/Mutation type-level @authentication directives are silently ignored for top-level @cypher fields
A failure in resetting the security context in some transaction actions in Neo4j Graph Database 4.2 and 4.3 could allow
Neo4j's @neo4j/graphql library fails to enforce authorization on GraphQL aggregation queries, allowing unauthenticated r
@neo4j/graphql versions 7.0.0 through 7.6.6 evaluate only the first condition of a multi-condition JWT where filter writ
Authorization bypass in @neo4j/graphql 7.0.0 through 7.6.3 lets an authenticated user read, create, and delete records t
JWT authentication bypass in @neo4j/graphql allows unauthenticated remote clients to forge arbitrary JWT claims over Gra
Authentication bypass in @neo4j/graphql exposes admin-restricted custom-resolver fields to any authenticated user holdin
EUVD-2026-131256
GHSA-4fqp-j5hr-p6m5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB