CVE-2026-46591 json
Apache Camel: 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)
published 2026-07-06 4 mo ago modified 2026-10-25 14 d ago also GHSA-q86m-qjpm-vqcw , EUVD-2026-41835
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
Improper Neutralization of Special Elements in Data Query Logic vulnerability in Apache Camel Neo4J component.
The 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. This 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.
Users 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.
Patch / fix
- maven org.apache.camel:camel-neo4j 4.14.8, 4.18.3, 4.21.0
- Apache Software Foundation Apache Camel 4.14.8, 4.18.3, 4.21.0
- github.com/apache/camel@7881d94 commit
- github.com/apache/camel@865d0b8 commit
- github.com/apache/camel@bb4176f commit
- github.com/apache/camel#23258 pull request
- github.com/apache/camel#23294 pull request
- github.com/apache/camel#23323 pull request
- github.com/apache/camel/releases/tag/camel-4.14.8 release
- github.com/apache/camel/releases/tag/camel-4.18.3 release
- github.com/apache/camel/releases/tag/camel-4.21.0 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.camel:camel-neo4j | >=4.10.0, <4.14.8 >=4.15.0, <4.18.3 >=4.19.0, <4.21.0 |
4.14.8 4.18.3 4.21.0 |
Affected products
- Apache Software Foundation Apache Camel
Classification
- Weakness
-
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
-
github.com
/apache/camel/pull/23258
web
-
github.com
/apache/camel/pull/23294
web
-
github.com
/apache/camel/pull/23323
web
-
github.com
/apache/camel/commit/7881d949c40befcc602016dcce25a2fb38d070ce
web
-
github.com
/apache/camel/commit/865d0b8b99f969e06ec6275b69c72670b5763245
web
-
github.com
/apache/camel/commit/bb4176fe87dc0cc60a5be37a57b69b8c610c1dd2
web
-
camel.apache.org
/security/CVE-2026-46591.html
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-46591
advisory
-
github.com
/advisories/GHSA-4jrw-64vr-7g8m
advisory
-
github.com
/apache/camel
package
-
github.com
/apache/camel/releases/tag/camel-4.14.8
web
-
github.com
/apache/camel/releases/tag/camel-4.18.3
web
-
github.com
/apache/camel/releases/tag/camel-4.21.0
web
-
issues.apache.org
/jira/browse/CAMEL-23528
web
Sources
- CVE List CVE-2026-46591
- GitHub Advisory GHSA-q86m-qjpm-vqcw
- NVD CVE-2026-46591
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.