Vulnerabilidades / CVE-2026-40453

crítica

CVE-2026-40453

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

Publicada Modificada CWE 178
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según GHSA, Red Hat.

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
maven::GitHub Security Advisory Mavenorg.apache.camel:camel-coap, org.apache.camel:camel-google-pubsub, org.apache.camel:camel-jms y 1 más4.14.6, 4.18.2, 4.20.0
chainguardapache-activemq-6.1, apache-activemq-6.2, apache-activemq-fips-6.1 y 1 más6.1.8-r4 y 3 más
minimosapache-activemq-6.2, apache-activemq-6.2-fips6.2.8-r0
Mostrar las 10 entradas de 3 fuentes
FuentePaqueteCorregido en
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

Referencias

Las 16 referencias

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.