← Security advisories
Apache Camel security advisory

CVE-2026-129893

Camel-Main logs secret jwtKeystorePassword and camel.vault options unmasked in the startup summary

Description

Several secret camel-main options, including jwtKeystorePassword and a number of camel.vault options, were declared sensitive but their names were absent from SensitiveUtils.SENSITIVE_KEYS, 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.

Mitigation

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.

Credit

This issue was discovered by Federico Mariani from Apache Software Foundation

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-27049 refers to the various commits that resolved the issue, and have more details.

References