Security mailing lists by PureSourceCode

CVE-2026-40453

CRITICAL 9.9CVSS 3.1

Apache Camel has an incomplete fix for CVE-2025-27636

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.

Published
27 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-178
Also known as
GHSA-jg2m-9x48-3gvj
Sources
NVDJSONOSV GHSA-jg2m-9x48-3gvjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache camel
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
>= 3.0.0, < 4.14.6 4.14.6
NVD apache camel
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*
>= 4.15.0, < 4.18.2 4.18.2
NVD apache camel
cpe:2.3:a:apache:camel:4.19.0:*:*:*:*:*:*:*
= 4.19.0
OSV Maven org.apache.camel:camel-coap >= 3.0.0, < 4.14.6 4.14.6
OSV Maven org.apache.camel:camel-coap >= 4.15.0, < 4.18.2 4.18.2
OSV Maven org.apache.camel:camel-coap >= 4.19.0, < 4.20.0 4.20.0
OSV Maven org.apache.camel:camel-google-pubsub >= 3.0.0, < 4.14.6 4.14.6
OSV Maven org.apache.camel:camel-google-pubsub >= 4.15.0, < 4.18.2 4.18.2
OSV Maven org.apache.camel:camel-google-pubsub >= 4.19.0, < 4.20.0 4.20.0
OSV Maven org.apache.camel:camel-jms >= 3.0.0, < 4.14.6 4.14.6
OSV Maven org.apache.camel:camel-jms >= 4.15.0, < 4.18.2 4.18.2
OSV Maven org.apache.camel:camel-jms >= 4.19.0, < 4.20.0 4.20.0
OSV Maven org.apache.camel:camel-sjms >= 3.0.0, < 4.14.6 4.14.6
OSV Maven org.apache.camel:camel-sjms >= 4.15.0, < 4.18.2 4.18.2
OSV Maven org.apache.camel:camel-sjms >= 4.19.0, < 4.20.0 4.20.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 Apr 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.