CVE-2026-40453: Remote Code Execution and Arbitrary File Write via case-variant header injection
CVE-2026-40453 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Critical
- CVSS base score
- 9.9 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H· base score 9.9, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: changed. Confidentiality impact: high. Integrity impact: high. Availability impact: high.- Weakness
- CWE-178 Improper Handling of Case Sensitivity
- EPSS
- 1.96% chance of exploitation in the next 30 days (81st percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
- Fixed releases
- Red Hat: RHSA-2026:19835
- 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-40453; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2026-40453?
You are affected if you run Red Hat Build of Apache Camel 4.14 for Quarkus 3.27, 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 at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Red Hat: camel-http-starter | No fixed release on this branch listed by the vendor |
| Red Hat: camel-google-pubsub | No fixed release on this branch listed by the vendor |
| Red Hat: camel-http-common | No fixed release on this branch listed by the vendor |
| Red Hat: camel-jms | No fixed release on this branch listed by the vendor |
| Red Hat: camel-http-base | No fixed release on this branch listed by the vendor |
| Red Hat: camel-http | No fixed release on this branch listed by the vendor |
Also listed as fixed: Red Hat: RHSA-2026:19835
Description
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-40453?
Upgrade to a fixed release named by the vendor:
- Red Hat: RHSA-2026:19835
- Update the affected package(s) to the fixed version shipped in RHSA-2026:19835 (`sudo dnf update` / `yum update`). (Red Hat)
Vendor advisories for CVE-2026-40453
Apache
3 advisories- Advisory severityCritical9.9
Critical [CVE-2025-27636 +4] Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering
CVE-2026-47323Source published Source updated
This bulletin covers 5 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
Camel-CXF and Camel-Knative Message Header Injection via Missing Inbound Filtering The CXF and Knative HeaderFilterStrategy implementations (CxfRsHeaderFilterStrategy in camel-cxf-rest, CxfHeaderFilterStrategy in camel-cxf-transport, and KnativeHttpHeaderFilterStrategy in camel-knative-http) only filter outbound Camel-internal headers via setOutFilterStartsWith, while not configuring inbound filtering via setInFilterStartsWith. As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelExecCommandExecutable, CamelFileName) via HTTP requests to CXF-RS or CXF-SOAP endpoints. When a route forwards messages from these endpoints to header-driven components such as camel-exec or camel-file, the injected headers override configured values, enabling remote code…
- Affected products in this advisory
- Apache Camel
- Source-reported affected versions
- Apache Camel 3.18.0 before 4.14.6
- Apache Camel 4.15.0 before 4.18.2
- Source-reported fixed versions
- 4.14.6
- 4.18.2
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
- Advisory severityCritical9.9
Critical [CVE-2025-27636 +1] Apache Camel: The fix for CVE-2025-27636 added setLowerCase(true) to HttpHeaderFilterStrategy so that case-variant header names such as…
CVE-2026-40453Source published Source updated
This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
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…
- Affected products in this advisory
- Apache Camel
- Source-reported affected versions
- 3.0.0 through 4.14.6
- 4.15.0 through 4.18.2
- 4.19.0 through 4.20.0.
- Source-reported fixed versions
- 4.20.0
- 4.14.6
- 4.18.2
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
- Advisory severityMedium5.3
Medium [CVE-2025-27636 +5] Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel Knative component The Knative consumer in camel-knative maps inbound CloudEvent attributes onto Camel message headers
CVE-2026-63621Source published Source updated
This bulletin covers 6 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel Knative component The Knative consumer in camel-knative maps inbound CloudEvent attributes onto Camel message headers. In binary content mode the HTTP-header path filters Camel-internal headers through KnativeHttpHeaderFilterStrategy, but in structured content mode (Content-Type application/cloudevents+json) the CloudEvent extension fields are read directly from the JSON body and every extension key is copied into the Exchange headers without applying any HeaderFilterStrategy (CloudEventProcessors, spec versions 1.0, 1.0.1 and 1.0.2). As a result, an unauthenticated attacker can inject Camel-internal headers (e.g. CamelHttpUri…
- Affected products in this advisory
- Apache Camel Knative
- Source-reported affected versions
- 3.15.0 before 4.14.9
- 4.15.0 before 4.18.4
- 4.19.0 before 4.21.0
- through 4.17.0
1 more entries in the full advisory.
- Source-reported fixed versions
- 4.14.9
- 4.18.4
- 4.21.0
- 4.22.0
- Mitigation guidance
- Users are recommended to upgrade to version 4.22.0, which fixes the issue.
- If users are on the 4.18.x LTS releases stream, then they are suggested to upgrade to 4.18.4.
- If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.9.
- The non-LTS releases 4.15.0 through 4.17.0 and 4.19.0 through 4.21.0 are affected but do not receive a maintenance fix; users on those versions should upgrade to 4.18.4 or 4.22.0.
Red Hat
1 advisory- Advisory severityCritical9.9
Critical [CVE-2026-40453] Remote Code Execution and Arbitrary File Write via case-variant header injection
CVE-2026-40453Source published
Remote Code Execution and Arbitrary File Write via case-variant header injection. Red Hat rates this critical (CVSS 9.9). Weakness: CWE-178. Affected package(s): camel-http-starter, camel-google-pubsub, camel-http-common, camel-jms, camel-http-base, camel-http. Resolved in Red Hat advisory RHSA-2026:19835 — update the affected packages (`sudo dnf update`).
- Affected products in this advisory
- Red Hat Build of Apache Camel 4.14 for Quarkus 3.27
- 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
- Source-reported affected versions
- camel-http-starter
- camel-google-pubsub
- camel-http-common
- camel-jms
2 more entries in the full advisory.
- Source-reported fixed versions
- RHSA-2026:19835
- Mitigation guidance
- Update the affected package(s) to the fixed version shipped in RHSA-2026:19835 (`sudo dnf update` / `yum update`).
References
- CVE-2026-40453 recordCVE.org
- CVE-2026-40453 detailNVD
- camel.apache.org/security/CVE-2026-40453.htmlvendor-advisory
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
More Apache advisories
CVE-2026-88901Oct 19, 2026Apache Camel XXECVE-2026-83531Oct 19, 2026Apache Camel: Camel-Dynamic-Router Control Endpoint Compiles Predicate ExpressionsCVE-2026-78162Oct 19, 2026Apache Camel: Camel-Hazelcast Managed Instances Missing Java Deserialization FilterCVE-2026-80354Sep 10, 2026Authorization bypass through User-Controlled key vulnerability in Apache Camel KCVE-2026-80351Sep 10, 2026Improper neutralization of directives in dynamically evaluated code ('eval injection')CVE-2026-80352Sep 10, 2026Apache Camel remote code execution
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).