CVE-2025-49127 Kafbat UI vulnerable to Remote Code Execution by JMX in Metrices Configuration
Unauthenticated attackers can execute arbitrary code on Kafbat UI servers via unsafe deserialization in JMX metrics configuration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-49127?
CVE-2025-49127 is a high-severity unsafe deserialization vulnerability in kafbat kafka-ui, published on 6 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Kafbat UI is a web user interface for managing Apache Kafka clusters. An unsafe deserialization vulnerability in version 1.0.0 allows any unauthenticated user to execute arbitrary code on the server. Version 1.1.0 fixes the issue.
Weakness: CWE-502
Which versions are affected by CVE-2025-49127?
How do I fix CVE-2025-49127?
No fix has been published for CVE-2025-49127 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-49127 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49127 exists.
Sources
Also known as GHSA-g3mf-c374-fgh2.