Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconEnable DEBUG logging on Kafka
-
DeliveryGenerate authentication requests (SaslAuthenticate, AlterUserScram)
-
ExploitNetworkClient logs full request/response payloads with credentials in plaintext
-
InstallGain access to log files or log aggregation system
-
C2Extract authentication tokens and SCRAM secrets
-
ExecuteAuthenticate to Kafka or dependent services with harvested credentials
-
ImpactExecute unauthorized actions or data exfiltration
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | DEBUG logging must be explicitly enabled in Kafka broker or client configuration (by default, log level is INFO, which suppresses the vulnerable output). Exploitation requires either local file system access to Kafka logs or network access to centralized log aggregation systems where logs are stored. The vulnerability is specific to requests and responses matching the nine listed message types (SaslAuthenticateRequest/Response, AlterUserScramCredentialsRequest, AlterConfigsRequest, IncrementalAlterConfigsRequest, ExpireDelegationTokenRequest, RenewDelegationTokenRequest, createDelegationTokenResponse, describeDelegationTokenResponse). Exploitation does NOT require network access to Kafka brokers themselves; it is a data-in-motion/data-at-rest exposure in logs. Limiting factors: (1) Non-default configuration requirement (DEBUG must be manually enabled), (2) Attacker must have access to logging infrastructure or server logs (not remotely exploitable over network), (3) Exposure is limited to credentials and tokens present during the time DEBUG logging is active (ephemeral if DEBUG is only enabled temporarily for troubleshooting). |
| Impact | The CVSS 5.3 score reflects low network vector (AV:N) because exploitation is not remotely triggered via the network itself; instead, an attacker must have local access to log files or intercept logs in transit. CVSS also assumes standard configuration (AC:L, PR:N, UI:N, S:U, C:L), indicating low barrier to exploitation once DEBUG logging is active. However, the CVSS metric conflates two distinct risk scenarios: (1) An insider or local attacker reading Kafka server logs directly after DEBUG is enabled (true local-access risk), and (2) An organization sending DEBUG logs to a centralized logging platform with weak access controls (network-adjacent risk if logs are exposed via misconfigured ELK/Splunk/CloudWatch). SSVC decision framework rates Exploitation as 'none' (no known active exploitation), Automatable as 'yes' (log parsing is trivial once you have access), and Technical Impact as 'partial' (credentials are exposed but not all systems are affected - only those with DEBUG enabled and specific request types in flight). The real-world risk hinges on two prerequisites: (1) DEBUG logging must be explicitly enabled by an administrator (not default), and (2) an attacker must gain access to the logging infrastructure or server's log files. This is materially different from a default-configuration vulnerability. Organizations that strictly enforce INFO-level logging and control who can enable DEBUG have near-zero risk. Organizations that enable DEBUG permanently for 'better visibility' or forward logs to unsecured aggregation systems face high risk of credential compromise. No EPSS score provided in input, but if estimated, would likely be moderate (50-65%) due to moderate barrier (DEBUG enablement) but high impact (authentication credentials). Active exploitation not confirmed via KEV status; no public exploit code referenced. |
| Exploit ScenarioDerived | An organization enables Kafka DEBUG logging to troubleshoot a client connectivity issue and forwards all Kafka logs to an ELK stack with weak authentication. A threat actor with network access to the ELK instance (e.g., via unpatched web UI vulnerability or default credentials) queries the Kafka logs and extracts plaintext SASL credentials, delegation tokens, and configuration secrets from the SaslAuthenticateRequest and AlterUserScramCredentialsRequest messages now visible in DEBUG output. The attacker uses these credentials to authenticate directly to Kafka brokers or downstream services (databases, message queues) that share the same credentials, gaining read/write access to sensitive topics. Alternatively, a disgruntled operator with access to the Kafka server file system reads the DEBUG logs directly and harvests the same credentials for lateral movement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Apache Kafka's NetworkClient component logs entire request and response payloads at DEBUG level, exposing sensitive authentication credentials, delegation tokens, and configuration data in plaintext logs. This affects Kafka versions 0.11.0 through 3.9.1 and 4.0.0 across the broker and client libraries. While DEBUG logging is not enabled by default (INFO is the standard), organizations that enable DEBUG logging for troubleshooting inadvertently create persistent records of authentication material and secrets that can be harvested by local log readers or accessed via log aggregation systems. CVSS 5.3 reflects low network attack surface (requires prior DEBUG enablement), but SSVC rates this as automatable with partial technical impact, suitable for prioritization in environments using centralized logging.
RemediationAI
Upgrade immediately to Apache Kafka 3.9.2 or later, or 4.0.1 or later, which implement field-level redaction of sensitive data in DEBUG logs (authentication tokens, credentials, and delegation tokens are masked or filtered from log output). For organizations unable to patch immediately, enforce the following compensating controls: (1) Disable DEBUG logging in production by ensuring log4j or logback configuration is set to INFO level or higher (trade-off: reduced visibility for network troubleshooting, but eliminates data exposure surface), (2) Restrict file system access to Kafka server logs via OS-level permissions (umask 0077 or equivalent ACLs so only Kafka process owner and root can read logs) (trade-off: operational complexity for multi-user systems), (3) If using centralized log aggregation (ELK, Splunk, Datadog), configure ingestion filters to redact lines containing 'SaslAuthenticate', 'AlterUserScram', 'DelegationToken', or 'AlterConfigs' before storage (trade-off: requires log pipeline reconfiguration and may miss variants), (4) Rotate Kafka logs frequently (e.g., daily) and delete logs older than 7 days to reduce the window of exposure (trade-off: loss of historical audit trail). See Apache advisory at https://kafka.apache.org/cve-list and https://lists.apache.org/thread/pz5g4ky3h0k91tfd14p0dzqjp80960kl for details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in Apache Kafka's NetworkClient component, which handles protocol communication between brokers and clients using the Kafka wire protocol. The affected APIs include authentication mechanisms (SaslAuthenticateRequest/Response), credential management (AlterUserScramCredentialsRequest), and delegation token operations (ExpireDelegationToken, RenewDelegationToken, describeDelegationTokenResponse, createDelegationTokenResponse), plus configuration changes (AlterConfigsRequest, IncrementalAlterConfigsRequest). These request/response objects contain unmasked authentication tokens, SCRAM passwords, delegation token values, and configuration parameters. The root cause (CWE-533: Sensitive Data Exposure in Logs) stems from the use of generic object serialization in logging calls without field-level filtering or redaction. When a developer enables DEBUG logging for network packet analysis, the NetworkClient's toString() or logging framework introspection captures the entire object graph, bypassing any field-level protection. CPE identifiers apache_kafka and apache_kafka_clients confirm both broker and client libraries are vulnerable.
Know when Apache Kafka gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
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. We advise the Kafka users to upgrade to v3.9.2, v4.0.1, or later to avoid this vulnerability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Apache Kafka
View allHeap exhaustion in Apache Kafka brokers allows remote attackers to crash the broker with an OutOfMemoryError by sending
Heap exhaustion denial of service in Apache Kafka affects brokers running 2.4.0 through 4.1.2, 4.2.0 through 4.2.1, and
Apache Kafka brokers that enable SASL/OAUTHBEARER with the default JWT validator and no JWKS endpoint URL silently accep
Apache Kafka 4.1.0 and 4.1.1 accept forged JWT tokens without signature validation, allowing remote unauthenticated atta
Kafka Connect workers leak plaintext secrets through the REST endpoint /connector-plugins/{connector-type}/config/valida
Crafted size and count fields in Kafka deserializers can force multi-gigabyte array, collection, or buffer allocations t
Memory exhaustion in the Apache Kafka broker lets an authenticated principal holding Write permission on a topic submit
Apache Kafka brokers that have an authorizer enabled will read a file or environment variable from the broker host and r
Apache Kafka brokers can be driven into heap exhaustion by any authenticated client because the PushTelemetry (KIP-714)
Denial of service in Apache Kafka's KRaft controller affects releases 2.8.0 through 4.2.1 and 4.3.0 through 4.3.1, where
Apache Kafka brokers that authenticate clients via SASL/OAUTHBEARER using the bundled JWKS-backed validator can accept a
Improper authorization in Apache Kafka 4.0.0-4.3.0 arises from a discrepancy between the documented ACL requirement and
EUVD-2026-23849
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB