CVE-2022-23532

HIGH

APOC < 4.3.0.12 - Path Traversal via apoc.export.* Procedures

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0066
EPSS Percentile 46.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (3)
neo4j/awesome_procedures_on_cyper 5.3.0
neo4j/awesome_procedures_on_cyper < 4.3.0.12
org.neo4j.procedure/apoc 0 - 4.3.0.12Maven
Published Jan 14, 2023
Tracked Since Feb 18, 2026