CVE-2026-46591
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)
Also known as GHSA-q86m-qjpm-vqcw
Mitigation
- Upgrade org.apache.camel:camel-neo4j to one of 4.14.8, 4.18.3, 4.21.0 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.camel:camel-neo4j (>= 4.10.0, < 4.14.8)
- Anyone running Apache Software Foundation Apache Camel >= 4.10.0, < 4.14.8; >= 4.15.0, < 4.18.3; >= 4.19.0, < 4.21.0
Vulnerability facts
- Affected
- org.apache.camel:camel-neo4j >= 4.10.0, < 4.14.8
- Fixed in
- 4.14.8, 4.18.3, 4.21.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.55% chance of exploitation in 30 days (percentile 40, 2026-11-26)
- CWE
- CWE-943
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.camel:camel-neo4j | >= 4.10.0, < 4.14.8 | 4.14.8, 4.18.3, 4.21.0 | osv |
| Apache Software Foundation Apache Camel | >= 4.10.0, < 4.14.8; >= 4.15.0, < 4.18.3; >= 4.19.0, < 4.21.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-46591. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-46591.md Affected: org.apache.camel:camel-neo4j >= 4.10.0, < 4.14.8 Fixed in: 4.14.8, 4.18.3, 4.21.0 Steps: 1. Search this machine and project for org.apache.camel:camel-neo4j (Maven), Apache Software Foundation Apache Camel: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/apache/camel/pull/23258
- https://github.com/apache/camel/pull/23294
- https://github.com/apache/camel/pull/23323
- https://github.com/apache/camel/commit/7881d949c40befcc602016dcce25a2fb38d070ce
- https://github.com/apache/camel/commit/865d0b8b99f969e06ec6275b69c72670b5763245
- https://github.com/apache/camel/commit/bb4176fe87dc0cc60a5be37a57b69b8c610c1dd2
FAQ
Is CVE-2026-46591 being exploited?
There is no confirmed exploitation: CVE-2026-46591 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-46591?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-46591?
org.apache.camel:camel-neo4j >= 4.10.0, < 4.14.8.
Is there a fix for CVE-2026-46591?
Yes. Fixed in 4.14.8, 4.18.3, 4.21.0. Upgrade org.apache.camel:camel-neo4j to one of 4.14.8, 4.18.3, 4.21.0 (or later in the same release line).
How do I check if I'm affected by CVE-2026-46591?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.