Skip to main content

Spring Data Neo4j CVE-2026-125080

| EUVDEUVD-2026-131256 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-11-20 Neo4j GHSA-4fqp-j5hr-p6m5
8.2
CVSS 4.0 · Vendor: Neo4j
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Find endpoint using orderBy placeholder
  2. Delivery
    Craft malicious sort order parameter
  3. Exploit
    Inject Cypher via unvalidated orderBy
  4. Execution
    Perform blind reads of database
  5. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Data Neo4j 6.1.0 <8.0.9
Spring Data Neo4j 8.1.0 <8.1.3

Affected Packages

euvd spring_data_neo4j fix: 8.0.9, 8.1.3

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

Vendor (Neo4j) PRIMARY 8.2 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Neo4j).

CVSS VectorVendor: Neo4j

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 10:02 EUVD
CVE Published
Nov 20, 2026 - 08:48 cve.org
HIGH 8.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.7%
Top 47% exploitable
Prevalence
Low
niche Spring-to-Neo4j integration library, limited to Java apps using graph DB
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Neo4j

View all
CVE-2018-1000820 CRITICAL POC
10.0 Dec 20

neo4j-contrib neo4j-apoc-procedures version before commit 45bc09c contains a XML External Entity (XXE) vulnerability in

CVE-2021-34371 CRITICAL POC
9.8 Aug 05

Neo4j through 3.4.18 (with the shell server enabled) exposes an RMI service that arbitrarily deserializes Java objects,

CVE-2018-18389 CRITICAL POC
9.8 Oct 16

Due to incorrect access control in Neo4j Enterprise Database Server 3.4.x before 3.4.9, the setting of LDAP for authenti

CVE-2023-23926 HIGH POC
8.1 Feb 16

APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j. Rated high severity (CVSS 8.1), this vulnerability i

CVE-2022-37423 HIGH POC
7.5 Aug 12

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

CVE-2026-92681 CRITICAL
9.3 Oct 12

Schema-level and Query/Mutation type-level @authentication directives are silently ignored for top-level @cypher fields

CVE-2021-34802 HIGH
8.8 Jul 30

A failure in resetting the security context in some transaction actions in Neo4j Graph Database 4.2 and 4.3 could allow

CVE-2026-92684 HIGH
8.7 Nov 10

Neo4j's @neo4j/graphql library fails to enforce authorization on GraphQL aggregation queries, allowing unauthenticated r

CVE-2026-92683 HIGH
8.6 Nov 09

@neo4j/graphql versions 7.0.0 through 7.6.6 evaluate only the first condition of a multi-condition JWT where filter writ

CVE-2026-92682 HIGH
8.6 Oct 12

Authorization bypass in @neo4j/graphql 7.0.0 through 7.6.3 lets an authenticated user read, create, and delete records t

CVE-2026-5423 HIGH
8.2 Aug 06

JWT authentication bypass in @neo4j/graphql allows unauthenticated remote clients to forge arbitrary JWT claims over Gra

CVE-2026-19869 HIGH
7.6 Aug 18

Authentication bypass in @neo4j/graphql exposes admin-restricted custom-resolver fields to any authenticated user holdin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy