CVE-2026-49042: Apache Camel-Langchain4j-Tools: Tool argument headers are not filtered against declared parameters
Improper Input Validation vulnerability in Apache Camel. This issue affects Apache Camel: from 4.8.0 through 4.18.2, from 4.19.0 through 4.20.0. Users are recommended to upgrade to version 4.18.3, 4.21.0, which fixes the issue.
Published Jul 6, 2026 · Updated Aug 28, 2026
Affected packages
org.apache.camel:camel-langchain4j-tools
- Ecosystem
- Maven
- Affected
- >= 4.8.0, < 4.18.3
- Fixed in
- 4.18.3
- Check
mvn dependency:tree -Dincludes=org.apache.camel:camel-langchain4j-tools
org.apache.camel:camel-langchain4j-tools
- Ecosystem
- Maven
- Affected
- >= 4.19.0, < 4.21.0
- Fixed in
- 4.21.0
- Check
mvn dependency:tree -Dincludes=org.apache.camel:camel-langchain4j-tools
org.apache.camel:camel-langchain4j-agent
- Ecosystem
- Maven
- Affected
- >= 4.8.0, < 4.18.3
- Fixed in
- 4.18.3
- Check
mvn dependency:tree -Dincludes=org.apache.camel:camel-langchain4j-agent
org.apache.camel:camel-langchain4j-agent
- Ecosystem
- Maven
- Affected
- >= 4.19.0, < 4.21.0
- Fixed in
- 4.21.0
- Check
mvn dependency:tree -Dincludes=org.apache.camel:camel-langchain4j-agent
org.apache.camel:camel-spring-ai-tools
- Ecosystem
- Maven
- Affected
- >= 4.8.0, < 4.18.3
- Fixed in
- 4.18.3
- Check
mvn dependency:tree -Dincludes=org.apache.camel:camel-spring-ai-tools
org.apache.camel:camel-spring-ai-tools
- Ecosystem
- Maven
- Affected
- >= 4.19.0, < 4.21.0
- Fixed in
- 4.21.0
- Check
mvn dependency:tree -Dincludes=org.apache.camel:camel-spring-ai-tools
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Improper Input Validation vulnerability in Apache Camel.
This issue affects Apache Camel: from 4.8.0 through 4.18.2, from 4.19.0 through 4.20.0.
Users are recommended to upgrade to version 4.18.3, 4.21.0, which fixes the issue.
Credited to oscerd.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49042
- https://camel.apache.org/security/CVE-2026-49042.html
- https://github.com/apache/camel/pull/23535
- https://github.com/apache/camel/pull/23551
- https://github.com/apache/camel/commit/5d0028f6bc7a70556dc1d408b1b6cadb59e1842d
- https://github.com/apache/camel/commit/6851a94075b82375381a7236e081292b67f6bf9a
- https://github.com/apache/camel/commit/e9c4541a91ce75ce4817d499e704299c3933edaa
- https://github.com/apache/camel/releases/tag/camel-4.18.3
- https://github.com/apache/camel/releases/tag/camel-4.21.0
- https://issues.apache.org/jira/browse/CAMEL-23621
- https://github.com/advisories/GHSA-hh8r-75r6-qrg9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
