CVE-2026-1622 — neo4j
CVE-2026-1622 is a CWE-532 vulnerability in org.neo4j:neo4j. A fix is available for org.neo4j:neo4j — see the affected versions and patch details below.
Unredacted data exposure in query.log
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-1622.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.neo4j:neo4j☕org.neo4j:neo4jReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Neo4j Enterprise and Community editions versions prior to 2026.01.3 and 5.26.21 are vulnerable to a potential information disclosure by a user who has ability to access the local log files.
The "obfuscate_literals" option in the query logs does not redact error information, exposing unredacted data in the query log when a customer writes a query that fails. It can allow a user with legitimate access to the local log files to obtain information they are not authorised to see. If this user is also in a position to run queries and trigger errors, this vulnerability can potentially help them to infer information they are not authorised to see through their intended database access.
Neo4j recommends upgrading to versions 2026.01.3 (or 5.26.21) where the issue is fixed, and reviewing query log files permissions to ensure restricted access. If a project's configuration had db.logs.query.obfuscate_literals enabled, and users wish for the obfuscation to cover the error messages as well, theyneed to enable the new configuration setting db.logs.query.obfuscate_errors once they have upgraded Neo4j.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.neo4j:neo4j | all versions | 5.26.21org.neo4j:neo4j:5.26.21 |
| ☕Maven | org.neo4j:neo4j | ≥ 2025.01.0&&< 2026.01.3 | 2026.01.3org.neo4j:neo4j:2026.01.3 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.neo4j:neo4j, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.neo4j:neo4j to 5.26.21 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-1622 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
To exploit this issue, an attacker must have access to the local log files. Permission to run queries facilitates exploitation but access is essential to view exposed data. Due to this reason, this vulnerability has been rated with a moderate severity.
To mitigate this issue, restrict log file access at the operating system level. Ensure that access to the disk location where query.log (and other logs) are stored is strictly limited to authorized system administrators.Source: Red Hat security advisory for CVE-2026-1622 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-1622 in your dependencies?
Find it across Maven, including transitive dependencies.