CVE-2026-127042
Camel-WhatsApp: the WhatsApp producer logs the full REST response body at INFO, exposing message recipient identifiers
Description
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.
Mitigation
Credit
This issue was discovered by Andrea Cosentino from Apache Software Foundation
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-26891 refers to the various commits that resolved the issue, and have more details.