Live threats

All CVEs / Neo4j

CVE-2021-34371Neo4j

Critical 9.8 No auth neededHigh EPSS

Priority
77
CVSS 3.1
9.8
EPSS
35.3%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Aug 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Neo4j through 3.4.18 (with the shell server enabled) exposes an RMI service that arbitrarily deserializes Java objects, e.g., through setSessionVariable. An attacker can abuse this for remote code execution because there are dependencies with exploitable gadget chains.

Original NVD text.

What to do

  1. Apply the vendor's security update for Neo4j.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.neo4j:neo4j < 3.5.0 3.5.0 —

Per OSV / GitHub Advisories (GHSA-pc4w-8v5j-29w9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
neo4jneo4j≤ 3.4.18

Official sources

References

Links published by the sources. Open them with care.