CVE-2026-110985
Apache Kafka: Broker silently skips JWT signature verification for SASL/OAUTHBEARER when the JWKS endpoint URL is not configured
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.kafka » kafkapreliminary | >= 4.1.0, <= 4.1.2>= 4.2.0, <= 4.2.1= 4.3.0 | - |
Blast radius
51% of the dependent artifacts (29) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 77 |
| 2 hops | 75 |
| 3 hops | 453 |
| 4 hops | 177 |
| 5 hops | 2 |
Most used dependents
- org.springframework.kafka » spring-kafka-test289 usages
- io.github.embeddedkafka » embedded-kafka74 usages
- ch.admin.bit.jeap » jeap-messaging-infrastructure-kafka-test27 usages
- org.springframework.boot » spring-boot-starter-kafka-test13 usages
- org.apache.kafka » kafka-test-common-runtime13 usages
- io.kroxylicious.testing » testing-junit5-extension10 usages
- io.kroxylicious » kroxylicious-integration-test-support9 usages
- org.citrusframework » citrus-kafka9 usages
- io.kroxylicious.testing » testing-impl7 usages
- io.github.embeddedkafka » embedded-kafka-streams6 usages
- io.github.embeddedkafka » embedded-kafka-schema-registry5 usages
- ch.admin.bit.jeap » jeap-reaction-observer-test3 usages
- ch.admin.bit.jeap » jeap-reaction-observer-service-test3 usages
- com.epam.eco » commons-kafka3 usages
- fr.enedis.chutney » action-impl3 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
