CVE-2026-33557 — Vulnerability in kafka-clients — CVE Details
Apache Kafka does not validate JWT tokens in its OAUTHBEARER authentication implementation
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.
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.
<!-- 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).
| Package | Fixed In |
|---|---|
| org.apache.kafka:kafka-clients Maven · Affected: 4.1.0, 4.1.1 | 4.1.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1285
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-33557ADVISORY
- https://github.com/apache/kafka/commit/01d8e7db8d08dbd538892b409457ea6bfcc2a422WEB
- https://github.com/apache/kafkaPACKAGE
- https://kafka.apache.org/cve-listWEB
- https://lists.apache.org/thread/v57o00hm6yszdpdnvqx2ss4561yh953hWEB
- https://www.openwall.com/lists/oss-security/2026/04/17/2WEB
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
Maximum impact if exploited, often with little effort or access required.
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
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2026-35554HIGH
Apache Kafka Clients: Kafka Producer Message Corruption and Misrouting via Buffer Pool Race Condition
- CVE-2025-27818HIGH
Apache Kafka Deserialization of Untrusted Data vulnerability
- CVE-2025-27819HIGH
Apache Kafka Deserialization of Untrusted Data vulnerability