Skip to main content

Apache Camel CVE-2026-40473

| EUVDEUVD-2026-25792 HIGH
Deserialization of Untrusted Data (CWE-502)
2026-04-27 security@apache.org GHSA-vpr3-2659-rw55
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed camel-mina consumer port
  2. Delivery
    Craft malicious serialized Java object
  3. Exploit
    Send payload to TCP/UDP listener
  4. Execution
    Camel converts body to ObjectInput
  5. Persist
    readObject() invokes gadget chain
  6. Impact
    Arbitrary code execution in app context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to (1) use camel-mina as a TCP or UDP consumer with a network-reachable listener, and (2) request conversion of the inbound body to ObjectInput - specifically via getBody(ObjectInput.class) or an @Body ObjectInput parameter - which triggers MinaConverter.toObjectInput and the unguarded ObjectInputStream. This ObjectInput conversion is NOT Camel's default behavior, so routes that consume bytes/strings without requesting ObjectInput are not exploitable. Successful RCE also depends on a usable deserialization gadget chain existing on the application classpath. Limiting factors: the vulnerable conversion must be explicitly configured (non-default), the MINA port must be reachable by the attacker, and no code execution occurs without a viable gadget in the deployed dependencies; no user interaction is required and, per the description, the attacker needs only network access to the listening port.

Impact

Signals are mixed and should be weighed together. The CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N, C:H/I:H/A:H) reflects network-reachable, high-impact code execution, and SSVC rates Technical Impact as 'total' - consistent with full RCE. However, SSVC also rates Exploitation as 'none' and Automatable as 'no', the vulnerability is NOT in CISA KEV, and EPSS is only 0.08% (24th percentile), indicating low predicted near-term mass exploitation. The key limiting factor is that exploitation requires a specific application configuration: the Camel route must use camel-mina as a consumer AND request conversion to ObjectInput (e.g., getBody(ObjectInput.class) or @Body ObjectInput). This is not a default Camel behavior, so the real-world exposed population is a subset of camel-mina users. Note a discrepancy worth verifying: the official vector uses PR:L (authenticated), yet the description describes an unauthenticated network attacker simply sending bytes to the listening MINA port - the 'privilege' more accurately reflects the required non-default app configuration than an attacker credential. Publicly available exploit code raises the practical priority for anyone matching the vulnerable config, so treat as high-priority for confirmed camel-mina+ObjectInput deployments and lower priority elsewhere.

Exploit ScenarioDerived

An organization runs a Camel integration that listens on a MINA TCP port and deserializes inbound messages to ObjectInput. An attacker with network reachability to that port sends a crafted Java serialized object built around a gadget chain present on the app's classpath; when Camel calls readObject(), the chain executes and the attacker gains code execution in the application's context. Publicly available exploit code lowers the skill barrier for weaponizing this against exposed, misconfigured consumers.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18.1, and 4.19.0) allows remote attackers to achieve arbitrary code execution by delivering a crafted serialized object to a MINA TCP/UDP consumer that converts inbound data to ObjectInput. The flaw stems from MinaConverter.toObjectInput wrapping raw network bytes in an ObjectInputStream with no ObjectInputFilter or class allow-listing, so readObject() instantiates attacker-chosen classes. Publicly available exploit code exists and vendor patches are released, but there is no evidence of active exploitation (not in CISA KEV) and EPSS is very low at 0.08%.

RemediationAI

Vendor-released patch: upgrade to Apache Camel 4.20.0, which fixes the issue. For the 4.14.x LTS stream upgrade to 4.14.6, and for the 4.18.x stream upgrade to 4.18.2 (per https://camel.apache.org/security/CVE-2026-40473.html). If immediate patching is not possible, remove the exposure by not converting untrusted MINA input to ObjectInput - avoid getBody(ObjectInput.class)/@Body ObjectInput on camel-mina consumers and switch to a safe payload format (e.g., string, byte[], or a structured codec), which eliminates the readObject() path at the cost of changing how the route parses messages. As a network compensating control, restrict access to the MINA consumer port to trusted peers via firewall/segmentation so untrusted clients cannot reach the listener; the trade-off is that legitimate remote producers must be explicitly allow-listed. Where a JVM-wide serialization filter is feasible, set a restrictive ObjectInputFilter (JEP 290) allow-list, noting it may break other legitimate deserialization in the app. Consult the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-40473) for platform-specific fixed builds.

Affected VersionsENISA

Apache Camel Mina 4.19.0 <4.20.0
Apache Camel Mina 4.15.0 <4.18.2
Apache Camel Mina 3.0.0 <4.14.6

Affected Packages

maven org.apache.camel:camel-mina fix: 4.14.6, 4.18.2, 4.20.0
euvd apache_camel_mina fix: 4.14.6, 4.18.2, 4.20.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected technology is Apache Camel's camel-mina integration component, which uses Apache MINA as a network transport for TCP/UDP endpoints. Camel's type-converter mechanism includes MinaConverter.toObjectInput(IoBuffer), which converts an inbound MINA IoBuffer into a java.io.ObjectInput by wrapping it directly in a java.io.ObjectInputStream. This is a textbook CWE-502 (Deserialization of Untrusted Data) issue: no ObjectInputFilter (JEP 290), no class-loading restrictions, and no allow-list are applied, so any gadget class on the application classpath can be reached during readObject(). CPE data confirms the affected product as cpe:2.3:a:apache:camel across the listed version ranges (with 4.19.0 explicitly enumerated). Exploitation depends on gadget chains present in the deployed application's dependencies (e.g., Commons-Collections-style chains), which is why the practical impact scales with the target's classpath.

Know when Camel gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Attacker needs no credentials (PR:N) - only network reach to the port - but exploitation depends on a non-default ObjectInput route config and a suitable gadget chain, so AC:H; full RCE gives C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 8.8 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Patch released
Apr 28, 2026 - 19:43 nvd
Patch available
CVSS changed
Apr 27, 2026 - 15:22 NVD
8.8 (HIGH)
Patch available
Apr 27, 2026 - 10:01 EUVD
CVE Published
Apr 27, 2026 - 09:16 nvd
HIGH 8.8

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 19 maven packages depend on org.apache.camel:camel-mina (3 direct, 16 indirect)

Ecosystem-wide dependent count for version 3.0.0.

Executive ViewAI

Why It Matters

Apache Camel's MINA component (versions 3.0.0 through 4.19.0) contains a code execution vulnerability triggered by specially crafted network messages. Any enterprise using Camel for message processing or system integration is vulnerable if running affected versions; attackers with network access can execute arbitrary code to compromise systems. Public exploit code exists, though active exploitation is not yet confirmed-patching is essential to prevent opportunistic attacks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Prevalence
Medium
widely used Java integration framework, but the vulnerable camel-mina+ObjectInput config is uncommon
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Camel

View all
CVE-2025-27636 MEDIUM POC
5.6 Mar 09

Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0

CVE-2014-0002 HIGH POC
7.5 Mar 21

The XSLT component in Apache Camel before 2.11.4 and 2.12.x before 2.12.3 allows remote attackers to read arbitrary file

CVE-2016-8749 CRITICAL POC
9.8 Mar 28

Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri

CVE-2014-0003 HIGH POC
7.5 Mar 21

The XSLT component in Apache Camel 2.11.x before 2.11.4, 2.12.x before 2.12.3, and possibly earlier versions allows remo

CVE-2026-23552 CRITICAL POC
9.1 Feb 23

Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper

CVE-2026-25747 HIGH POC
8.8 Feb 23

Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria

CVE-2019-0194 HIGH POC
7.5 Apr 30

Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely

CVE-2017-12634 CRITICAL
9.8 Nov 15

The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-se

CVE-2015-5344 CRITICAL
9.8 Feb 03

The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arb

CVE-2017-12633 CRITICAL
9.8 Nov 15

The camel-hessian component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-s

CVE-2013-4330 MEDIUM
6.8 Oct 04

Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arb

CVE-2017-3159 CRITICAL
9.8 Mar 07

Apache Camel's camel-snakeyaml component is vulnerable to Java object de-serialization vulnerability. Rated critical sev

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy