CVE-2026-110985: Apache Kafka: Broker silently skips JWT signature verification for SASL/OAUTHBEARER when the JWKS endpoint URL is not configured
A Kafka broker using SASL/OAUTHBEARER with the default validator (sasl.oauthbearer.jwt.validator.class=DefaultJwtValidator) selects its implementation from configuration. When sasl.oauthbearer.jwks.endpoint.url is set, the validator verifies the JWT signature. When that URL is unset (the default) and no verification key resolver is supplied, DefaultJwtValidator silently falls back to ClientJwtValidator, which does not verify the JWT signature, algorithm, or issuer - and the broker starts with no warning or error. This is the residual of CVE-2026-33557, whose fix restored signature verification only on the path where the JWKS endpoint URL is set.
Impact:
A broker in this state accepts any structurally valid JWT, including "alg":"none" tokens. An unauthenticated remote attacker who can reach the listener can forge a token asserting any principal - including configured superusers - and gain full access to the cluster. Only brokers that enable SASL/OAUTHBEARER validation without a JWKS endpoint URL (and without a custom verification key resolver) are affected; brokers that set the URL verify signatures and are not affected. Unlike CVE-2026-110952 (issuer/audience not enforced by default), here no signature is verified at all.
Mitigation (all affected versions, no upgrade required):
Set sasl.oauthbearer.jwks.endpoint.url for every listener/mechanism that uses OAuthBearerValidatorCallbackHandler, or configure a signature-verifying sasl.oauthbearer.jwt.validator.class.
Resolution:
From Apache Kafka 4.2.2, 4.3.1, and 4.4.0: a broker that would fall back to the non-verifying ClientJwtValidator fails to start with a ConfigException instead of running without signature verification (secure by default).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
bitnami/kafkato a version that resolves this vulnerability.Fixed in 4.2.2 - Upgrade
Upgrade
bitnami/kafkato a version that resolves this vulnerability.Fixed in 4.3.1 - Upgrade
Upgrade
Apache Kafkato a version that resolves this vulnerability.Fixed in 4.2.2 - Upgrade
Upgrade
Apache Kafkato a version that resolves this vulnerability.Fixed in 4.3.1 - Upgrade
Upgrade
Apache Kafkato a version that resolves this vulnerability.Fixed in 4.4.0 - Configuration
Set sasl.oauthbearer.jwks.endpoint.url for every listener and mechanism that uses OAuthBearerValidatorCallbackHandler so the validator verifies JWT signatures.
Apache Kafka SASL/OAUTHBEARER sasl.oauthbearer.jwks.endpoint.url = configured URL - Configuration
Configure sasl.oauthbearer.jwt.validator.class to use a signature-verifying validator when a JWKS endpoint URL is not configured.
Apache Kafka SASL/OAUTHBEARER sasl.oauthbearer.jwt.validator.class = signature-verifying validator
Event History
Frequently Asked Questions
Which Kafka deployments are affected?
Only brokers using SASL/OAUTHBEARER with DefaultJwtValidator where sasl.oauthbearer.jwks.endpoint.url is unset and no custom verification key resolver is supplied are affected. Brokers with a JWKS endpoint URL configured verify JWT signatures and are not affected.
What does an attacker need to exploit this issue?
An attacker needs network access to a vulnerable SASL/OAUTHBEARER listener. They can submit a structurally valid forged JWT, including an alg:none token, without possessing a signing key.
What access could a successful attacker obtain?
The attacker can forge a token claiming any principal, including configured superusers. This can result in full access to the Kafka cluster.
What should be changed if patching cannot happen immediately?
Configure sasl.oauthbearer.jwks.endpoint.url so that DefaultJwtValidator verifies JWT signatures. Alternatively, provide a custom verification key resolver; the vulnerable state requires both an unset JWKS URL and no custom resolver.
How can I determine whether a broker is exposed?
Inspect the broker's SASL/OAUTHBEARER configuration. It is exposed when DefaultJwtValidator is in use, sasl.oauthbearer.jwks.endpoint.url is not configured, and no custom verification key resolver is configured.