# CVE-2026-33557: Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 61% of CVEs (2026-11-30)
- Published: 2026-04-20T13:28:43.669Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-28jg-cgg7-j4wc, BIT-KAFKA-2026-33557
- Weaknesses: CWE-303, CWE-1285
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Kafka: from 4.1.0 up to 4.1.1
- openshift-serverless-1/kn-ekb-dispatcher-rhel9: no versions given
- openshift-serverless-1/kn-ekb-receiver-rhel9: no versions given
- kafka-clients: no versions given
- connect-api: no versions given
- log4j:2/log4j: no versions given
- log4j: no versions given
- org.apache.kafka:kafka-clients (Maven): from 4.1.0 before 4.1.2
- apache kafka: from 4.1.0 before 4.1.2
- kafka (Bitnami): from 4.1.0 before 4.1.2

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- redhat-SADP: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://kafka.apache.org/cve-list> (advisory, vendor-advisory, web)
- <https://lists.apache.org/thread/v57o00hm6yszdpdnvqx2ss4561yh953h> (advisory, mailing-list, mitigation, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/04/17/2> (discussion, mailing-list, web)
- <https://access.redhat.com/security/cve/CVE-2026-33557> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2459739> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33557.json> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33557> (advisory, web)
- <https://github.com/apache/kafka/commit/01d8e7db8d08dbd538892b409457ea6bfcc2a422> (web)
- <https://github.com/apache/kafka> (package)

## Sources

- CVE List: [CVE-2026-33557](https://www.cve.org/CVERecord?id=CVE-2026-33557), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-28jg-cgg7-j4wc](https://github.com/advisories/GHSA-28jg-cgg7-j4wc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-33557](https://nvd.nist.gov/vuln/detail/CVE-2026-33557), Public domain, modified 2026-10-26
- Bitnami Vulnerability Database: [BIT-KAFKA-2026-33557](https://osv.dev/vulnerability/BIT-KAFKA-2026-33557), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-33557 · Whole record: https://cve.day/CVE-2026-33557.json · Rebuilt by cve.day 2026-11-25T22:59:19.035Z
