Apache Camel: Camel-Chunk expands untrusted message data as template code, disclosing other headers and variables

Summary

CVECVE-2026-109146
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 12:17:58 UTC
Updated2026-12-03 12:17:58 UTC
DescriptionImproper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache Camel Chunk component. This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0. camel-chunk re-parsed untrusted message body and header content as Chunk template code, so template directives contained in attacker-controlled data were evaluated and could read other message headers and template variables. The fixed releases render the message data literally instead of re-parsing it as a template. Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-1336 | CWE-1336 CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Camel affected 4.0.0 4.18.6 maven Not specified
CNA Apache Software Foundation Apache Camel affected 4.19.0 4.22.2 maven Not specified
CNA Apache Software Foundation Apache Camel affected 4.23.0 4.24.0 maven Not specified

References

ReferenceSourceLinkTags
github.com/apache/camel/pull/27873 [email protected] github.com
camel.apache.org/security/CVE-2026-109146.html [email protected] camel.apache.org
github.com/apache/camel/pull/27868 [email protected] github.com
issues.apache.org/jira/browse/CAMEL-25585 [email protected] issues.apache.org
github.com/apache/camel/pull/27721 [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Shashank Mohan Jain (en)

CNA: Andrea Cosentino (en)

Additional Advisory Data

Solutions

CNA: Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report