Schwachstellen / CVE-2026-40453

kritisch

CVE-2026-40453

Apache Camel: org.apache.camel: Apache Camel: Remote Code Execution and Arbitrary File Write via case-variant header injection

Veröffentlicht Geändert CWE 178
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

GHSA10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Red Hat9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut GHSA, Red Hat.

Beschreibung

The fix for CVE-2025-27636 added setLowerCase(true) to HttpHeaderFilterStrategy so that case-variant header names such as 'CAmelExecCommandExecutable' are filtered out alongside 'CamelExecCommandExecutable'. The same setLowerCase(true) call was not applied to five non-HTTP HeaderFilterStrategy implementations: JmsHeaderFilterStrategy and ClassicJmsHeaderFilterStrategy in camel-jms, SjmsHeaderFilterStrategy in camel-sjms, CoAPHeaderFilterStrategy in camel-coap, and GooglePubsubHeaderFilterStrategy in camel-google-pubsub. Because those strategies use case-sensitive String.startsWith('Camel'/'camel') filtering while the Camel Exchange stores headers in a case-insensitive map, an attacker with JMS (or equivalent) producer access to the broker consumed by a Camel route can inject case-variant Camel internal headers, which are then resolved by downstream components such as camel-exec and camel-file using their canonical casing. This enables remote code execution and arbitrary file write on routes that forward JMS messages to header-driven components. 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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
maven::GitHub Security Advisory Mavenorg.apache.camel:camel-coap, org.apache.camel:camel-google-pubsub, org.apache.camel:camel-jms und 1 weitere4.14.6, 4.18.2, 4.20.0
chainguardapache-activemq-6.1, apache-activemq-6.2, apache-activemq-fips-6.1 und 1 weitere6.1.8-r4 und 3 weitere
minimosapache-activemq-6.2, apache-activemq-6.2-fips6.2.8-r0
Alle 10 Einträge aus 3 Quellen zeigen
QuellePaketBehoben in
maven::GitHub Security Advisory Mavenorg.apache.camel:camel-coap4.14.6, 4.18.2, 4.20.0
maven::GitHub Security Advisory Mavenorg.apache.camel:camel-google-pubsub4.14.6, 4.18.2, 4.20.0
maven::GitHub Security Advisory Mavenorg.apache.camel:camel-jms4.14.6, 4.18.2, 4.20.0
maven::GitHub Security Advisory Mavenorg.apache.camel:camel-sjms4.14.6, 4.18.2, 4.20.0
chainguardapache-activemq-6.16.1.8-r4
chainguardapache-activemq-6.26.2.5-r5
chainguardapache-activemq-fips-6.16.1.8-r6
chainguardapache-activemq-fips-6.26.2.5-r3
minimosapache-activemq-6.26.2.8-r0
minimosapache-activemq-6.2-fips6.2.8-r0

Referenzen

Alle 16 Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.