{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-127042","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2026-11-12T11:44:34.266Z","datePublished":"2026-12-03T11:53:03.454Z","dateUpdated":"2026-12-03T11:53:03.454Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-12-03T11:53:03.454Z"},"title":"Apache Camel: Camel-WhatsApp: the WhatsApp producer logs the full REST response body at INFO, exposing message recipient identifiers","problemTypes":[{"descriptions":[{"description":"CWE-532 Insertion of Sensitive Information into Log File","lang":"en","cweId":"CWE-532","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-whatsapp","packageURL":"pkg:maven/org.apache.camel/camel-whatsapp","versions":[{"status":"affected","version":"4.0.0","lessThan":"4.18.6","versionType":"maven"},{"status":"affected","version":"4.19.0","lessThan":"4.22.3","versionType":"maven"},{"status":"affected","version":"4.23.0","lessThan":"4.24.0","versionType":"maven"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"Insertion of Sensitive Information into Log File vulnerability in Apache Camel WhatsApp component.\n\n\n\nThis 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.\n\n\n\nThe 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.\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.3. 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>Insertion of Sensitive Information into Log File vulnerability in Apache Camel WhatsApp component.</p><p>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.</p><p>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.</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.3. 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-127042.html","name":"Apache Camel Security Advisory - CVE-2026-127042","tags":["vendor-advisory"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-26891","name":"CAMEL-26891","tags":["issue-tracking"]},{"url":"https://github.com/apache/camel/pull/29736","name":"Fix on main, released in 4.24.0 (commit c55dc45c500e)","tags":["patch"]},{"url":"https://github.com/apache/camel/pull/29775","name":"Backport to camel-4.22.x, released in 4.22.3 (commit 53eb802133e6)","tags":["patch"]},{"url":"https://github.com/apache/camel/pull/29776","name":"Backport to camel-4.18.x, released in 4.18.6 (commit b5c3e555b39c)","tags":["patch"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseSeverity":"LOW","baseScore":3.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/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.3. 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.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.</p>"}]}],"credits":[{"lang":"en","value":"Andrea Cosentino","type":"finder"},{"lang":"en","value":"Andrea Cosentino","type":"remediation developer"}],"x_generator":{"engine":"Vulnogram 1.0.3"}}}}