CVE-2026-1622
Java vulnerability analysis and mitigation

Overview

CVE-2026-1622 is an information disclosure vulnerability in Neo4j Enterprise and Community editions affecting versions prior to 2026.01.3 and 5.26.21 (Maven package org.neo4j:neo4j). The flaw causes the db.logs.query.obfuscate_literals query log setting to fail to redact error messages, exposing unredacted sensitive data in query logs when a query fails. It was published on February 4, 2026, with patches released the same day. The vulnerability carries a CVSS v4.0 base score of 4.8 (Medium) (GitHub Advisory, Neo4j Advisory).

Technical details

The root cause is classified as CWE-532 (Insertion of Sensitive Information into Log File). When db.logs.query.obfuscate_literals is enabled, Neo4j is expected to redact literal values from query logs; however, error messages generated by failed queries bypass this obfuscation and are written to the query log in plaintext. Exploitation requires local access to the Neo4j host, low-level privileges (e.g., a legitimate user account), and the ability to read query log files — no network access or user interaction is needed. An attacker who can also execute queries and deliberately trigger errors may further leverage error messages to infer data they are not authorized to access through their normal database permissions (GitHub Advisory, Neo4j Advisory).

Impact

Successful exploitation results in a low-severity confidentiality impact: authenticated users with local log file read access can view unredacted sensitive data (e.g., literal values from failed queries) that should have been obfuscated. There is no impact to integrity or availability. The vulnerability is limited to the local system and does not directly enable lateral movement, remote code execution, or privilege escalation, but could expose database content details that assist further attacks against the database (GitHub Advisory).

Exploitation steps

  1. Identify a vulnerable Neo4j instance: Confirm the target is running Neo4j Enterprise or Community edition prior to version 5.26.21 or 2026.01.3, and that db.logs.query.obfuscate_literals=true is set in the configuration.
  2. Obtain local log file access: As an authenticated user with filesystem read permissions on the Neo4j host, locate the query log file (typically at <neo4j-home>/logs/query.log).
  3. Trigger query errors: Using a Neo4j database account, execute Cypher queries that are expected to fail — for example, queries referencing non-existent properties or using invalid literal values — so that error messages containing unredacted data are written to the query log.
  4. Read the query log: Access the query log file and inspect error entries, which will contain unredacted literal values from failed queries that should have been obfuscated, potentially revealing sensitive database content (GitHub Advisory, Neo4j Advisory).

Indicators of compromise

  • Logs: Query log entries (query.log) containing error messages with unredacted literal values when db.logs.query.obfuscate_literals is enabled; repeated failed query attempts from a single user account that appear designed to trigger specific error conditions.
  • File System: Unusual access timestamps on Neo4j query log files (<neo4j-home>/logs/query.log) by non-administrative user accounts; unexpected copying or archiving of log files by low-privileged users.
  • Process/Audit: OS-level audit logs (e.g., Linux auditd) showing read access to Neo4j log directories by accounts that do not normally access them.

Mitigation and workarounds

Upgrade Neo4j to version 2026.01.3 (for the 2025.x/2026.x release line) or 5.26.21 (for the 5.x release line) where the issue is fixed. After upgrading, enable the new configuration setting db.logs.query.obfuscate_errors=true to ensure error messages are also covered by log obfuscation. Additionally, review and restrict filesystem permissions on query log files to limit access to only authorized administrators. If db.logs.query.obfuscate_literals was previously enabled, review existing query log files for any exposed sensitive information (GitHub Advisory, Neo4j Advisory).

Community reactions

The vulnerability was assigned and disclosed by Neo4j on February 4, 2026, with a patch available on the same day. Coverage has been limited to standard vulnerability tracking platforms (NVD, GitHub Advisory Database, Vulners, INCIBE) with no notable researcher commentary or significant social media discussion, consistent with the moderate severity and limited exploitability of the flaw (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-p279-2cqp-84jgCRITICAL9.6
  • Java logoJava
  • org.openidentityplatform.opendj:opendj-server-legacy
NoYesJul 24, 2026
GHSA-fp43-vj7g-pg92HIGH7.5
  • Java logoJava
  • org.omnifaces:omnifaces
NoYesJul 24, 2026
GHSA-7ppr-r889-mcf2HIGH7.5
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.12
NoYesJul 24, 2026
GHSA-mhvj-jhpq-885vHIGH7.4
  • Java logoJava
  • org.http4s:http4s-blaze-server_2.13
NoYesJul 24, 2026
GHSA-46q4-43ph-c6frHIGH7.4
  • Java logoJava
  • org.http4s:blaze-http_2.12
NoYesJul 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management