{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-33557","id":"CVE-2026-33557","title":"Apache Kafka: Missing JWT token validation in OAUTHBEARER authentication","description":"A possible security vulnerability has been identified in Apache Kafka.\n\nBy 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,","descriptionLong":"A possible security vulnerability has been identified in Apache Kafka.\n\nBy 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.\n\nWe 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.","published":"2026-04-20T13:28:43.669Z","updated":"2026-10-28T02:30:27.270900661Z","reserved":"2026-03-23T03:14:53.527Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},"metrics":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"high","products":["Apache Software Foundation Apache Kafka"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Kafka","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"4.1.1","status":"affected","version":"4.1.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.kafka:kafka-clients","purl":"pkg:maven/org.apache.kafka/kafka-clients","ranges":[">=4.1.0 <4.1.2"],"fixed":["4.1.2"],"advisory":"GHSA-28jg-cgg7-j4wc"}],"cwes":["CWE-1285","CWE-303"],"aliases":["BIT-kafka-2026-33557","GHSA-28jg-cgg7-j4wc"],"references":[{"url":"https://kafka.apache.org/cve-list","tags":["vendor-advisory","Vendor Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread/v57o00hm6yszdpdnvqx2ss4561yh953h","tags":["mailing-list","Mitigation","Vendor Advisory","article","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/17/2","tags":["Mailing List","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33557","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2459739","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33557.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33557.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33557","tags":["advisory"]},{"url":"https://github.com/apache/kafka/commit/01d8e7db8d08dbd538892b409457ea6bfcc2a422","tags":["web"]},{"url":"https://github.com/apache/kafka","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00913,"epssPercentile":0.60762,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-33557","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33557","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-33557","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-28jg-cgg7-j4wc","ok":true,"note":"GHSA-28jg-cgg7-j4wc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33557","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}