Skip to main content

CVE-2026-33557 — Vulnerability in kafka-clients — CVE Details

CRITICAL

Apache Kafka does not validate JWT tokens in its OAUTHBEARER authentication implementation

Published April 20, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.97%). Schedule for your next planned update.

Does your project use an affected org.apache.kafka:kafka-clients version?

Paste your pom.xml to check it for CVE-2026-33557 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

A security vulnerability has been identified in Apache Kafka. By default, the broker property sasl.oauthbearer.jwt.validator.class is set to org.apache.kafka.common.security.oauthbearer.DefaultJwtValidator. It accepts any JWT token without validating its signature, issuer, or audience. An attacker can generate a JWT token from any issuer with the preferred_username set to any user, and the broker will accept it.

Apache advises Kafka users using kafka v4.1.0 or v4.1.1 to set the config sasl.oauthbearer.jwt.validator.class to org.apache.kafka.common.security.oauthbearer.BrokerJwtValidator explicitly to avoid this vulnerability. Since Kafka v4.1.2 and v4.2.0 and later, the issue is fixed and will correctly validate the JWT token.

Advisory Timeline

  • First published April 20, 2026 (220 days ago).
  • Last revised September 10, 2026 — 143 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.kafka:kafka-clients to 4.1.2 or later
<!-- Update pom.xml dependency version to 4.1.2 for org.apache.kafka:kafka-clients -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.apache.kafka:kafka-clients Maven · Affected: 4.1.0, 4.1.14.1.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-33557?
Apache Kafka does not validate JWT tokens in its OAUTHBEARER authentication implementation. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2026-33557?
CVE-2026-33557 affects org.apache.kafka:kafka-clients. It has a 1.0% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-33557 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.97%
EPSS percentile: 60.5

This is an above-median EPSS score — 60.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-28jg-cgg7-j4wc
BIT-kafka-2026-33557

Related CVEs

  • CVE-2026-107726
    CRITICAL

    Hazelcast allows arbitrary member memory access by low-privileged client

  • CVE-2026-107282
    CRITICAL

    AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host

  • CVE-2026-35554
    HIGH

    Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition

  • CVE-2025-27818
    HIGH

    Apache Kafka Deserialization of Untrusted Data vulnerability

  • CVE-2025-27819
    HIGH

    Apache Kafka Deserialization of Untrusted Data vulnerability

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml