Apache Software Foundation Apache Camel Mina
Apache Camel Mina: Unsafe Deserialization in MinaConverter.toObjectInput() via TCP/UDP
The camel-mina component's MinaConverter.toObjectInput(IoBuffer) type converter wraps an IoBuffer in a java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. When a Camel route uses camel-mina as a TCP or UDP consumer and requests conversion to ObjectInput (for example via getBody(ObjectInput.class) or @Body ObjectInput), an attacker sending a crafted serialized Java object over the network to the MINA consumer port can trigger arbitrary code execution in the context of the application during readObject(). This issue affects Apache Camel: from 3.0.0 before 4.14.6, 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.6. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 4.14.6
- >= 4.15.0, < 4.18.2
- >= 4.19.0, < 4.20.0
Fixed in 4.14.6, 4.18.2, 4.20.0
Mitigation
Upgrade Apache Camel Mina to 4.14.6 or 4.18.2 or 4.20.0 or later.
References
- Vendor advisory camel.apache.org/security/CVE-2026-40473.html
Timeline
Days relative to CVE publicationFirst public PoC 73 days after publication; not in CISA KEV. First PoC: oscerd/CVE-2026-40473 (created 9 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-40473 | 9 Jul 2026 +73 d | 0 | PoC |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dinosn/CVE-2026-33453 | 27 Apr 2026 +10 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.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /exploit/inject
- Body markers
@payload.b64intext/plain- Ports
- 8080
- Seen in
- 1 repo: oscerd/CVE-2026-40473
- Evidence
- oscerd/CVE-2026-40473/README.md:82
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/exploit/inject(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-40473 Apache Software Foundation Apache Camel Mina exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/exploit/inject"; http.request_body; content:"@payload.b64"; reference:url,poc.griffinguard.io/cve/CVE-2026-40473; classtype:web-application-attack; sid:9237915; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Apache Software Foundation Apache Camel Mina exploit attempt (CVE-2026-40473)
id: gg-pocmon-cve-2026-40473-9237915
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40473. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-40473
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/exploit/inject'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.40473