Improper Verification of Cryptographic Signature Affecting org.apache.kafka:kafka-clients package, versions [4.1.0,4.2.2)[4.3.0,4.3.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEKAFKA-22150294
  • published3 Nov 2026
  • disclosed28 Oct 2026
  • creditSan Zhang, Kaixuan Li

Introduced: 28 Oct 2026

NewCVE-2026-110985  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade org.apache.kafka:kafka-clients to version 4.2.2, 4.3.1 or higher.

Overview

org.apache.kafka:kafka-clients is a streaming platform that can publish and subscribe to streams of records, store streams of records in a fault-tolerant durable way, and process streams of records as they occur.

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature via the DefaultJwtValidator fallback in the configure method of the SASL/OAUTHBEARER OAuthBearerValidatorCallbackHandler. When a broker uses the default validator without a JWKS endpoint URL or verification-key resolver, it falls back to ClientJwtValidator, which does not verify JWT signatures, algorithms, or issuers. An unauthenticated remote attacker who can reach the listener can send a structurally valid forged JWT claiming any principal, including a configured superuser, and gain full access to the Kafka cluster.

Workarounds

  • Set sasl.oauthbearer.jwks.endpoint.url for every listener and mechanism using OAuthBearerValidatorCallbackHandler to enable JWT signature verification and prevent acceptance of forged tokens.
  • Configure sasl.oauthbearer.jwt.validator.class to use a signature-verifying validator, preventing the broker from accepting JWTs without signature verification.

CVSS Base Scores

version 4.0
version 3.1