CVE-2022-37423
Neo4j Graph apoc plugins Partial Path Traversal Vulnerability
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling directories via apoc.log.stream.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling directories via apoc.log.stream.
- Record
CVE-2022-37423- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling directories via apoc.log.stream.
- Record
CVE-2022-37423- Updated
- 2026-11-02
EUVDEUVD-2022-6501 No score
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling directories via apoc.log.stream.
- Record
EUVD-2022-6501- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-78f9-745f-278p No score
Neo4j Graph apoc plugins Partial Path Traversal Vulnerability
Impact
A partial Directory Traversal Vulnerability found in apoc.log.stream function of apoc plugins in Neo4j Graph database.
This issue allows a malicious actor to potentially break out of the expected directory. The impact is limited to sibling directories. For example, userControlled.getCanonicalPath().startsWith("/usr/out") will allow an attacker to access a directory with a name like /usr/outnot.
Patches
The users should aim to use the latest released version compatible with their Neo4j version. The minimum versions containing patch for this vulnerability are 4.4.0.8 and 4.3.0.7
Workarounds
If you cannot upgrade the library, you can control the allowlist of the functions that can be used in your system
For more information
If you have any questions or comments about this advisory:
- Open an issue in neo4j-apoc-procedures
- Email us at [email protected]
Credits
We want to publicly recognise the contribution of Jonathan Leitschuh for reporting this issue.
- Record
GHSA-78f9-745f-278p- Weakness
- CWE-22
- Updated
- 2026-11-02
OSV No score
Neo4j APOC (Awesome Procedures on Cypher) before 4.3.0.7 and 4.x before 4.4.0.8 allows Directory Traversal to sibling directories via apoc.log.stream.
- Record
CVE-2022-37423- Updated
- 2026-11-02
OSVGHSA-78f9-745f-278p No score
Neo4j Graph apoc plugins Partial Path Traversal Vulnerability
Impact
A partial Directory Traversal Vulnerability found in apoc.log.stream function of apoc plugins in Neo4j Graph database.
This issue allows a malicious actor to potentially break out of the expected directory. The impact is limited to sibling directories. For example, userControlled.getCanonicalPath().startsWith("/usr/out") will allow an attacker to access a directory with a name like /usr/outnot.
Patches
The users should aim to use the latest released version compatible with their Neo4j version. The minimum versions containing patch for this vulnerability are 4.4.0.8 and 4.3.0.7
Workarounds
If you cannot upgrade the library, you can control the allowlist of the functions that can be used in your system
For more information
If you have any questions or comments about this advisory:
- Open an issue in neo4j-apoc-procedures
- Email us at [email protected]
Credits
We want to publicly recognise the contribution of Jonathan Leitschuh for reporting this issue.
- Record
GHSA-78f9-745f-278p- Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.neo4j.procedure:apocMaven |
4.4.0.0 up to 4.4.0.8 | 4.4.0.8 |
org.neo4j.procedure:apocMaven |
before 4.3.0.7 | 4.3.0.7 |
org.neo4j.procedure:apocMaven |
4.4.0.0 up to 4.4.0.8, plus listed versions 4.4.0.14.4.0.24.4.0.34.4.0.44.4.0.54.4.0.64.4.0.7 |
4.4.0.8 |
org.neo4j.procedure:apocMaven |
before 4.3.0.7, plus listed versions 1.0.01.0.0-RC11.1.03.0.4.13.0.4.2 Show 45 moreShow less3.0.8.43.0.8.53.1.0.23.1.0.33.1.0.43.1.0.53.1.2.53.1.3.73.1.3.83.1.3.93.2.0.13.2.0.43.2.3.53.2.3.63.3.0.13.3.0.23.3.0.33.3.0.43.4.0.13.4.0.23.4.0.33.4.0.43.4.0.53.4.0.73.5.0.13.5.0.103.5.0.113.5.0.123.5.0.133.5.0.143.5.0.153.5.0.173.5.0.183.5.0.193.5.0.23.5.0.203.5.0.213.5.0.43.5.0.53.5.0.63.5.0.74.0.0-rc014.0.0.04.0.0.14.0.0.10 |
4.3.0.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-37423 is a high vulnerability (CVSS 7.5) in Neo4j Awesome Procedures On Cypher, published August 12, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.48%, the 74th percentile. Fixed in org.neo4j.procedure:apoc 4.4.0.8.
References
neo4j.com/docs/aura/platform/apoc
github.com/neo4j-contrib/neo4j-apoc-procedures/security/advisories/GHSA-78f9-745f-278p
github.com/neo4j-contrib/neo4j-apoc-procedures/pull/3080
github.com/neo4j-contrib/neo4j-apoc-procedures/commit/d2f415c6f703bbc2cda4a753928821ff15d5c620
github.com/neo4j-contrib/neo4j-apoc-procedures/commit/fe9f8c77269f5a742585c1d62324eb70755de510
nvd.nist.gov/vuln/detail/CVE-2022-37423
github.com/advisories/GHSA-78f9-745f-278p
github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37423.json
github.com/neo4j-contrib/neo4j-apoc-procedures
Left out here: 47 versions. The JSON record has them.