high7.3
CVE-2026-49042
Apache Camel-Langchain4j-Tools: Tool argument headers are not filtered against declared parameters
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.camel:camel-langchain4j-tools | >= 4.8.0, < 4.18.3 | 4.18.3 |
| maven | org.apache.camel:camel-langchain4j-agent | >= 4.8.0, < 4.18.3 | 4.18.3 |
| maven | org.apache.camel:camel-spring-ai-tools | >= 4.8.0, < 4.18.3 | 4.18.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Camel | from 4.8.0 before 4.18.3 from 4.19.0 before 4.21.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-hh8r-75r6-qrg9
- https://nvd.nist.gov/vuln/detail/CVE-2026-49042
- https://camel.apache.org/security/CVE-2026-49042.html
- http://www.openwall.com/lists/oss-security/2026/07/06/17
- 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