CVE-2021-34371
Neo4j through 3.4.18 (with the shell server enabled) exposes an RMI service that arbitrarily deserializes Java objects, e.g., through setSessionVariable. An...
- Published
- Aug 5, 2021
- Updated
- Aug 4, 2024
- Assigning CNA
- mitre
- Evidence observed
- Aug 5, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HModerate · next 30 days
- Percentile
- 96.4%
- Model date
- Oct 20, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.
Sources
neo4j/CVE-2021-34371
Neo4j Shell Server `setSessionVariable` Deserialization (CVE-2021-34371)
Vulhub vulnerability labsDeclared conditions
- lab image version: vulhub/neo4j:3.4.18(neo4j/CVE-2021-34371/docker-compose.yml:services.web.image)
- CVE-2021-34371.jarExploit
CVE-2021-34371.jar
- CVE-2021-34371Exploit
python exploit - Neo4j 3.4.18 - RMI based Remote Code Execution (RCE)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.