Critical Malicious Code Vulnerability in Confluent-Kafka Package

confluent-kafka Updated 10 Dec 2025

Summary

10/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192405: Malicious code in confluent-kafka (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Confluent-Kafka is an npm package that provides a client for Apache Kafka, enabling developers to produce and consume messages in a distributed system. It is widely used for building real-time data pipelines and streaming applications. However, the package has been compromised, leading to significant security concerns for users who have it installed.

Vulnerability Detail

The vulnerability originates from the presence of malicious code within the Confluent-Kafka package. Any system with this package installed is considered fully compromised, as it may allow unauthorized access to sensitive information, including secrets and keys. The malicious code can lead to severe ramifications, including data breaches and loss of control over the affected systems. Users are advised to treat any system running this package as potentially compromised.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall confluent-kafka

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users should uninstall the Confluent-Kafka package using the following command: npm uninstall confluent-kafka. However, be aware that simply removing the package may not eliminate all traces of the malicious software that may have been installed.

Conclusion

The Confluent-Kafka package has been compromised with malicious code, posing serious security risks to users. Immediate action is required to uninstall the package and secure any sensitive information. Stay vigilant and monitor for updates regarding a patched version.

See every vulnerability recorded for confluent-kafka →

Share this vulnerability

FAQ

Immediately uninstall the package and rotate any sensitive information stored on the affected system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.

Currently, there is no patch available. Users are advised to uninstall the package until a secure version is released.

Leaving the package installed poses significant risks, including unauthorized access to sensitive data and potential control over your system by malicious actors.

Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights without requiring access to the code.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall confluent-kafka

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback