Apache Software Foundation Apache Camel
Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository
The camel-infinispan component's ProtoStream-based remote aggregation repository deserializes data read from a remote Infinispan cache using java.io.ObjectInputStream without applying any ObjectInputFilter. An attacker who can write to the Infinispan cache used by a Camel application can inject a crafted serialized Java object that, when read during normal aggregation repository operations such as get or recover, results in arbitrary code execution in the context of the application. This issue affects Apache Camel: from 4.0.0 before 4.14.7, from 4.15.0 before 4.18.2, from 4.19.0 before 4.20.0. Users are recommended to upgrade to version 4.20.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.7. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2. The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-23322 refers to the various commits that resolved the issue, and have more details. This issue follows the same class of vulnerability previously addressed in CVE-2024-22369, CVE-2024-23114 and CVE-2026-25747.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 4.14.7
- >= 4.15.0, < 4.18.2
- >= 4.19.0, < 4.20.0
Fixed in 4.14.7, 4.18.2, 4.20.0
Mitigation
Upgrade Apache Camel to 4.14.7 or 4.18.2 or 4.20.0 or later.
References
- Vendor advisory camel.apache.org/security/CVE-2026-40858.html
Timeline
Days relative to CVE publicationFirst public PoC 74 days after publication; not in CISA KEV. First PoC: oscerd/CVE-2026-40858 (created 10 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| oscerd/CVE-2026-40858 | 10 Jul 2026 +74 d | 1 | PoC |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dinosn/CVE-2026-33453 | 27 Apr 2026 +9 h | 0 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| PoC Index | https://github.com/oscerd/CVE-2026-40858/blob/a6e631947db3454b050d32f260ba0aaa72c9f177/src/main/java/com/example/ExploitController.java | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /exploit/attack
- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-40858
- Evidence
- oscerd/CVE-2026-40858/README.md:124
GET /rest/v2/cache-managers/default/health/status
- Ports
- 11222
- Seen in
- 1 repo: oscerd/CVE-2026-40858
- Evidence
- oscerd/CVE-2026-40858/README.md:106
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/exploit/attack(?:[?#].*)?$
(?i)^/rest/v2/cache-managers/default/health/status(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40858 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-40858; classtype:web-application-attack; sid:9296401; rev:1;)
alert http any any -> $HOME_NET [11222] (msg:"GG PoC-Monitor CVE-2026-40858 Apache Software Foundation Apache Camel exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/rest/v2/cache-managers/default/health/status"; reference:url,poc.griffinguard.io/cve/CVE-2026-40858; classtype:web-application-attack; sid:9184924; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Camel exploit attempt (CVE-2026-40858)
id: gg-pocmon-cve-2026-40858-9296401
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40858. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40858
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.40858
title: Apache Software Foundation Apache Camel exploit attempt (CVE-2026-40858)
id: gg-pocmon-cve-2026-40858-9184924
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40858. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40858
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/rest/v2/cache-managers/default/health/status'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40858