Skip to content
WatchlistCritical

CVE-2021-34371Neo4j Insecure Deserialization

Deserialization of Untrusted Data in Neo4j

Published Aug 5, 2021 · Updated Sep 8, 2026 · Also known as BIT-neo4j-2021-34371, BIT-neo4j-enterprise-2021-34371, GHSA-pc4w-8v5j-29w9

Key Facts

Patch immediately
  • CVE-2021-34371 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Neo4j, neo4j-enterprise (bitnami), org.neo4j:neo4j (maven).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 35% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Neo4j 3.4.19, Neo4j <=3.4.18, org.neo4j:neo4j 3.5.0.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

35%

Higher than 98.4% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

41/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

Description

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.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
Neo4jNeo4jSee advisory3.4.18
neo4j-enterprisebitnamiSee advisoryn/a
org.neo4j:neo4jmavenSee advisory3.5.0

Patched Releases

Neo4j

3.4.19, <=3.4.18

org.neo4j:neo4j

3.5.0

Timeline

  1. Publicly disclosed

    Aug 5, 2021

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-502 Deserialization of Untrusted Data

FAQ

Common Questions.

Is CVE-2021-34371 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.