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

Most critical Apache Kafka vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2026-335579.1 Critical2026-04-20Critical security flawNo
2CVE-2025-278188.8 High2025-06-10Insecure deserializationNo
3CVE-2018-171968.8 High2019-07-11Security flawNo
4CVE-2026-355548.7 High2026-04-07Use after freeNo
5CVE-2025-278177.5 High2025-06-10Server-side request forgery (SSRF)No
6CVE-2025-278197.5 High2025-06-10Insecure deserializationNo
7CVE-2022-349177.5 High2022-09-20Allocation without limitsNo
8CVE-2019-123997.5 High2020-01-14Security flawNo
9CVE-2024-273097.4 High2024-04-12Incorrect authorizationNo
10CVE-2017-126106.8 Medium2018-07-26Improper authenticationNo

Each Apache Kafka CVE explained

1. CVE-2026-33557: Critical security flaw

  • CVSS 9.1 Critical
  • Published 2026-04-20
  • CWE-1285
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)

NVD record for CVE-2026-33557 (opens in a new tab)

2. CVE-2025-27818: Insecure deserialization

  • CVSS 8.8 High
  • Published 2025-06-10
  • CWE-502
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)

NVD record for CVE-2025-27818 (opens in a new tab)

3. CVE-2018-17196: Security flaw

  • CVSS 8.8 High
  • Published 2019-07-11
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.

NVD record for CVE-2018-17196 (opens in a new tab)

4. CVE-2026-35554: Use after free

  • CVSS 8.7 High
  • Published 2026-04-07
  • CWE-362
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)

NVD record for CVE-2026-35554 (opens in a new tab)

5. CVE-2025-27817: Server-side request forgery (SSRF)

  • CVSS 7.5 High
  • Published 2025-06-10
  • CWE-918
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)

NVD record for CVE-2025-27817 (opens in a new tab)

6. CVE-2025-27819: Insecure deserialization

  • CVSS 7.5 High
  • Published 2025-06-10
  • CWE-502
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).

NVD record for CVE-2025-27819 (opens in a new tab)

7. CVE-2022-34917: Allocation without limits

  • CVSS 7.5 High
  • Published 2022-09-20
  • CWE-789
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)

NVD record for CVE-2022-34917 (opens in a new tab)

8. CVE-2019-12399: Security flaw

  • CVSS 7.5 High
  • Published 2020-01-14
  • CWE-319
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).

NVD record for CVE-2019-12399 (opens in a new tab)

9. CVE-2024-27309: Incorrect authorization

  • CVSS 7.4 High
  • Published 2024-04-12
  • CWE-863
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).

NVD record for CVE-2024-27309 (opens in a new tab)

10. CVE-2017-12610: Improper authentication

  • CVSS 6.8 Medium
  • Published 2018-07-26
  • CWE-287
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.

NVD record for CVE-2017-12610 (opens in a new tab)

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.

Apache Kafka release support (source: endoflife.date, checked Nov 3, 2026)
ReleaseReleasedEnd of lifeLatestStatus
Apache Kafka 4.4Oct 13, 2026Not announced4.4.0Supported
Apache Kafka 4.3May 20, 2026Not announced4.3.2Supported
Apache Kafka 4.2Feb 17, 2026Not announced4.2.2Supported
Apache Kafka 4.1Sep 2, 2025Not announced4.1.2Supported
Apache Kafka 4.0Mar 18, 2025Not announced4.0.2Supported
Apache Kafka 3.9Nov 6, 2024Not announced3.9.2Supported
Apache Kafka 3.8Jul 26, 2024Nov 6, 20243.8.1End of life
Apache Kafka 3.7Feb 26, 2024Jul 26, 20243.7.2End 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

  1. Bind the service to a private network and require authentication.
  2. Use TLS between clients and brokers.
  3. Restrict management consoles to administrators.
  4. Apply security releases after testing.
  5. 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.

Few stacks run Apache Kafka alone. These guides cover the technologies it is most often deployed with.

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

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.