CVE-2026-127042 — Apache Software Foundation Apache Camel
One of 53 Apache Software Foundation Apache Camel vulnerabilities published together by NVD: our article covers all of them.
ApacheWebCloud & containersVulnerabilitiesSummary
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.
Severity breakdown
Low · 3.3
An attacker with a normal user account can exploit this with local access, without any user action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality, none on integrity and availability
Weakness
- CWE-532: Insertion of Sensitive Information into Log File
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Camel | ≥ 4.0.0, < 4.18.6 | 4.18.6 |
| ≥ 4.19.0, < 4.22.3 | 4.22.3 | |
| ≥ 4.23.0, < 4.24.0 | 4.24.0 |
References by type
Patches and fixed releases
- github.com/apache/camel/pull/29736
- github.com/apache/camel/pull/29775
- github.com/apache/camel/pull/29776
Other references
Affected
- Apache Software Foundation Apache Camel
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-127042?
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. Weakness type: Insertion of Sensitive Information into Log File (CWE-532).
How severe is CVE-2026-127042?
CVE-2026-127042 has a CVSS 3.1 base score of 3.3 (low), from the CNA (apache.org). An attacker with a normal user account can exploit this with local access, without any user action.
Is CVE-2026-127042 being exploited?
Not as far as is known: CVE-2026-127042 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-127042?
Apache Software Foundation Apache Camel ≥ 4.0.0, < 4.18.6 (fixed in 4.18.6); Apache Software Foundation Apache Camel ≥ 4.19.0, < 4.22.3 (fixed in 4.22.3); Apache Software Foundation Apache Camel ≥ 4.23.0, < 4.24.0 (fixed in 4.24.0).
How do I fix CVE-2026-127042?
Update to a fixed release: Apache Software Foundation Apache Camel 4.18.6; Apache Software Foundation Apache Camel 4.22.3; Apache Software Foundation Apache Camel 4.24.0.