CVE-2026-127042: Apache Camel: Camel-WhatsApp: the WhatsApp producer logs the full REST response body at INFO, exposing message recipient identifiers

Published Dec 3, 2026
·
Updated

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[].waid) 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.

Affected Software

1 affected component
Apache Camel-WhatsApp>=4.0.0<4.18.6, >=4.19.0<4.22.3, >=4.23.0<4.24.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.24.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.18.6
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.22.3

Event History

Dec 3, 2026
CVE Published
via MITRE·11:53 AM
Data Sourced
via MITRE·11:53 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via OSV·11:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this logging behavior?

Deployments using the camel-whatsapp component are exposed when running Apache Camel 4.0.0 through versions before 4.18.6, 4.19.0 through versions before 4.22.3, or 4.23.0 through versions before 4.24.0. The behavior occurs on every producer send and does not require an opt-in configuration.

2

What access would an attacker need to obtain the exposed data?

An attacker would need access to the application logs or to downstream log aggregation containing them. Exploitation does not require interacting with the WhatsApp producer directly.

3

What information should responders look for in existing logs?

Review INFO-level logs produced during WhatsApp sends for full WhatsApp Cloud API REST response bodies. Successful responses can contain submitted recipient values, WhatsApp contact IDs in contacts[].input and contacts[].wa_id, and provider message identifiers.

4

What should teams do if they cannot immediately upgrade?

The provided data identifies upgrading as the remediation: upgrade to 4.24.0, or to 4.22.3 for the 4.22.x LTS stream and 4.18.6 for the 4.18.x LTS stream. Until upgraded, treat affected application logs and downstream aggregated copies as containing the listed routing identifiers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203