CamelApplication · Apache

CVE-2026-46591

HIGH · 8.2 CVSS v3.1 Published 2026-07-06
Fix available
A fix is available. Upgrade to 4.14.8 / 4.18.3 or later.
See remediation →
91/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Apache Camel Neo4j component has a Cypher injection vulnerability where property NAMES (JSON keys) from the CamelNeo4jMatchProperties map are concatenated directly into the WHERE clause instead of being validated or parameterized. While CVE-2025-66169 fixed the property VALUES by using query parameters, the keys remained vulnerable. An attacker who controls the map keys (e.g., through routes passing untrusted input into this header) can inject arbitrary Cypher syntax to read, modify, or delete any node or relationship in the database.

MitigationUpgrade to Apache Camel 4.21.0 (or 4.14.8 for LTS / 4.18.3 for 4.18.x). For non-upgrade scenarios, validate property names against a strict allow-list regex (^[A-Za-z_][A-Za-z0-9_]*$) before the Neo4j producer and ensure consumers filter inbound Camel* headers.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
CamelApplication
Affected:>= 4.10.0, < 4.14.8>= 4.15.0, < 4.18.3>= 4.19.0, < 4.21.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Apache Camel version
    Check your project's dependency management (Maven pom.xml, Gradle build file, or run 'mvn dependency:tree | grep camel' to find the camel-core or camel-neo4j version
    Affected if The version falls within >=4.10.0 <4.14.8, >=4.15.0 <4.18.3, or >=4.19.0 <4.21.0
  2. Confirm Neo4j component is deployed
    Search your codebase for 'camel-neo4j' dependency or 'neo4j:' endpoint URIs in route definitions (*.java, *.xml, *.yaml route files)
    Affected if The Neo4j component is included in your deployment
  3. Locate CamelNeo4jMatchProperties usage
    Search your route definitions and message headers for 'CamelNeo4jMatchProperties' or 'Neo4jMatchProperties' usage, especially where headers are set from dynamic input
    Affected if Routes populate this header with values derived from external or untrusted input
  4. Inspect header injection paths
    Review how headers named 'CamelNeo4jMatchProperties' are populated: check for from(), setHeader(), bean() calls that accept user-supplied data and assign it as map keys
    Affected if Map keys (property names) come from request parameters, message bodies, or external APIs without validation
  5. Verify property name validation
    Search code for any allow-list regex (like ^[A-Za-z_][A-Za-z0-9_]*) applied to Neo4jMatchProperties map keys before the Cypher query is built
    Affected if No validation regex exists, or the regex is missing or permissive

You are affected if you run a vulnerable Apache Camel version (4.10.0-4.14.7, 4.15.0-4.18.2, or 4.19.0-4.20.x) AND use the Neo4j component with the CamelNeo4jMatchProperties header populated from untrusted input.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.14.8 / 4.18.3 / 4.21.0 or later
Fixed in 4.14.84.18.34.21.0
Interim mitigation

Upgrade to Apache Camel 4.21.0 (or 4.14.8 for LTS / 4.18.3 for 4.18.x). For non-upgrade scenarios, validate property names against a strict allow-list regex (^[A-Za-z_][A-Za-z0-9_]*$) before the Neo4j producer and ensure consumers filter inbound Camel* headers.

Recommended fix High confidence

4.21.0 (or 4.14.8 for 4.14.x LTS, 4.18.3 for 4.18.x)

  1. Upgrade Apache Camel to version 4.21.0 (or 4.14.8 for 4.14.x LTS stream, or 4.18.3 for 4.18.x stream)
  2. After upgrading, verify that routes using the Neo4j component function correctly with your existing configuration
  3. If immediate upgrade is not possible, implement input validation on CamelNeo4jMatchProperties map keys before they reach the Neo4j producer - validate that property names match the pattern ^[A-Za-z_][A-Za-z0-9_]*$ to allow only valid Cypher identifiers
  4. Ensure any consumer feeding routes that use the Neo4j component filters inbound Camel* and camel* headers to prevent external attackers from supplying the match header
Caveat Security-focused patch release; minimal breaking changes expected but test integration with Neo4j routes after upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Camel Scoped from the published advisory
  • Consultation4.0 h
  • Implementation6.0 h
  • Testing5.0 h
  • Review / QA3.0 h
18.0 hours of engineering $3,170
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,072.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-46591 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-46591 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data