CVE-2026-1337: Neo4j Neo4j Enterprise And Community Editions Vulnerability

LOW
Advisory Identifier: GHSA-xr72-g735-4vwp
CWE-117
Published
Advisory Summary

CVE-2026-1337 is a LOW neo4j enterprise and community editions vulnerability (CWE-117: Improper Output Neutralization for Logs) affecting Neo4j libraries in the Maven ecosystem. The issue involves neo4j enterprise and community editions have insufficient escaping of unicode characters in query log. Remediation is available by upgrading affected packages to version 2026.01.

CVE-2026-1337 at a Glance

CVE Identifier CVE-2026-1337
GHSA Identifier GHSA-xr72-g735-4vwp
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-117: Improper Output Neutralization for Logs
Affected Product Neo4j
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-1337

To remediate this vulnerability, upgrade all affected Neo4j dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.neo4j:neo4j fixed: 2026.01
<dependency>
    <groupId>org.neo4j</groupId>
    <artifactId>neo4j</artifactId>
    <version>2026.01</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.neo4j

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-1337, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.neo4j

Analyze the terminal output to locate any version of Neo4j in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2026.01), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.neo4j command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-117: Improper Output Neutralization for Logs, where the product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file. In Neo4j, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Insufficient escaping of unicode characters in query log in Neo4j Enterprise and Community editions prior to 2026.01 can lead to XSS if the user opens the logs in a tool that treats them as HTML. There is no security impact on Neo4j products, but this advisory is released as a precaution to treat the logs as plain text if using versions prior to 2026.01. Proof of concept exploit:  https://github.com/JoakimBulow/CVE-2026-1337

CVE-2026-1337 Affected Neo4j Versions

1 component(s)
Fixed Versions:
2026.01
Product / Package Ecosystem Affected Versions Fixed Version
org.neo4j:neo4j
Maven
< 2026.01
2026.01

References

Frequently Asked Questions

What is CVE-2026-1337?
CVE-2026-1337 is a security vulnerability in Neo4j involving Neo4j Enterprise and Community editions have insufficient escaping of unicode characters in query log under CWE-117: Improper Output Neutralization for Logs.
Which Neo4j versions are affected?
Affected versions include releases prior to 2026.01 across affected packages: org.neo4j:neo4j.
What version fixes CVE-2026-1337?
Upgrading to 2026.01 (or the latest patched release for your respective branch) resolves the vulnerability.
Is neo4j affected?
Yes, org.neo4j:neo4j is affected in releases prior to 2026.01. Upgrade your dependency to 2026.01 or later.
What CWE is associated with CVE-2026-1337?
CVE-2026-1337 is classified under CWE-117: Improper Output Neutralization for Logs (The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.).
How can I check Maven dependencies for CVE-2026-1337?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.neo4j'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xr72-g735-4vwp",
  "modified" : "2026-02-06T19:41:15Z",
  "published" : "2026-02-06T15:31:03Z",
  "aliases" : [ "CVE-2026-1337" ],
  "summary" : "Neo4j Enterprise and Community editions have insufficient escaping of unicode characters in query log",
  "details" : "Insufficient escaping of unicode characters in query log in Neo4j Enterprise and Community editions prior to 2026.01 can lead to XSS if the user opens the logs in a tool that treats them as HTML. There is no security impact on Neo4j products, but this advisory is released as a precaution to treat the logs as plain text if using versions prior to 2026.01.\n\nProof of concept exploit:  https://github.com/JoakimBulow/CVE-2026-1337",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.neo4j:neo4j"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2026.01"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-1337"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/JoakimBulow/CVE-2026-1337"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/neo4j/neo4j"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-117" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-06T19:41:15Z",
    "nvd_published_at" : "2026-02-06T14:16:38Z"
  }
}