This is an automated email from the ASF dual-hosted git repository.

Croway pushed a commit to branch add-cve-2026-46587-46588-49042
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 1ac37818d086299627b57d268bf4c3c1f31d2025
Author: Croway <[email protected]>
AuthorDate: Mon Jul 6 09:35:25 2026 +0200

    Added CVE-2026-49042
---
 content/security/CVE-2026-49042.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/content/security/CVE-2026-49042.md 
b/content/security/CVE-2026-49042.md
new file mode 100644
index 00000000..36d4dd29
--- /dev/null
+++ b/content/security/CVE-2026-49042.md
@@ -0,0 +1,17 @@
+---
+title: "Apache Camel Security Advisory - CVE-2026-49042"
+date: 2026-07-03T10:00:00+02:00
+url: /security/CVE-2026-49042.html
+draft: false
+type: security-advisory
+cve: CVE-2026-49042
+severity: MEDIUM
+summary: "Camel-Langchain4j-Tools: Tool argument headers are not filtered 
against declared parameters, allowing an LLM to inject arbitrary Exchange 
headers via tool call arguments"
+description: "Improper Input Validation vulnerability in Apache Camel. The 
camel-langchain4j-tools, camel-langchain4j-agent and camel-spring-ai-tools 
producers set all JSON field names returned by the LLM in a tool-call response 
as Exchange message headers without filtering them against the tool's declared 
parameter schema. An attacker who can influence the LLM output (for example via 
prompt injection) can include arbitrary field names in the tool arguments JSON 
- including Camel-interna [...]
+mitigation: "Users are recommended to upgrade to version 4.21.0, which fixes 
the issue. If users are on the 4.18.x releases stream, then they are suggested 
to upgrade to 4.18.3. After upgrading, only tool argument fields that match a 
declared parameter.<name> in the tool specification are set as Exchange 
headers. Tools defined without parameter declarations will have zero argument 
headers set from LLM tool calls - this is a breaking change for routes that 
rely on implicit argument passth [...]
+credit: "This issue was discovered by Yu Bao from PayPal"
+affected: "From 4.8.0 before 4.18.3, from 4.19.0 before 4.21.0."
+fixed: 4.18.3 and 4.21.0
+---
+
+The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-23621 refers to 
the various commits that resolved the issue, and has more details. The fix was 
merged on main in https://github.com/apache/camel/pull/23535 (commit 
7e65891f77aee72dc24c8099e9ba48a93962042b) and backported to camel-4.18.x in 
https://github.com/apache/camel/pull/23551 (commit 
5d0028f6bc7a70556dc1d408b1b6cadb59e1842d). The fix adds parameter-schema 
filtering to three components: LangChain4jToolsProducer and LangCha [...]

Reply via email to