Apache Kafka exposes sensitive information in its DEBUG logs
Moderate severity
GitHub Reviewed
Published
Apr 20, 2026
to the GitHub Advisory Database
•
Updated Apr 24, 2026
Package
Affected versions
>= 0.11.0, < 3.9.2
= 4.0.0
Patched versions
3.9.2
4.0.1
Description
Published by the National Vulnerability Database
Apr 20, 2026
Published to the GitHub Advisory Database
Apr 20, 2026
Reviewed
Apr 24, 2026
Last updated
Apr 24, 2026
Information exposure vulnerability has been identified in Apache Kafka.
The NetworkClient component will output entire requests and responses information in the DEBUG log level in the logs. By default, the log level is set to INFO level. If the DEBUG level is enabled, the sensitive information will be exposed via the requests and responses output log. The entire lists of impacted requests and responses are:
AlterConfigsRequest
AlterUserScramCredentialsRequest
ExpireDelegationTokenRequest
IncrementalAlterConfigsRequest
RenewDelegationTokenRequest
SaslAuthenticateRequest
createDelegationTokenResponse
describeDelegationTokenResponse
SaslAuthenticateResponse
This issue affects Apache Kafka: from any version supported the listed API above through v3.9.1, v4.0.0. Apache advises Kafka users to upgrade to v3.9.2, v4.0.1, or later to avoid this vulnerability.
References