{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-109146",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-10-12T11:35:01.374Z",
        "datePublished": "2026-12-03T11:59:33.082Z",
        "dateUpdated": "2026-12-03T11:59:33.082Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-12-03T11:59:33.082Z"
            },
            "title": "Apache Camel: Camel-Chunk expands untrusted message data as template code, disclosing other headers and variables",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine",
                            "lang": "en",
                            "cweId": "CWE-1336",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Camel",
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "packageName": "org.apache.camel:camel-chunk",
                    "packageURL": "pkg:maven/org.apache.camel/camel-chunk",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.0.0",
                            "lessThan": "4.18.6",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "4.19.0",
                            "lessThan": "4.22.2",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "4.23.0",
                            "lessThan": "4.24.0",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "value": "Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache Camel Chunk component.\n\n\n\nThis 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.\n\n\n\ncamel-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.\n\n\n\nUpgrade 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.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache Camel Chunk component.</p><p>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.</p><p>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.</p><p>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.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://camel.apache.org/security/CVE-2026-109146.html",
                    "name": "Apache Camel Security Advisory - CVE-2026-109146",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://issues.apache.org/jira/browse/CAMEL-25585",
                    "name": "CAMEL-25585",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/27721",
                    "name": "Fix on main, released in 4.24.0 (commit 6fdf569ef50c)",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/27868",
                    "name": "Backport to camel-4.22.x, released in 4.22.2 (commit b4e03647e173)",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/27873",
                    "name": "Backport to camel-4.18.x, released in 4.18.6 (commit bb60b1d2f26a)",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "metrics": [
                {
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "NONE",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                    }
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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.</p>"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Shashank Mohan Jain",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Andrea Cosentino",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 1.0.3"
            }
        }
    }
}