Vulnerabilities in pkg:maven/org.apache.camel/camel-neo4j
PACKAGECVE-2026-46591 is a HIGH (CVSS 8.2) json property names from the vulnerability (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) affecting Apache Camel-Neo4j libraries in the Maven ecosystem. The issue involves json property names from the camelneo4jmatchproperties header are interpolated into the cypher where clause without validation, allowing cypher injection (incomplete remediation of cve-2025-66169). Remediation is available by upgrading affected packages to version 4.14.8, 4.18.3, 4.21.0.
pkg:maven/org.apache.camel/camel-neo4j
Vulnerability advisories affecting package pkg:maven/org.apache.camel/camel-neo4j. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q86m-qjpm-vqcw | CVE-2026-46591 | HIGH | Apache Camel-Neo4j: JSON property names from the CamelNeo4jMatchProperties header are interpolated into the Cypher WHERE clause without validation, allowing Cypher injection (incomplete remediation of CVE-2025-66169) |
| GHSA-4jrw-64vr-7g8m | CVE-2025-66169 | MODERATE | Apache Camel camel-neo4j component is vulnerable to cypher injection |
CVE-2026-46591 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N).
How to Fix CVE-2026-46591
To remediate this vulnerability, upgrade all affected Apache Camel-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.
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-neo4j</artifactId>
<version>4.14.8</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-neo4j</artifactId>
<version>4.18.3</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-neo4j</artifactId>
<version>4.21.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.camel
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-46591, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.camel
Analyze the terminal output to locate any version of Apache Camel-Neo4j in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.14.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.camel 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-943: Improper Neutralization of Special Elements in Data Query Logic, where the product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query. In Apache Camel-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
CVE-2026-46591 Affected Apache Camel-Neo4j Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-neo4j
|
Maven |
≥ 4.10.0
< 4.14.8
|
4.14.8
|
|
org.apache.camel:camel-neo4j
|
Maven |
≥ 4.15.0
< 4.18.3
|
4.18.3
|
|
org.apache.camel:camel-neo4j
|
Maven |
≥ 4.19.0
< 4.21.0
|
4.21.0
|
References
Frequently Asked Questions
What is CVE-2026-46591?
Which Apache Camel-Neo4j versions are affected?
What version fixes CVE-2026-46591?
Is camel-neo4j affected?
What is the CVSS score of CVE-2026-46591?
What CWE is associated with CVE-2026-46591?
How can I check Maven dependencies for CVE-2026-46591?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q86m-qjpm-vqcw",
"modified" : "2026-08-28T19:31:21Z",
"published" : "2026-07-06T09:30:29Z",
"aliases" : [ "CVE-2026-46591" ],
"summary" : "Apache Camel-Neo4j: JSON property names from the CamelNeo4jMatchProperties header are interpolated into the Cypher WHERE clause without validation, allowing Cypher injection (incomplete remediation of CVE-2025-66169)",
"details" : "Improper Neutralization of Special Elements in Data Query Logic vulnerability in Apache Camel Neo4j component.\n\nThe camel-neo4j producer builds the Cypher WHERE clause for its match/retrieve and delete operations from the CamelNeo4jMatchProperties map. CVE-2025-66169 addressed Cypher injection through the property values by binding them as query parameters ($paramN), but the property names (the JSON keys of that map) were still concatenated into the query string verbatim in Neo4jProducer.retrieveNodes() and deleteNode(). A property name containing Cypher syntax therefore alters the structure of the executed query. Where a route maps untrusted input into the CamelNeo4jMatchProperties map - for example by passing a request body as the match map, or from a consumer that does not filter inbound Camel* headers - an attacker who controls the JSON key names can inject arbitrary Cypher and read, modify or delete any node or relationship in the Neo4j database. The CamelNeo4jMatchProperties header is itself Camel-prefixed and is filtered by the HTTP header-filter strategy, so a plain HTTP client cannot set it directly; the issue is reachable through routes that deliberately or inadvertently carry untrusted data into that header.\nThis issue affects Apache Camel: from 4.10.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0.\n\nUsers are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. For deployments that cannot upgrade immediately, do not populate the CamelNeo4jMatchProperties map from untrusted input: validate or allow-list the property names (for example against ^[A-Za-z_][A-Za-z0-9_]*$) before the Neo4j producer, and ensure that any consumer feeding such a route filters inbound Camel* / camel* headers so the match header cannot be supplied by an external sender.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.10.0"
}, {
"fixed" : "4.14.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.15.0"
}, {
"fixed" : "4.18.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.19.0"
}, {
"fixed" : "4.21.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-46591"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/23258"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/23294"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/23323"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/7881d949c40befcc602016dcce25a2fb38d070ce"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/865d0b8b99f969e06ec6275b69c72670b5763245"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/bb4176fe87dc0cc60a5be37a57b69b8c610c1dd2"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2026-46591.html"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-4jrw-64vr-7g8m"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.14.8"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.18.3"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/releases/tag/camel-4.21.0"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-23528"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-943" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-28T19:31:21Z",
"nvd_published_at" : "2026-07-06T09:16:37Z"
}
}