CVE-2026-125080 (GCVE-0-2026-125080)

Vulnerability from cvelistv5 – Published: 2026-11-20 08:48 – Updated: 2026-11-20 18:06
VLAI
Title
Cypher injection via orderBy placeholder in Spring Data Neo4j custom queries
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-20 18:05 UTC
CWE
  • CWE-943 - Improper Neutralization of Special Elements in Data Query Logic
Assigner
Neo4j CNA under the mitre root
CNA scorecard – unranked: 9 records in the last 180 days, 10 needed details
References
Impacted products
Vendor Product Version CPE status
Neo4j Spring Data Neo4j Affected: 6.1.0 , < 8.0.9 (maven)
Affected: 8.1.0 , < 8.1.3 (maven)
Unaffected: 8.2.0 , < * (maven)
    cpe:2.3:a:neo4j:spring_data_neo4j:*:*:*:*:*:*:*:*
    cpe:2.3:a:neo4j:spring_data_neo4j:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-125080",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-20T18:05:23.736206Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-20T18:06:17.584Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "defaultStatus": "unaffected",
          "packageName": "org.springframework.data:spring-data-neo4j",
          "product": "Spring Data Neo4j",
          "repo": "https://github.com/spring-projects/spring-data-neo4j",
          "vendor": "Neo4j",
          "versions": [
            {
              "lessThan": "8.0.9",
              "status": "affected",
              "version": "6.1.0",
              "versionType": "maven"
            },
            {
              "lessThan": "8.1.3",
              "status": "affected",
              "version": "8.1.0",
              "versionType": "maven"
            },
            {
              "lessThan": "*",
              "status": "unaffected",
              "version": "8.2.0",
              "versionType": "maven"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Exploitation requires an application that (1) uses a custom Cypher query containing the orderBy SpEL (Spring Expression Language) directive and (2) passes an unvalidated, attacker-controlled value to the orderBy input of that query. Writing query results to a file additionally requires the APOC plugin with APOC file export enabled on the database."
            }
          ],
          "value": "Exploitation requires an application that (1) uses a custom Cypher query containing the orderBy SpEL (Spring Expression Language) directive and (2) passes an unvalidated, attacker-controlled value to the orderBy input of that query. Writing query results to a file additionally requires the APOC plugin with APOC file export enabled on the database."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:neo4j:spring_data_neo4j:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "8.0.9",
                  "versionStartIncluding": "6.1.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:neo4j:spring_data_neo4j:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "8.1.3",
                  "versionStartIncluding": "8.1.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:neo4j:spring_data_neo4j:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "*",
                  "versionStartIncluding": "8.2.0",
                  "vulnerable": false
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "OR"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "Hayk Andriasyan"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Tim Zheng (tim.zheng)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Improper neutralization of special elements in data query logic (Cypher injection) in the \u003ccode\u003eorderBy\u003c/code\u003e 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\u0027s accessible file system via crafted sort order parameters. Exploitation requires an application that passes unvalidated user input as the \u003ccode\u003eorderBy\u003c/code\u003e value to a custom Cypher query using the placeholder directive."
            }
          ],
          "value": "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\u0027s 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."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-676",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-676 NoSQL Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-943",
              "description": "CWE-943 Improper Neutralization of Special Elements in Data Query Logic",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-20T08:48:57.543Z",
        "orgId": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6",
        "shortName": "Neo4j"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://neo4j.com/security/CVE-2026-125080"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Upgrade Spring Data Neo4j to 8.0.9, 8.1.3, 8.2.0 or later (depending on your release line). The fix restricts functions callable in the orderBy directive to an allow list of built-in (non-APOC) functions; the list must be extended intentionally if other functions are needed."
            }
          ],
          "value": "Upgrade Spring Data Neo4j to 8.0.9, 8.1.3, 8.2.0 or later (depending on your release line). The fix restricts functions callable in the orderBy directive to an allow list of built-in (non-APOC) functions; the list must be extended intentionally if other functions are needed."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Cypher injection via orderBy placeholder in Spring Data Neo4j custom queries",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Validate any user-supplied orderBy value against an allow list of known property names and sort directions before passing it to Spring Data Neo4j. Do not expose the orderBy input to untrusted users without validation."
            }
          ],
          "value": "Validate any user-supplied orderBy value against an allow list of known property names and sort directions before passing it to Spring Data Neo4j. Do not expose the orderBy input to untrusted users without validation."
        }
      ],
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6",
    "assignerShortName": "Neo4j",
    "cveId": "CVE-2026-125080",
    "datePublished": "2026-11-20T08:48:57.543Z",
    "dateReserved": "2026-11-09T17:00:48.023Z",
    "dateUpdated": "2026-11-20T18:06:17.584Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-125080",
      "date": "2026-11-20",
      "epss": "0.00681",
      "percentile": "0.53367"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.maven.apache.org/maven2",
                "defaultStatus": "unaffected",
                "packageName": "org.springframework.data:spring-data-neo4j",
                "product": "Spring Data Neo4j",
                "repo": "https://github.com/spring-projects/spring-data-neo4j",
                "vendor": "Neo4j",
                "versions": [
                  {
                    "lessThan": "8.0.9",
                    "status": "affected",
                    "version": "6.1.0",
                    "versionType": "maven"
                  },
                  {
                    "lessThan": "8.1.3",
                    "status": "affected",
                    "version": "8.1.0",
                    "versionType": "maven"
                  },
                  {
                    "lessThan": "*",
                    "status": "unaffected",
                    "version": "8.2.0",
                    "versionType": "maven"
                  }
                ]
              }
            ],
            "source": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s 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."
          }
        ],
        "id": "CVE-2026-125080",
        "lastModified": "2026-11-20T19:18:38.967",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-125080",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-20T18:05:23.736206Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-20T09:19:56.827",
        "references": [
          {
            "source": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6",
            "url": "https://neo4j.com/security/CVE-2026-125080"
          }
        ],
        "sourceIdentifier": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-943"
              }
            ],
            "source": "3b236295-4ccd-4a1f-a1c1-a72eecc8d7b6",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}


Solutions

CNA · Neo4j
Upgrade Spring Data Neo4j to 8.0.9, 8.1.3, 8.2.0 or later (depending on your release line). The fix restricts functions callable in the orderBy directive to an allow list of built-in (non-APOC) functions; the list must be extended intentionally if other functions are needed.

Workarounds

CNA · Neo4j
Validate any user-supplied orderBy value against an allow list of known property names and sort directions before passing it to Spring Data Neo4j. Do not expose the orderBy input to untrusted users without validation.

Configurations

CNA · Neo4j
Exploitation requires an application that (1) uses a custom Cypher query containing the orderBy SpEL (Spring Expression Language) directive and (2) passes an unvalidated, attacker-controlled value to the orderBy input of that query. Writing query results to a file additionally requires the APOC plugin with APOC file export enabled on the database.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.