# CVE-2022-23532: neo4j-apoc-procedures is vulnerable to path traversal

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.75%, higher than 51% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2023-01-13T21:28:46.000Z
- Modified: 2026-06-17T04:30:18.513Z
- Also known as: GHSA-5v8v-gwmw-qw97
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- neo4j-contrib neo4j-apoc-procedures: < 4.3.0.12; >= 4.4.0.0, < 4.4.0.12
- org.neo4j.procedure:apoc (Maven): before 4.3.0.12; from 4.4.0.0 before 4.4.0.12
- neo4j awesome_procedures_on_cyper: before 4.3.0.12; from 4.4.0.0 before 4.4.0.12; 5.3.0

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-5v8v-gwmw-qw97> (exploit, third-party-advisory, web)
- <https://github.com/neo4j-contrib/neo4j-apoc-procedures/commit/01e63ed2d187cd2a8aa1d78bf831ef0fdd69b522> (exploit, patch, third-party-advisory, web)
- <https://github.com/neo4j-contrib/neo4j-apoc-procedures> (exploit, package)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23532> (advisory)

## Sources

- CVE List: [CVE-2022-23532](https://www.cve.org/CVERecord?id=CVE-2022-23532), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-5v8v-gwmw-qw97](https://github.com/advisories/GHSA-5v8v-gwmw-qw97), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-23532](https://nvd.nist.gov/vuln/detail/CVE-2022-23532), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23532 · Whole record: https://cve.day/CVE-2022-23532.json · Rebuilt by cve.day 2026-11-25T22:58:18.199Z
