Apache Camel: Camel-WhatsApp: the WhatsApp producer logs the full REST response body at INFO, exposing message recipient identifiers
Summary
| CVE | CVE-2026-127042 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 12:18:03 UTC |
| Updated | 2026-12-03 12:18:03 UTC |
| Description | Insertion of Sensitive Information into Log File vulnerability in Apache Camel WhatsApp component. This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0. The camel-whatsapp component's producer (WhatsAppServiceRestAPIAdapter) writes the full REST response body returned by the WhatsApp Cloud API to the application log at INFO on every send, with no opt-in. Because a successful response echoes the submitted recipient value and the WhatsApp contact id (contacts[].input, contacts[].wa_id) and carries provider message identifiers, those routing identifiers are copied into routine production logs and any downstream log aggregation. The fix stops logging the response body at INFO and logs only the response status code. 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.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. |
Risk And Classification
Primary CVSS: v3.1 3.3 LOW from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Problem Types: CWE-532 | CWE-532 CWE-532 Insertion of Sensitive Information into Log File
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | CVSS | 3.3 | LOW | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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.3 maven | Not specified |
| CNA | Apache Software Foundation | Apache Camel | affected 4.23.0 4.24.0 maven | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/apache/camel/pull/29736 | [email protected] | github.com | |
| github.com/apache/camel/pull/29776 | [email protected] | github.com | |
| issues.apache.org/jira/browse/CAMEL-26891 | [email protected] | issues.apache.org | |
| camel.apache.org/security/CVE-2026-127042.html | [email protected] | camel.apache.org | |
| github.com/apache/camel/pull/29775 | [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: Andrea Cosentino (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.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.
There are currently no legacy QID mappings associated with this CVE.