Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Camel | 4.8.0 – ≤ 4.18.2, 4.19.0 – ≤ 4.20.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
oscerd/CVE-2026-49042 ★ 1 · Jul 20, 2026
PoC reproducer for CVE-2026-49042 (Apache Camel camel-langchain4j-tools): a prompt-injected LLM's tool-call arguments become unfiltered Exchange headers, hijacking the tool route's exec: sink for RCE…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.camel:camel-langchain4j-agent | >= 4.8.0, < 4.18.3 | 4.18.3 | GHSA-hh8r-75r6-qrg9 |
| Maven | org.apache.camel:camel-langchain4j-agent | >= 4.19.0, < 4.21.0 | 4.21.0 | GHSA-hh8r-75r6-qrg9 |
| Maven | org.apache.camel:camel-langchain4j-tools | >= 4.8.0, < 4.18.3 | 4.18.3 | GHSA-hh8r-75r6-qrg9 |
| Maven | org.apache.camel:camel-langchain4j-tools | >= 4.19.0, < 4.21.0 | 4.21.0 | GHSA-hh8r-75r6-qrg9 |
| Maven | org.apache.camel:camel-spring-ai-tools | >= 4.8.0, < 4.18.3 | 4.18.3 | GHSA-hh8r-75r6-qrg9 |
| Maven | org.apache.camel:camel-spring-ai-tools | >= 4.19.0, < 4.21.0 | 4.21.0 | GHSA-hh8r-75r6-qrg9 |
Advisories 1
- WID-SEC-2026-2203 Apache Camel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 19, 2026
References
- https://camel.apache.org/security/CVE-2026-49042.html vendor-advisory