{"id":"CVE-2026-49042","aliases":["EUVD-2026-41864","GHSA-hh8r-75r6-qrg9"],"status":"published","title":"Apache Camel: langchain4j-tools: filter tool argument headers against declared parameters","description":"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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00692,"percentile":0.53307,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-20"],"published":"2026-07-06T09:34:48Z","modified":"2026-10-28T02:30:56Z","exploits":[{"source":"pocgithub","id":"oscerd/CVE-2026-49042","title":"oscerd/CVE-2026-49042","date":"2026-07-20","url":"https://github.com/oscerd/CVE-2026-49042"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.camel:camel-langchain4j-tools","fixed_in":["4.18.3","4.21.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.camel:camel-langchain4j-agent","fixed_in":["4.18.3","4.21.0"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.camel:camel-spring-ai-tools","fixed_in":["4.18.3","4.21.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.camel:camel-langchain4j-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.18.3"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.camel:camel-langchain4j-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.21.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.camel:camel-langchain4j-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.18.3"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.camel:camel-langchain4j-agent","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.21.0"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.camel:camel-spring-ai-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"4.18.3"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.camel:camel-spring-ai-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"4.21.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]},{"source":"osv","ecosystem":"Maven","package":"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"]}],"products":[{"vendor":"apache","product":"camel"},{"vendor":"apache software foundation","product":"apache camel"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-49042.html","tags":["vendor-advisory","Vendor Advisory","Patch","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/06/17","tags":["Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49042","tags":["advisory"]},{"url":"https://github.com/apache/camel/pull/23535","tags":["web"]},{"url":"https://github.com/apache/camel/pull/23551","tags":["web"]},{"url":"https://github.com/apache/camel/commit/5d0028f6bc7a70556dc1d408b1b6cadb59e1842d","tags":["web"]},{"url":"https://github.com/apache/camel/commit/6851a94075b82375381a7236e081292b67f6bf9a","tags":["web"]},{"url":"https://github.com/apache/camel/commit/e9c4541a91ce75ce4817d499e704299c3933edaa","tags":["web"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.18.3","tags":["web"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.21.0","tags":["web"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-23621","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hh8r-75r6-qrg9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49042.json","tags":["advisory"]},{"url":"https://github.com/apache/camel","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-49042","title":"Apache Camel: langchain4j-tools: filter tool argument headers against declared parameters","description":"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.","status":"published","published":"2026-07-06T09:34:48.956Z","modified":"2026-07-06T21:31:59.344Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"adp"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T13:35:10.963527Z"}],"euvd":[{"id":"EUVD-2026-41864","description":"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.","status":"published","published":"2026-07-06T09:34:48Z","modified":"2026-07-06T21:31:59Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T18:20:12.41351Z"}],"ghsa":[{"id":"GHSA-hh8r-75r6-qrg9","title":"Apache Camel-Langchain4j-Tools: Tool argument headers are not filtered against declared parameters","description":"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.","status":"published","published":"2026-07-06T12:31:30Z","modified":"2026-08-28T20:18:05Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:41:08.084849Z"}],"nvd":[{"id":"CVE-2026-49042","description":"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.","status":"published","published":"2026-07-06T11:16:29.607Z","modified":"2026-10-25T15:10:00.147Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:12:28.040501Z"}],"osv":[{"id":"CVE-2026-49042","title":"Apache Camel: langchain4j-tools: filter tool argument headers against declared parameters","description":"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.","status":"published","published":"2026-07-06T09:34:48.956Z","modified":"2026-10-28T02:30:56.252061534Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:45:07.060148Z"},{"id":"GHSA-hh8r-75r6-qrg9","title":"Apache Camel-Langchain4j-Tools: Tool argument headers are not filtered against declared parameters","description":"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.","status":"published","published":"2026-07-06T12:31:30Z","modified":"2026-08-28T20:40:37.567557Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
