GHSA-jg2m-9x48-3gvj

Suggest an improvement
Source
https://github.com/advisories/GHSA-jg2m-9x48-3gvj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-jg2m-9x48-3gvj
Aliases
Downstream
CGA (8)
MINI (4)
Published
2026-04-27T09:34:39Z
Modified
2026-07-17T21:04:37Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Apache Camel has an incomplete fix for CVE-2025-27636
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-178"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-22T13:10:44Z",
    "nvd_published_at": "2026-04-27T09:16:01Z",
    "severity": "CRITICAL"
}
References

Affected packages

Maven
org.apache.camel:camel-coap

Package

Name
org.apache.camel:camel-coap
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-coap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
4.14.6

Affected versions

3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.6.0
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.8.0
3.9.0
3.10.0
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
3.11.6
3.11.7
3.12.0
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.14.4
3.14.5
3.14.6
3.14.7
3.14.8
3.14.9
3.14.10
3.15.0
3.16.0
3.17.0
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.18.5
3.18.6
3.18.7
3.18.8
3.19.0
3.20.0
3.20.1
3.20.2
3.20.3
3.20.4
3.20.5
3.20.6
3.20.7
3.20.8
3.20.9
3.21.0
3.21.1
3.21.2
3.21.3
3.21.4
3.21.5
3.22.0
3.22.1
3.22.2
3.22.3
3.22.4
4.*
4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-RC1
4.0.0-RC2
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.9.0
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.11.0
4.12.0
4.13.0
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-coap

Package

Name
org.apache.camel:camel-coap
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-coap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.18.2

Affected versions

4.*
4.15.0
4.16.0
4.17.0
4.18.0
4.18.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-coap

Package

Name
org.apache.camel:camel-coap
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-coap

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.20.0

Affected versions

4.*
4.19.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-google-pubsub

Package

Name
org.apache.camel:camel-google-pubsub
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-google-pubsub

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
4.14.6

Affected versions

3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.6.0
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.8.0
3.9.0
3.10.0
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
3.11.6
3.11.7
3.12.0
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.14.4
3.14.5
3.14.6
3.14.7
3.14.8
3.14.9
3.14.10
3.15.0
3.16.0
3.17.0
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.18.5
3.18.6
3.18.7
3.18.8
3.19.0
3.20.0
3.20.1
3.20.2
3.20.3
3.20.4
3.20.5
3.20.6
3.20.7
3.20.8
3.20.9
3.21.0
3.21.1
3.21.2
3.21.3
3.21.4
3.21.5
3.22.0
3.22.1
3.22.2
3.22.3
3.22.4
4.*
4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-RC1
4.0.0-RC2
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.9.0
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.11.0
4.12.0
4.13.0
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-google-pubsub

Package

Name
org.apache.camel:camel-google-pubsub
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-google-pubsub

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.18.2

Affected versions

4.*
4.15.0
4.16.0
4.17.0
4.18.0
4.18.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-google-pubsub

Package

Name
org.apache.camel:camel-google-pubsub
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-google-pubsub

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.20.0

Affected versions

4.*
4.19.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-jms

Package

Name
org.apache.camel:camel-jms
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-jms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
4.14.6

Affected versions

3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.6.0
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.8.0
3.9.0
3.10.0
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
3.11.6
3.11.7
3.12.0
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.14.4
3.14.5
3.14.6
3.14.7
3.14.8
3.14.9
3.14.10
3.15.0
3.16.0
3.17.0
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.18.5
3.18.6
3.18.7
3.18.8
3.19.0
3.20.0
3.20.1
3.20.2
3.20.3
3.20.4
3.20.5
3.20.6
3.20.7
3.20.8
3.20.9
3.21.0
3.21.1
3.21.2
3.21.3
3.21.4
3.21.5
3.22.0
3.22.1
3.22.2
3.22.3
3.22.4
4.*
4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-RC1
4.0.0-RC2
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.9.0
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.11.0
4.12.0
4.13.0
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-jms

Package

Name
org.apache.camel:camel-jms
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-jms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.18.2

Affected versions

4.*
4.15.0
4.16.0
4.17.0
4.18.0
4.18.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-jms

Package

Name
org.apache.camel:camel-jms
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-jms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.20.0

Affected versions

4.*
4.19.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-sjms

Package

Name
org.apache.camel:camel-sjms
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-sjms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
4.14.6

Affected versions

3.*
3.0.0
3.0.1
3.1.0
3.2.0
3.3.0
3.4.0
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.5.0
3.6.0
3.7.0
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.8.0
3.9.0
3.10.0
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
3.11.6
3.11.7
3.12.0
3.13.0
3.14.0
3.14.1
3.14.2
3.14.3
3.14.4
3.14.5
3.14.6
3.14.7
3.14.8
3.14.9
3.14.10
3.15.0
3.16.0
3.17.0
3.18.0
3.18.1
3.18.2
3.18.3
3.18.4
3.18.5
3.18.6
3.18.7
3.18.8
3.19.0
3.20.0
3.20.1
3.20.2
3.20.3
3.20.4
3.20.5
3.20.6
3.20.7
3.20.8
3.20.9
3.21.0
3.21.1
3.21.2
3.21.3
3.21.4
3.21.5
3.22.0
3.22.1
3.22.2
3.22.3
3.22.4
4.*
4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-RC1
4.0.0-RC2
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.0.6
4.1.0
4.2.0
4.3.0
4.4.0
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.5.0
4.6.0
4.7.0
4.8.0
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9
4.9.0
4.10.0
4.10.1
4.10.2
4.10.3
4.10.4
4.10.5
4.10.6
4.10.7
4.10.8
4.10.9
4.11.0
4.12.0
4.13.0
4.14.0
4.14.1
4.14.2
4.14.3
4.14.4
4.14.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-sjms

Package

Name
org.apache.camel:camel-sjms
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-sjms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.18.2

Affected versions

4.*
4.15.0
4.16.0
4.17.0
4.18.0
4.18.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"
org.apache.camel:camel-sjms

Package

Name
org.apache.camel:camel-sjms
View open source insights on deps.dev
Purl
pkg:maven/org.apache.camel/camel-sjms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.20.0

Affected versions

4.*
4.19.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-jg2m-9x48-3gvj/GHSA-jg2m-9x48-3gvj.json"