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...
Full CISO analysis pending enrichment.
What systems are affected?
How severe is it?
What is the attack surface?
What should I do?
Patch available
Update LangChain to version 4.18.3
Update LangChain to version 4.18.3
Update LangChain to version 4.18.3
Which compliance frameworks are affected?
Compliance analysis pending. Sign in for full compliance mapping when available.
Frequently Asked Questions
What is CVE-2026-49042?
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.
Is CVE-2026-49042 actively exploited?
No confirmed active exploitation of CVE-2026-49042 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-49042?
Update to patched version: LangChain 4.18.3, LangChain 4.18.3, LangChain 4.18.3.
What is the CVSS score for CVE-2026-49042?
CVE-2026-49042 has a CVSS v3.1 base score of 7.3 (HIGH). The EPSS exploitation probability is 0.69%.
What are the technical details?
Original Advisory
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.
Weaknesses (CWE)
CWE-20 — Improper Input Validation: The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- [Architecture and Design] Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build "recognizers" for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]
- [Architecture and Design] Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L References
- openwall.com/lists/oss-security/2026/07/06/17
- camel.apache.org/security/CVE-2026-49042.html
- github.com/advisories/GHSA-hh8r-75r6-qrg9
- github.com/apache/camel/commit/5d0028f6bc7a70556dc1d408b1b6cadb59e1842d
- github.com/apache/camel/commit/6851a94075b82375381a7236e081292b67f6bf9a
- github.com/apache/camel/commit/e9c4541a91ce75ce4817d499e704299c3933edaa
- github.com/apache/camel/pull/23535
- github.com/apache/camel/pull/23551
- github.com/apache/camel/releases/tag/camel-4.18.3
- github.com/apache/camel/releases/tag/camel-4.21.0
- issues.apache.org/jira/browse/CAMEL-23621
- nvd.nist.gov/vuln/detail/CVE-2026-49042
Timeline
Related Vulnerabilities
CVE-2025-2828 10.0 LangChain RequestsToolkit: SSRF exposes cloud metadata
Same package: langchain CVE-2023-34540 9.8 LangChain: RCE via JiraAPIWrapper crafted input
Same package: langchain CVE-2023-34541 9.8 LangChain: RCE via unsafe load_prompt deserialization
Same package: langchain CVE-2023-36258 9.8 LangChain: unauthenticated RCE via code injection
Same package: langchain CVE-2023-29374 9.8 LangChain: RCE via prompt injection in LLMMathChain
Same package: langchain