CVE-2026-33557 Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
20 packages: 3 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat amq streams | = 2; All versions | No fix listed | No fix yet |
| redhat debezium | = 2; All versions | No fix listed | No fix yet |
| redhat jbosseapxp | All versions | No fix listed | No fix yet |
| redhat/connect-api(Red Hat amq_streams 3) | All versions | No fix listed | No fix yet |
| redhat/connect-api(Red Hat debezium 3) | All versions | No fix listed | No fix yet |
| redhat/kafka-clients(Red Hat amq_streams 3) | All versions | No fix listed | No fix yet |
| Apache Kafka | >= 4.1.0, <= 4.1.1 | after 4.1.1 | Fixed |
| apache kafka | >= 4.1.0, < 4.1.2 | 4.1.2 | Fixed |
| org.apache.kafka/kafka-clients(Maven) | = 4.1.0; = 4.1.1; >= 4.1.0, < 4.1.2 | 4.1.2 | Fixed |
| redhat apicurio registry | = 3 | No fix listed | Versions listed |
| redhat camel quarkus | = 3 | No fix listed | Versions listed |
| redhat camel spring boot | = 4 | No fix listed | Versions listed |
| redhat enterprise linux | = 8; = 9 | No fix listed | Versions listed |
| redhat jboss data grid | = 8 | No fix listed | Versions listed |
| redhat jboss enterprise application platform | = 7; = 8 | No fix listed | Versions listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed | Versions listed |
| redhat jboss fuse | = 7 | No fix listed | Versions listed |
| redhat quarkus | = 3 | No fix listed | Versions listed |
| redhat serverless | = 1 | No fix listed | Versions listed |
| redhat service registry | = 2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.kafka/kafka-clients(Maven) | >= 4.1.0, < 4.1.2 | 4.1.2 |
| org.apache.kafka/kafka-clients(Maven) | = 4.1.0 | No fix listed |
| org.apache.kafka/kafka-clients(Maven) | = 4.1.1 | No fix listed |
| Apache Kafka | >= 4.1.0, <= 4.1.1 | No fix listed |
| redhat serverless | = 1 | No fix listed |
| redhat camel quarkus | = 3 | No fix listed |
| redhat camel spring boot | = 4 | No fix listed |
| redhat service registry | = 2 | No fix listed |
| redhat apicurio registry | = 3 | No fix listed |
| redhat debezium | = 2 | No fix listed |
| redhat debezium | All versions | No fix listed |
| redhat quarkus | = 3 | No fix listed |
| redhat jboss data grid | = 8 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat jboss fuse | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 7 | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat jboss enterprise bpms platform | = 7 | No fix listed |
| redhat amq streams | = 2 | No fix listed |
| redhat amq streams | All versions | No fix listed |
| redhat/connect-api(Red Hat:debezium:3) | All versions | No fix listed |
| redhat/connect-api(Red Hat:amq_streams:3) | All versions | No fix listed |
| redhat/kafka-clients(Red Hat:amq_streams:3) | All versions | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| apache kafka | >= 4.1.0, < 4.1.2 | 4.1.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- kafka.apache.org vendor-advisory
- lists.apache.org mailing-list mitigation vendor-advisory
- www.openwall.com mailing-list
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2459739 issue-tracking
- security.access.redhat.com
- github.com
- www.cve.org