CVE-2025-66169: Camel neo4j Apache Camel Camel-neo4j Component Is Vulnerability
MODERATECVE-2025-66169 is a MODERATE apache camel camel-neo4j component is vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Camel neo4j libraries in the Maven ecosystem. The issue involves apache camel camel-neo4j component is vulnerable to cypher injection. Remediation is available by upgrading affected packages to version 4.10.8, 4.14.3, 4.17.0.
CVE-2025-66169 at a Glance
How to Fix CVE-2025-66169
To remediate this vulnerability, upgrade all affected 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.10.8</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-neo4j</artifactId>
<version>4.14.3</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-neo4j</artifactId>
<version>4.17.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-2025-66169, 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 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.10.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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In 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-2025-66169 Affected Camel neo4j Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.camel:camel-neo4j
|
Maven |
≥ 4.10.0
< 4.10.8
|
4.10.8
|
|
org.apache.camel:camel-neo4j
|
Maven |
≥ 4.14.0
< 4.14.3
|
4.14.3
|
|
org.apache.camel:camel-neo4j
|
Maven |
≥ 4.15.0
< 4.17.0
|
4.17.0
|
References
Frequently Asked Questions
What is CVE-2025-66169?
Which Camel neo4j versions are affected?
What version fixes CVE-2025-66169?
Is camel-neo4j affected?
What CWE is associated with CVE-2025-66169?
How can I check Maven dependencies for CVE-2025-66169?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4jrw-64vr-7g8m",
"modified" : "2026-01-15T22:33:18Z",
"published" : "2026-01-14T12:31:38Z",
"aliases" : [ "CVE-2025-66169" ],
"summary" : "Apache Camel camel-neo4j component is vulnerable to cypher injection",
"details" : "Cypher Injection vulnerability in Apache Camel camel-neo4j component.\n\nThis issue affects Apache Camel: from 4.10.0 before 4.10.8, from 4.14.0 before 4.14.3, from 4.15.0 before 4.17.0\n\nUsers are recommended to upgrade to version 4.10.8 for 4.10.x LTS and 4.14.3 for 4.14.x LTS and 4.17.0.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.10.0"
}, {
"fixed" : "4.10.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.14.0"
}, {
"fixed" : "4.14.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.camel:camel-neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.15.0"
}, {
"fixed" : "4.17.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66169"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/20035"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/20036"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/pull/20037"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/66715d3feb4ba15df30cffe437e45efeedfba10d"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/723e2cd98ce4b4ceb1dd38837bc113fca0cef170"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/camel/commit/e46c4c0ef542a64dc791253763a8273dfd7fb179"
}, {
"type" : "WEB",
"url" : "https://camel.apache.org/security/CVE-2025-66169.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/camel"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/CAMEL-22719"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/01/13/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74", "CWE-89", "CWE-943" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-14T21:17:27Z",
"nvd_published_at" : "2026-01-14T12:16:32Z"
}
}