CVE-2022-23532

neo4j-apoc-procedures is vulnerable to path traversal

Description

APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j that provides hundreds of procedures and functions. A path traversal vulnerability found in the apoc.export.* procedures of apoc plugins in Neo4j Graph database. The issue allows a malicious actor to potentially break out of the expected directory. The vulnerability is such that files could only be created but not overwritten. For the vulnerability to be exploited, an attacker would need access to execute an arbitrary query, either by having access to an authenticated Neo4j client, or a Cypher injection vulnerability in an application. The minimum versions containing patch for this vulnerability are 4.4.0.12 and 4.3.0.12 and 5.3.1. As a workaround, you can control the allowlist of the procedures that can be used in your system, and/or turn off local file access by setting apoc.export.file.enabled=false.

Category

7.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.07%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: neo4j-contrib neo4j-apoc-procedures
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-23532?
CVE-2022-23532 has been scored as a high severity vulnerability.
How to fix CVE-2022-23532?
To fix CVE-2022-23532, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-23532 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-23532 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-23532?
CVE-2022-23532 affects neo4j-contrib neo4j-apoc-procedures.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.