Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication

Summary

CVECVE-2026-33557
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-20 14:16:18 UTC
Updated2026-06-30 03:18:41 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 9.1 CRITICAL from ADP

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

EPSS: 0.005810000 probability, percentile 0.434740000 (date 2026-07-02)

Problem Types: CWE-1285 | CWE-303 | CWE-1285 CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input | CWE-303 Incorrect Implementation of Authentication Algorithm


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.1ADPCVSS8.6HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary8.6HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

CVSS v3.1 Breakdown

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Kafka All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Kafka affected 4.1.0 4.1.1 semver Not specified
ADP Red Hat Red Hat Build Of Debezium 3 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 3 Not specified Not specified
ADP Red Hat OpenShift Serverless Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel 4 For Quarkus 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Apache Camel For Spring Boot 4 Not specified Not specified
ADP Red Hat Red Hat Build Of Apicurio Registry 2 Not specified Not specified
ADP Red Hat Red Hat Build Of Apicurio Registry 3 Not specified Not specified
ADP Red Hat Red Hat Build Of Debezium 2 Not specified Not specified
ADP Red Hat Red Hat Build Of Quarkus Not specified Not specified
ADP Red Hat Red Hat Data Grid 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 8 Not specified Not specified
ADP Red Hat Red Hat Enterprise Linux 9 Not specified Not specified
ADP Red Hat Red Hat Fuse 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 7 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified
ADP Red Hat Red Hat JBoss Enterprise Application Platform Expansion Pack Not specified Not specified
ADP Red Hat Red Hat Process Automation 7 Not specified Not specified
ADP Red Hat Streams For Apache Kafka 2 Not specified Not specified

References

ReferenceSourceLinkTags
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33557.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/security/cve/CVE-2026-33557 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
lists.apache.org/thread/v57o00hm6yszdpdnvqx2ss4561yh953h [email protected] lists.apache.org Mitigation, Vendor Advisory
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
kafka.apache.org/cve-list [email protected] kafka.apache.org Vendor Advisory
www.openwall.com/lists/oss-security/2026/04/17/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Павел Романов <[email protected]> (en)

Additional Advisory Data

SourceTimeEvent
ADP2026-04-20T14:01:07.601ZReported to Red Hat.
ADP2026-04-20T13:28:43.669ZMade public.
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report