VulnarioBlogApache Kafka vulnerabilities
Apache Kafka Vulnerabilities: The 10 Most Critical Apache Kafka Security Bugs (CVEs)
Apache Kafka vulnerabilities are security flaws in Apache Kafka that attackers can abuse to steal data, take over a server or interrupt a service. Apache Kafka is a distributed event streaming platform. The National Vulnerability Database (NVD) lists 17 CVEs for Apache Kafka, 1 of them rated critical, and 4 were published in the last 12 months. None of them is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog for the product entries we checked.
This guide lists the 10 most critical Apache Kafka security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Apache Kafka security basics, the current end-of-life dates and a free way to be told about the next Apache Kafka CVE as soon as it is published.
Key takeaways
- No Apache Kafka CVE is currently in CISA's KEV catalog for the entries we checked, but critical flaws still get exploited quickly once details are public.
- 1 Apache Kafka CVE is rated critical (CVSS v3), and 4 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2026-33557, published Apr 20, 2026.
- Supported Apache Kafka releases today (per endoflife.date): 4.4, 4.3, 4.2, 4.1, 4.0, 3.9. Releases not on the list are past their announced end of life.
- You can monitor Apache Kafka for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Apache Kafka CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Apache Kafka CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2026-33557 | 9.1 Critical | 2026-04-20 | Critical security flaw | No |
| 2 | CVE-2025-27818 | 8.8 High | 2025-06-10 | Insecure deserialization | No |
| 3 | CVE-2018-17196 | 8.8 High | 2019-07-11 | Security flaw | No |
| 4 | CVE-2026-35554 | 8.7 High | 2026-04-07 | Use after free | No |
| 5 | CVE-2025-27817 | 7.5 High | 2025-06-10 | Server-side request forgery (SSRF) | No |
| 6 | CVE-2025-27819 | 7.5 High | 2025-06-10 | Insecure deserialization | No |
| 7 | CVE-2022-34917 | 7.5 High | 2022-09-20 | Allocation without limits | No |
| 8 | CVE-2019-12399 | 7.5 High | 2020-01-14 | Security flaw | No |
| 9 | CVE-2024-27309 | 7.4 High | 2024-04-12 | Incorrect authorization | No |
| 10 | CVE-2017-12610 | 6.8 Medium | 2018-07-26 | Improper authentication | No |
Each Apache Kafka CVE explained
1. CVE-2026-33557: Critical security flaw
- What NVD says
- 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.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 4.1.0 to before 4.1.2
- What to do
- Upgrade to 4.1.2 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
2. CVE-2025-27818: Insecure deserialization
- What NVD says
- A possible security vulnerability has been identified in Apache Kafka. This requires access to a alterConfig to the cluster resource, or Kafka Connect worker, and the ability to create/modify connectors on it with an arbitrary Kafka client SASL JAAS config and a SASL-based security protocol, which has been possible on Kafka clusters since Apache Kafka 2.0.0 (Kafka Connect 2.3.0).
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 2.3.0 to before 3.9.1
- What to do
- Upgrade to 3.9.1 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2018-17196: Security flaw
- What NVD says
- In Apache Kafka versions between 0.11.0.0 and 2.1.0, it is possible to manually craft a Produce request which bypasses transaction/idempotent ACL validation. Only authenticated clients with Write permission on the respective topics are able to exploit this vulnerability. Users should upgrade to 2.1.1 or later where this vulnerability has been fixed.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 0.11.0.0 through 2.1.0
- What to do
- Apply the vendor's security update for your release and restart the service.
4. CVE-2026-35554: Use after free
- What NVD says
- A race condition in the Apache Kafka Java producer client’s buffer pool management can cause messages to be silently delivered to incorrect topics. When a produce batch expires due to delivery.timeout.ms while a network request containing that batch is still in flight, the batch’s ByteBuffer is prematurely deallocated and returned to the buffer pool.
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 2.8.0 to before 3.9.2; 4.0.0 to before 4.0.2; 4.1.0 to before 4.1.2
- What to do
- Upgrade to the fixed release for your branch (3.9.2, 4.0.2, 4.1.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2025-27817: Server-side request forgery (SSRF)
- What NVD says
- A possible arbitrary file read and SSRF vulnerability has been identified in Apache Kafka Client. Apache Kafka Clients accept configuration data for setting the SASL/OAUTHBEARER connection with the brokers, including "sasl.oauthbearer.token.endpoint.url" and "sasl.oauthbearer.jwks.endpoint.url".
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 3.1.0 to before 3.9.1
- What to do
- Upgrade to 3.9.1 or a later release, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
6. CVE-2025-27819: Insecure deserialization
- What NVD says
- In CVE-2023-25194, we announced the RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration in Kafka Connect API. But not only Kafka Connect API is vulnerable to this attack, the Apache Kafka brokers also have this vulnerability. To exploit this vulnerability, the attacker needs to be able to connect to the Kafka cluster and have the AlterConfigs permission on the cluster resource.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 2.0.0 through 3.3.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
7. CVE-2022-34917: Allocation without limits
- What NVD says
- A security vulnerability has been identified in Apache Kafka. It affects all releases since 2.8.0. The vulnerability allows malicious unauthenticated clients to allocate large amounts of memory on brokers. This can lead to brokers hitting OutOfMemoryException and causing denial of service.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on availability.
- Affected versions
- 2.8.0 to before 2.8.2; 3.0.0 to before 3.0.2; 3.1.0 to before 3.1.2; 3.2.0 to before 3.2.3
- What to do
- Upgrade to the fixed release for your branch (2.8.2, 3.0.2, 3.1.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2019-12399: Security flaw
- What NVD says
- When Connect workers in Apache Kafka 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, or 2.3.0 are configured with one or more config providers, and a connector is created/updated on that Connect cluster to use an externalized secret variable in a substring of a connector configuration property value, then any client can issue a request to the same Connect cluster to obtain the connector's task configuration and the…
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality.
- Affected versions
- 2.0.0; 2.0.1; 2.1.0; 2.1.1
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
9. CVE-2024-27309: Incorrect authorization
- What NVD says
- While an Apache Kafka cluster is being migrated from ZooKeeper mode to KRaft mode, in some cases ACLs will not be correctly enforced. Two preconditions are needed to trigger the bug: 1. The administrator decides to remove an ACL 2. The resource associated with the removed ACL continues to have two or more other ACLs associated with it after the removal.
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 3.5.0 through 3.6.1
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
10. CVE-2017-12610: Improper authentication
- What NVD says
- In Apache Kafka 0.10.0.0 to 0.10.2.1 and 0.11.0.0 to 0.11.0.1, authenticated Kafka clients may use impersonation via a manually crafted protocol message with SASL/PLAIN or SASL/SCRAM authentication when using the built-in PLAIN or SCRAM server implementations in Apache Kafka.
- How it can be attacked
- Can be exploited remotely over the network with high attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality and integrity.
- Affected versions
- 0.10.0.0 through 0.10.2.1; 0.11.0.0 through 0.11.0.1
- What to do
- Apply the vendor's security update for your release and restart the service.
Apache Kafka end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Apache Kafka vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Apache Kafka releases are 4.4, 4.3, 4.2, 4.1, 4.0, 3.9.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Apache Kafka 4.4 | Oct 13, 2026 | Not announced | 4.4.0 | Supported |
| Apache Kafka 4.3 | May 20, 2026 | Not announced | 4.3.2 | Supported |
| Apache Kafka 4.2 | Feb 17, 2026 | Not announced | 4.2.2 | Supported |
| Apache Kafka 4.1 | Sep 2, 2025 | Not announced | 4.1.2 | Supported |
| Apache Kafka 4.0 | Mar 18, 2025 | Not announced | 4.0.2 | Supported |
| Apache Kafka 3.9 | Nov 6, 2024 | Not announced | 3.9.2 | Supported |
| Apache Kafka 3.8 | Jul 26, 2024 | Nov 6, 2024 | 3.8.1 | End of life |
| Apache Kafka 3.7 | Feb 26, 2024 | Jul 26, 2024 | 3.7.2 | End of life |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
Apache Kafka security checklist
- Bind the service to a private network and require authentication.
- Use TLS between clients and brokers.
- Restrict management consoles to administrators.
- Apply security releases after testing.
- Monitor for unusual connections and queue growth.
Your stack is bigger than Apache Kafka. A flaw anywhere in the chain can be the way in, so also review our guides to Java vulnerabilities, RabbitMQ vulnerabilities and Elasticsearch vulnerabilities.
How to get alerted about new Apache Kafka vulnerabilities
NVD received 4 new Apache Kafka CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Apache Kafka and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Apache Kafka alone. These guides cover the technologies it is most often deployed with.
- Java vulnerabilities: Java is the language and runtime behind a large share of enterprise software.
- RabbitMQ vulnerabilities: RabbitMQ is a widely used open-source message broker.
- Elasticsearch vulnerabilities: Elasticsearch is a distributed search and analytics engine.
- Apache Cassandra vulnerabilities: Apache Cassandra is a distributed NoSQL database built for scale and availability.
Frequently asked questions about Apache Kafka vulnerabilities
What are the most critical Apache Kafka vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Apache Kafka CVEs include CVE-2026-33557 (CVSS 9.1), CVE-2025-27818 (CVSS 8.8), CVE-2018-17196 (CVSS 8.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have Apache Kafka vulnerabilities been exploited in real attacks?
For the Apache Kafka product entries we checked, none of the CVEs is currently listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. A CVE can still be exploited before it is added, so keep Apache Kafka patched.
How many vulnerabilities does Apache Kafka have?
As of Nov 3, 2026 the National Vulnerability Database lists 17 CVEs for Apache Kafka, with 1 rated critical by CVSS v3. 4 were published in the previous twelve months.
Which Apache Kafka versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Apache Kafka releases as supported: 4.4, 4.3, 4.2, 4.1, 4.0, 3.9. Releases that are not listed are past their announced end of life.
How can I get alerted when a new Apache Kafka CVE is published?
Add Apache Kafka to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Apache Kafka and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Apache Kafka secure?
Apache Kafka is as secure as its patch level. NVD published 4 new Apache Kafka CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2026-33557?
CVE-2026-33557 is a critical Apache Kafka vulnerability with a CVSS score of 9.1, published Apr 20, 2026. 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.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Apache Kafka (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.