CVE-2022-37423: Neo4j Graph apoc plugins Partial Path Traversal Vulnerability

org.neo4j.procedure:apoc Updated 02 Oct 2025

Summary

12/08/2022
Yes i
Moderate
Not published

CVE-2022-37423: Neo4j Graph apoc plugins Partial Path Traversal Vulnerability. Affects org.neo4j.procedure:apoc across 2 version ranges.

< 4.3.0.7 >= 4.4.0.0, < 4.4.0.8

Fixed in 4.3.0.7 or 4.4.0.8, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Neo4j Graph is a popular graph database that allows users to store, query, and analyze highly connected data. It provides a flexible and scalable platform for building applications that require complex data relationships. The apoc plugins in Neo4j Graph extend its functionality by providing additional procedures and functions. These plugins are widely used by developers to enhance their applications with advanced graph processing capabilities.

Vulnerability Detail

A partial Directory Traversal Vulnerability has been discovered in the apoc.log.stream function of the apoc plugins in Neo4j Graph. This vulnerability allows a malicious actor to potentially break out of the expected directory and access sibling directories. Although the impact is limited to sibling directories, it can still pose a security risk if sensitive information or critical system files are stored in those directories. An attacker could exploit this vulnerability to gain unauthorized access to sensitive data or execute arbitrary code.

How To Fix

Latest published version: 4.4.0.40 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.3.0.7 4.3.0.7
  • >= 4.4.0.0, < 4.4.0.8 4.4.0.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading the library is not feasible, you can implement a workaround by controlling the allowlist of functions that can be used in your system. By configuring the config_dbms.security.procedures.allowlist setting, you can restrict the usage of the apoc.log.stream function or any other vulnerable functions. This will prevent potential exploitation of the vulnerability, but it may also limit the functionality of your application. Therefore, upgrading to the patched version is the recommended solution.

Conclusion

The partial Directory Traversal Vulnerability in the apoc plugins of Neo4j Graph can be mitigated by upgrading to the latest released version of the database. If upgrading is not possible, controlling the allowlist of functions can serve as a temporary workaround. It is important to take prompt action to ensure the security of your Neo4j Graph deployment. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for org.neo4j.procedure:apoc →

Share this vulnerability

FAQ

This vulnerability allows an attacker to break out of the expected directory and access sibling directories. Although the impact is limited to sibling directories, it can still pose a security risk if sensitive information or critical system files are stored in those directories.

To fix this vulnerability, you should upgrade to the latest released version of Neo4j Graph that is compatible with your current version. The minimum versions containing the patch for this vulnerability are 4.4.0.8 and 4.3.0.7.

Yes, if upgrading the library is not feasible, you can control the allowlist of functions that can be used in your system. By configuring the config_dbms.security.procedures.allowlist setting, you can restrict the usage of the apoc.log.stream function or any other vulnerable functions.

No, this vulnerability requires an attacker to have access to the system where the vulnerable Neo4j Graph database is running. It cannot be exploited remotely.

This vulnerability was reported by Jonathan Leitschuh.

Related vulnerabilities

Recent vulnerabilities recorded for org.neo4j.procedure:apoc.

How To Fix

Latest published version: 4.4.0.40 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 4.3.0.7 4.3.0.7
  • >= 4.4.0.0, < 4.4.0.8 4.4.0.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback