{"id":"GHSA-hh8r-75r6-qrg9","summary":"Apache Camel-Langchain4j-Tools: Tool argument headers are not filtered against declared parameters","details":"Improper Input Validation vulnerability in Apache Camel.\n\nThis issue affects Apache Camel: from 4.8.0 through 4.18.2, from 4.19.0 through 4.20.0.\n\nUsers are recommended to upgrade to version 4.18.3, 4.21.0, which fixes the issue.","aliases":["CVE-2026-49042"],"modified":"2026-08-28T20:40:37.567557Z","published":"2026-07-06T12:31:30Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-08-28T20:18:04Z","nvd_published_at":"2026-07-06T11:16:29Z","cwe_ids":["CWE-20"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49042"},{"type":"WEB","url":"https://github.com/apache/camel/pull/23535"},{"type":"WEB","url":"https://github.com/apache/camel/pull/23551"},{"type":"WEB","url":"https://github.com/apache/camel/commit/5d0028f6bc7a70556dc1d408b1b6cadb59e1842d"},{"type":"WEB","url":"https://github.com/apache/camel/commit/6851a94075b82375381a7236e081292b67f6bf9a"},{"type":"WEB","url":"https://github.com/apache/camel/commit/e9c4541a91ce75ce4817d499e704299c3933edaa"},{"type":"WEB","url":"https://camel.apache.org/security/CVE-2026-49042.html"},{"type":"PACKAGE","url":"https://github.com/apache/camel"},{"type":"WEB","url":"https://github.com/apache/camel/releases/tag/camel-4.18.3"},{"type":"WEB","url":"https://github.com/apache/camel/releases/tag/camel-4.21.0"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/CAMEL-23621"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/07/06/17"}],"affected":[{"package":{"name":"org.apache.camel:camel-langchain4j-tools","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-langchain4j-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.18.3"}]}],"versions":["4.10.0","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.10.9","4.11.0","4.12.0","4.13.0","4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.14.6","4.14.7","4.14.8","4.14.9","4.15.0","4.16.0","4.17.0","4.18.0","4.18.1","4.18.2","4.8.0","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7","4.8.8","4.8.9","4.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-hh8r-75r6-qrg9/GHSA-hh8r-75r6-qrg9.json"}},{"package":{"name":"org.apache.camel:camel-langchain4j-tools","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-langchain4j-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.21.0"}]}],"versions":["4.19.0","4.20.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-hh8r-75r6-qrg9/GHSA-hh8r-75r6-qrg9.json"}},{"package":{"name":"org.apache.camel:camel-langchain4j-agent","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-langchain4j-agent"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.18.3"}]}],"versions":["4.14.0","4.14.1","4.14.2","4.14.3","4.14.4","4.14.5","4.14.6","4.14.7","4.14.8","4.14.9","4.15.0","4.16.0","4.17.0","4.18.0","4.18.1","4.18.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-hh8r-75r6-qrg9/GHSA-hh8r-75r6-qrg9.json"}},{"package":{"name":"org.apache.camel:camel-langchain4j-agent","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-langchain4j-agent"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.21.0"}]}],"versions":["4.19.0","4.20.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-hh8r-75r6-qrg9/GHSA-hh8r-75r6-qrg9.json"}},{"package":{"name":"org.apache.camel:camel-spring-ai-tools","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-spring-ai-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.18.3"}]}],"versions":["4.17.0","4.18.0","4.18.1","4.18.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-hh8r-75r6-qrg9/GHSA-hh8r-75r6-qrg9.json"}},{"package":{"name":"org.apache.camel:camel-spring-ai-tools","ecosystem":"Maven","purl":"pkg:maven/org.apache.camel/camel-spring-ai-tools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.21.0"}]}],"versions":["4.19.0","4.20.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-hh8r-75r6-qrg9/GHSA-hh8r-75r6-qrg9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}