CVE-2026-129893: Apache Camel: Camel-Main logs secret jwtKeystorePassword and camel.vault options unmasked in the startup summary
Insertion of Sensitive Information into Log File vulnerability in Apache Camel Main 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.
Several secret camel-main options, including jwtKeystorePassword and a number of camel.vault options, were declared sensitive but their names were absent from SensitiveUtils.SENSITIVEKEYS, so every log path that masks secrets with SensitiveUtils - including the camel-main start-up auto-configuration summary, which camel-kafka-connector inherits - printed their values in clear text. The fixed releases add these option names to the sensitive-key set so their values are masked in logs.
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.24.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.18.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.22.3
Event History
Frequently Asked Questions
Which deployments are exposed to secret disclosure?
Apache Camel Main deployments running 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 are affected when they use the impacted sensitive camel-main options. camel-kafka-connector inherits the affected startup auto-configuration summary behavior.
What access would an attacker need to obtain the exposed values?
An attacker needs local, low-privilege access, consistent with the CVSS vector, to read logs containing the Camel startup summary or another log path using SensitiveUtils. No user interaction is required.
Which configuration values may be written to logs in clear text?
The affected values include jwtKeystorePassword and a number of camel.vault options that were declared sensitive but omitted from SensitiveUtils.SENSITIVE_KEYS. As a result, log paths that rely on SensitiveUtils masking can print these configured values unmasked.
What should teams do if secrets may already have been logged?
Upgrade to Apache Camel 4.24.0, or to 4.22.3 for the 4.22.x LTS stream, or 4.18.6 for the 4.18.x LTS stream. Review logs for exposed values and rotate any secrets that may have been recorded in clear text.