CVE-2026-33557: Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication
Vulnerability summary
CVE-2026-33557 is a critical (CVSS 9.1) vulnerability in apache software foundation apache kafka. EPSS estimates a 0.89% chance of exploitation in the next 30 days, higher than 60.5% of scored vulnerabilities.
Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 20-04-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
A possible 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. We advise the 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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:LDiffers
- OSV · WolfiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- OSV · MavenEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- NVDNIST9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.89%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-1285Improper Validation of Specified Index, Position, or Offset in InputThe product receives input that is expected to specify an index, position, or offset into an indexable resource such as a buffer or file, but it does not validate or incorrectly validates that the specified index/position/offset has the required properties.
- CWE-303Incorrect Implementation of Authentication AlgorithmThe requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard10 products
- apache-nifi< 2.8.0-r7
- debezium-3.5-connector-jdbc< 3.5.0-r3
- debezium-3.5-connector-mariadb< 3.5.0-r3
- debezium-3.5-connector-mongodb< 3.5.0-r3
- debezium-3.5-connector-mysql< 3.5.0-r3
Wolfi10 products
- apache-nifi< 2.8.0-r7
- debezium-3.5-connector-jdbc< 3.5.0-r3
- debezium-3.5-connector-mariadb< 3.5.0-r3
- debezium-3.5-connector-mongodb< 3.5.0-r3
- debezium-3.5-connector-mysql< 3.5.0-r3
Apache1 product
- kafka≥ 4.1.0, < 4.1.2
Apache software foundation1 product
- apache kafka≥ 4.1.0, ≤ 4.1.1
Org.apache.kafka1 product
- kafka-clients≥ 4.1.0, < 4.1.2
Ubuntu1 product
- kafkaAll versions (No fix recorded)
6 vendors · 24 products
References
12 links- lists.apache.org/thread/v57o00hm6yszdpdnvqx2ss4561yh953hMailing ListARTICLEWEBMitigationVendor Advisory
Show all 12 references
- github.com/apache/kafkaPACKAGE