Apache Software Foundation Apache Camel
Apache Camel: langchain4j-tools: filter tool argument headers against declared parameters
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 versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 4.8.0, <= 4.18.2
- >= 4.19.0, <= 4.20.0
- >= 4.8.0, < 4.18.3
Fixed in 4.18.3
from GitHub Security Advisory GHSA-hh8r-75r6-qrg9
- >= 4.19.0, < 4.21.0
Fixed in 4.21.0
from GitHub Security Advisory GHSA-hh8r-75r6-qrg9
- >= 4.8.0, < 4.18.3
Fixed in 4.18.3
from GitHub Security Advisory GHSA-hh8r-75r6-qrg9
- >= 4.19.0, < 4.21.0
Fixed in 4.21.0
from GitHub Security Advisory GHSA-hh8r-75r6-qrg9
- >= 4.8.0, < 4.18.3
Fixed in 4.18.3
from GitHub Security Advisory GHSA-hh8r-75r6-qrg9
- >= 4.19.0, < 4.21.0
Fixed in 4.21.0
from GitHub Security Advisory GHSA-hh8r-75r6-qrg9
Mitigation
Upgrade org.apache.camel:camel-langchain4j-tools to 4.18.3 or later.
Upgrade org.apache.camel:camel-langchain4j-tools to 4.21.0 or later.
Upgrade org.apache.camel:camel-langchain4j-agent to 4.18.3 or later.
Upgrade org.apache.camel:camel-langchain4j-agent to 4.21.0 or later.
Upgrade org.apache.camel:camel-spring-ai-tools to 4.18.3 or later.
Upgrade org.apache.camel:camel-spring-ai-tools to 4.21.0 or later.
References
- Vendor advisory camel.apache.org/security/CVE-2026-49042.html
Timeline
Days relative to CVE publicationFirst public PoC 14 days after publication; not in CISA KEV. First PoC: oscerd/CVE-2026-49042 (created 20 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| oscerd/CVE-2026-49042 | 20 Jul 2026 +14 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /exploit/attack
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/exploit/attack(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-49042 Apache Software Foundation Apache Camel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/exploit/attack"; reference:url,poc.griffinguard.io/cve/CVE-2026-49042; classtype:web-application-attack; sid:9095879; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Camel exploit attempt (CVE-2026-49042)
id: gg-pocmon-cve-2026-49042-9095879
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-49042. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-49042
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/exploit/attack'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.49042