kafka-clients is vulnerable to Authentication Bypass
77
CVE Score
High
Authentication Bypass
The Kafka broker's OAuthBearerValidatorCallbackHandler accepts the default DefaultJwtValidator even when it delegates to ClientJwtValidator because no JWKS endpoint or verification key resolver is configured. ClientJwtValidator parses token claims without verifying the JWT signature, algorithm, or issuer. An unauthenticated caller that can reach the OAuth-enabled listener can forge a token claiming any principal, including a configured superuser, and obtain that principal's cluster privileges. The fix rejects this non-verifying default on the broker during startup with a ConfigException.
Upgrade the broker and its kafka-clients dependency to a fixed release. If you cannot upgrade, configure a JWKS endpoint for every affected listener and explicitly set sasl.oauthbearer.jwt.validator.class to org.apache.kafka.common.security.oauthbearer.BrokerJwtValidator, or use another signature-verifying validator. On 4.1.0 and 4.1.1, configuring the JWKS URL alone is insufficient because of the related CVE-2026-33557.
You are affected if you are using a version that falls within the vulnerable range and a Kafka broker uses SASL/OAUTHBEARER with the default JWT validator while no sasl.oauthbearer.jwks.endpoint.url or signature verifying validator is configured.
4.1.0 - 4.2.1
Fixed in 4.2.24.3.0 - 4.3.0
Fixed in 4.3.1kafka-clients is vulnerable to Authentication Bypass in versions 4.1.0 - 4.2.1 and 4.3.0 - 4.3.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.