kafka-python (pypi) has 2 known vulnerabilities, the worst rated HIGH. Upgrade to 2.3.2 or later to clear all of them. No malicious-package signal is recorded.
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker…
CyberXYZ does not call a package safe in absolute terms. It records 2 known vulnerabilities for kafka-python (pypi), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does kafka-python have known vulnerabilities?
Yes. CyberXYZ records 2 known vulnerabilities for kafka-python (pypi), the worst rated HIGH. They are GHSA-m3px-q5gj-j9x7, GHSA-2jcm-hq8r-84wx.
Which version of kafka-python should I use?
2.3.2 or later clears every advisory recorded for kafka-python (pypi). Check the release you pick before installing it.
How do I check kafka-python before installing?
Search kafka-python in CyberXYZ Check at https://cyberxyz.io/check?q=kafka-python. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 07:56 UTC. The most recent advisory here was published 2026-06-11. Updated continuously from NVD, GHSA, OSV and CNA feeds.