Skip to content
VulniPulse
High 2 vendors · 2 advisories

CVE-2026-40858: Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository

CVE-2026-40858 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
High
CVSS base score
8.8 (Red Hat)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · base score 8.8, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: high. Integrity impact: high. Availability impact: high.
Weakness
  • CWE-502 Deserialization of Untrusted Data
EPSS
1.36% chance of exploitation in the next 30 days (71st percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
Fixed releases
  • Red Hat: RHSA-2026:22453
Vendor advisories
2 from Apache, Red Hat
Assigned by
apache (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-40858; each belongs to its advisory, not to every product listed. How records are collected and checked.

Am I affected by CVE-2026-40858?

You are affected if you run Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14, Red Hat build of Apache Camel 4 for Quarkus 3, Red Hat Build of Apache Camel 4.18 for Quarkus 3.33 at one of the versions below. If you do, upgrade to the fixed release listed for your version.

AffectedFixed in
Red Hat: camel-infinispanNo fixed release on this branch listed by the vendor
Red Hat: camel-infinispan-commonNo fixed release on this branch listed by the vendor
Red Hat: camel-infinispan-embeddedNo fixed release on this branch listed by the vendor

Also listed as fixed: Red Hat: RHSA-2026:22453

Description

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.

Text from the CVE.org record (apache).

How do I fix CVE-2026-40858?

Upgrade to a fixed release named by the vendor:

  • Red Hat: RHSA-2026:22453
  • Update the affected package(s) to the fixed version shipped in RHSA-2026:22453 (`sudo dnf update` / `yum update`). (Red Hat)

Vendor advisories for CVE-2026-40858

Apache

1 advisory
  • Advisory severityHigh8.8

    High [CVE-2024-22369 +3] Apache Camel: Camel-Infinispan: Unsafe Deserialization in Remote Aggregation Repository

    CVE-2026-40858Source published Source updated

    This bulletin covers 4 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.

    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. The JIRA ticket: refers to…

    Affected products in this advisory
    • Apache Camel
    Source-reported affected versions
    • Apache Camel 4.0.0 before 4.14.7
    • Apache Camel 4.15.0 before 4.18.2
    • Apache Camel 4.19.0 before 4.20.0
    Source-reported fixed versions
    • 4.14.7
    • 4.18.2
    • 4.20.0
    Mitigation guidance
    • 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.

Red Hat

1 advisory
  • Advisory severityHigh8.8

    High [CVE-2026-40858] Apache Camel camel-infinispan: Arbitrary code execution via deserialization of untrusted data

    CVE-2026-40858Source published

    Apache Camel camel-infinispan: Arbitrary code execution via deserialization of untrusted data. Red Hat rates this important (CVSS 8.8). Weakness: CWE-502. Affected package(s): camel-infinispan, camel-infinispan-common, camel-infinispan-embedded. Resolved in Red Hat advisory RHSA-2026:22453 — update the affected packages (`sudo dnf update`).

    Affected products in this advisory
    • Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14
    • Red Hat build of Apache Camel 4 for Quarkus 3
    • Red Hat Build of Apache Camel 4.18 for Quarkus 3.33
    Source-reported affected versions
    • camel-infinispan
    • camel-infinispan-common
    • camel-infinispan-embedded
    Source-reported fixed versions
    • RHSA-2026:22453
    Mitigation guidance
    • Update the affected package(s) to the fixed version shipped in RHSA-2026:22453 (`sudo dnf update` / `yum update`).

References

Timeline

  1. First vendor advisory listed by VulniPulse
  2. CVE record published
  3. CVE record last updated

All Apache advisories

Get an email when Apache publishes the next one.

See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about Apache