CVE-2022-23532
MEDIUM 6.5CVSS 3.1org.neo4j.procedure:apoc Path Traversal Vulnerability
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.
- Published
- 14 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-5v8v-gwmw-qw97
- Sources
- NVDJSONOSV GHSA-5v8v-gwmw-qw97JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | neo4j | awesome_procedures_on_cypercpe:2.3:a:neo4j:awesome_procedures_on_cyper:*:*:*:*:*:*:*:* |
< 4.3.0.12 | 4.3.0.12 |
| NVD | neo4j | awesome_procedures_on_cypercpe:2.3:a:neo4j:awesome_procedures_on_cyper:*:*:*:*:*:*:*:* |
>= 4.4.0.0, < 4.4.0.12 | 4.4.0.12 |
| NVD | neo4j | awesome_procedures_on_cypercpe:2.3:a:neo4j:awesome_procedures_on_cyper:5.3.0:*:*:*:*:*:*:* |
= 5.3.0 | |
| OSV | Maven | org.neo4j.procedure:apoc | < 4.3.0.12 | 4.3.0.12 |
| OSV | Maven | org.neo4j.procedure:apoc | >= 4.4.0.0, < 4.4.0.12 | 4.4.0.12 |
References
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/commit/01e63ed2d187cd2a8aa1d78bf831ef0fdd69b522 · Patch, Third Party Advisory, WEB
- https://github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-5v8v-gwmw-qw97 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23532 · ADVISORY
- https://github.com/neo4j-contrib/neo4j-apoc-procedures · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 14 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Jan 2023)