SecurinZero Days
    Email Us
    Zero-Day Research/CVE-2026-40860
    ▲ CriticalCVSS 9.8EPSS 0.00881%

    Unsafe Deserialization of JMS ObjectMessage in camel-jms, camel-sjms, camel-sjms2 and camel-amqp

    JmsBinding.extractBodyFromJms() in camel-jms, camel-sjms, camel-sjms2, and camel-amqp deserializes JMS ObjectMessage payloads via javax.jms.ObjectMessage.getObject() without ObjectInputFilter, class allowlist, or denylist. When mapJmsMessage is enabled (default), any JMS producer can trigger arbitrary code execution on the Camel consumer.

    CVE IDCVE-2026-40860
    CVSS v3.19.8 Critical
    VendorApache
    CWECWE-502: Deserialization of Untrusted Data
    DisclosedApr 27, 2026
    StatusPublished
    All advisories
    • 01Description
    • 02Proof of Concept
    • 03Vulnerable Code
    • 04Trigger Conditions
    • 05Impact
    • 06Remediation
    • 07Timeline
    • 08References
    01/Description

    What this actually is.

    Technical background, root cause, and affected surface.

    JmsBinding.extractBodyFromJms() in camel-jms (and equivalent classes in camel-sjms, camel-sjms2, camel-amqp) calls javax.jms.ObjectMessage.getObject(), which internally calls ObjectInputStream.readObject() without any ObjectInputFilter, class allowlist, or denylist. The code path is reached whenever mapJmsMessage=true (default) and Camel acts as a JMS consumer, meaning any JMS producer sending an ObjectMessage can trigger arbitrary code execution.

    Vendor
    Apache
    Product
    Apache Camel
    Severity
    Critical
    CVSS Score
    9.8
    Status
    Published
    CWE
    CWE-502: Deserialization of Untrusted Data
    Vector
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    02/Proof of Concept

    From one request
    to root shell.

    Reproduced in a sandboxed environment. Requires only LAN or WiFi adjacency.

    9.8CVSS 3.1
    VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    ScopeUnchanged
    ImpactC:H / I:H / A:H
    SeverityCritical
    PoC · Exploitation Steps▲ trigger
    01No public PoC available
    03/Vulnerable Code

    The bug, and the fix.

    JmsBinding.java: extractBodyFromJms() -> objectMessage.getObject() -> ObjectInputStream.readObject() (no filter); mapJmsMessage=true by default exposes all JMS consumers

    Root cause: ObjectInputStream deserialization of JMS ObjectMessage payload without ObjectInputFilter, class allowlist, or denylist

    04/Trigger Conditions

    When does this fire?

    All conditions must be true for the exploit to succeed.

    Attacker who can produce JMS ObjectMessage to any queue or topic consumed by a Camel route using camel-jms, camel-sjms, camel-sjms2, or camel-amqp with default mapJmsMessage=true configuration

    05/Impact

    What an attacker does to you.

    Post-exploitation outcomes mapped to CVSS impact metrics.

    Arbitrary code execution on the Camel consumer host; potential full system compromise; data exfiltration from all systems accessible from Camel host

    06/Remediation

    Fix it. In this order.

    A runbook, not a checklist. Sequence matters — assume compromise before you act.

    Upgrade to Apache Camel 4.14.7, 4.18.2, or 4.20.0 which apply ObjectInputFilter. As immediate mitigation, set mapJmsMessage=false. Restrict JMS broker access to authenticated and trusted producers.

    Securin advisory — For coordinated remediation support or threat-actor briefings related to CVE-2026-40860, contact disclose@securin.io
    07/Disclosure Timeline

    Vendors moved in days.
    Attackers in hours.

    Reconstructed from vendor advisories, CISA bulletins, and Securin research records.

    Vendor notified

    2026-04-27: CVE published | 2026-04-26: Fix released in Camel 4.14.7, 4.18.2, 4.20.0

    Timeline recorded · Disclosure coordinated by Securin

    08/References

    Cite, verify, go deeper.

    Primary sources — NVD, CISA KEV, and machine-readable IoC feed.

    NVD

    NVD — CVE-2026-40860

    nvd.nist.gov/vuln/detail/CVE-2026-40860 →
    SEC

    Securin VI — Full Technical Analysis

    vi.securin.io →
    APACHE

    https://camel.apache.org/security/CVE-2026-40860.html

    https://camel.apache.org/security/CVE-2026-40860.html →

    Let Securin level up your security posture.

    Get a live exposure assessment, threat-actor briefing tailored to your sector, and IoC mapping for your SIEM.

    Browse all advisories
    SecurinSecurinZero Days

    Securin's zero-day research operation combines frontier AI models with a decade of offensive expertise — discovering, validating, and coordinating the disclosure of high-impact vulnerabilities at a scale and speed no human team achieves alone.

    Glossary
    © 2026 Securin Inc · CVE Numbering Authority
    Privacy Policy·Data Processing Addendum