# 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)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **CWE:** CWE-943
- **Aliases:** GHSA-q86m-qjpm-vqcw
- **Published:** 2026-07-06T08:04:17.286Z
- **Modified:** 2026-10-25T15:10:00.147Z

## 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

## 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

- Maven `org.apache.camel:camel-neo4j`: affected \>= 4.10.0, \< 4.14.8; fixed 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)

## 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).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://camel.apache.org/security/CVE-2026-46591.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-46591>
- vendor: <https://github.com/advisories/GHSA-4jrw-64vr-7g8m>
- patch: <https://github.com/apache/camel/pull/23258>
- patch: <https://github.com/apache/camel/pull/23294>
- patch: <https://github.com/apache/camel/pull/23323>
- patch: <https://github.com/apache/camel/commit/7881d949c40befcc602016dcce25a2fb38d070ce>
- patch: <https://github.com/apache/camel/commit/865d0b8b99f969e06ec6275b69c72670b5763245>
- patch: <https://github.com/apache/camel/commit/bb4176fe87dc0cc60a5be37a57b69b8c610c1dd2>
- other: <https://github.com/apache/camel>
- other: <https://github.com/apache/camel/releases/tag/camel-4.14.8>
- other: <https://github.com/apache/camel/releases/tag/camel-4.18.3>
- other: <https://github.com/apache/camel/releases/tag/camel-4.21.0>
- other: <https://issues.apache.org/jira/browse/CAMEL-23528>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46591>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-q86m-qjpm-vqcw> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-46591> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46591>
