Skip to main content

Apache CVE-2025-49127

| EUVDEUVD-2025-17363 HIGH
Deserialization of Untrusted Data (CWE-502)
2025-06-06 security-advisories@github.com
8.9
CVSS 4.0 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability represents CRITICAL real-world risk across multiple assessment frameworks. CVSS v4.0 score of 8.9 reflects high severity with maximum impact on confidentiality (VC:H), integrity (VI:H), and availability (VA:H). The attack vector is Network (AV:N), attack complexity is Low (AC:L), and crucially, no authentication (PR:N) or user interaction (UI:N) is required—attackers can exploit this automatically. The CVSS vector notation (E:P) indicates proof-of-concept code likely exists or is easily developed. From an SSVC perspective: exploitation is straightforward (unsafe deserialization is well-understood with public gadget chains like ysoserial), the attack is highly automatable (no user interaction required), and technical impact is complete system compromise (arbitrary code execution). The lack of access restrictions (Scope:N, but full system compromise) and the pre-authentication nature make this a tier-1 priority. Any organization running Kafbat UI 1.0.0 should treat this as imminent threat requiring emergency patching.

Exploit ScenarioDerived

An unauthenticated attacker on the internet identifies a Kafbat UI 1.0.0 instance via banner grabbing or service discovery. The attacker crafts a malicious serialized Java object using ysoserial or similar gadget chain tool, targeting common libraries likely present in Kafbat's classpath (e.g., commons-beanutils, commons-collections). The attacker sends a POST request to a vulnerable API endpoint (likely /api/* or similar) with Content-Type: application/x-java-serialized-object or within a JSON field containing base64-encoded serialized data. The Kafbat application automatically deserializes the object without validation, triggering gadget chain execution. The attacker achieves remote code execution with the privileges of the Kafbat application process (often root or kafka service account in containerized environments), gaining full control of the Kafka cluster and underlying infrastructure. Subsequent actions may include data exfiltration, cluster shutdown, or lateral movement to other systems. Attack can be automated and weaponized into mass-scanning botnets targeting exposed Kafbat instances.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Kafbat UI version 1.0.0 contains an unsafe deserialization vulnerability (CWE-502) that allows unauthenticated remote attackers to execute arbitrary code on affected servers with no user interaction required. This is a critical pre-authentication RCE affecting Kafka cluster management infrastructure. The vulnerability has a CVSS score of 8.9 with high impact across confidentiality, integrity, and availability; patch is available in version 1.1.0.

RemediationAI

Upgrade immediately to Kafbat UI version 1.1.0 or later; priority: CRITICAL; timeline: Within 24 hours for internet-facing deployments Workaround - Network Segmentation: Restrict network access to Kafbat UI to trusted networks only; implement firewall rules limiting access to the UI port (typically 8080 or 8443) from known administration networks only; priority: HIGH; effectiveness: Reduces attack surface but does not fix the underlying vulnerability Workaround - WAF/IDS Rules: Deploy Web Application Firewall rules to detect and block serialized Java object payloads in HTTP requests (look for base64-encoded Java serialization magic bytes: aced0005); priority: HIGH; effectiveness: May block some exploit attempts but can be bypassed with encoding/obfuscation Monitoring: Enable request logging and monitor for POST/PUT requests containing binary payloads or base64 strings to API endpoints; alert on error logs mentioning deserialization exceptions; priority: MEDIUM Vendor Advisory: Check Kafbat project GitHub releases page (https://github.com/kafbat/ui/releases) for version 1.1.0 release notes and patched binaries; priority: CRITICAL

Affected VersionsENISA

kafka-ui = 1.0.0

Affected Packages

euvd kafka_ui no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability stems from unsafe Java deserialization practices in Kafbat UI's network communication layer. CWE-502 (Deserialization of Untrusted Data) occurs when the application deserializes serialized objects from untrusted sources without proper validation, enabling attackers to instantiate arbitrary classes and trigger code execution through gadget chains. Kafbat UI is a web-based management interface built on top of Apache Kafka client libraries; the unsafe deserialization likely occurs in REST API endpoints or message handling routines that accept serialized Java objects. The Network Attack Vector (AV:N) indicates this is exploitable over the network without physical access, and the Privileges Required: None (PR:N) confirms unauthenticated access is sufficient. CPE for affected product: cpe:2.3:a:kafbat:kafbat-ui:1.0.0:*:*:*:*:*:*:*

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.9 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

CVE-2025-49127 is a critical remote code execution vulnerability affecting Kafbat UI 1.0.0 that allows unauthenticated attackers to compromise Kafka cluster management infrastructure. Any organization running this version faces immediate risk of unauthorized access to sensitive data, cluster manipulation, and potential lateral movement into dependent systems.

Business Impact: Severe
Compensating Controls

Until upgrade is feasible: (1) Implement network segmentation—restrict Kafbat UI access to internal networks only via firewall ACLs; (2) Deploy reverse proxy/WAF with authentication enforcement and request filtering for deserialization payloads; (3) Disable public-facing Kafbat UI exposure immediately; (4) Monitor logs for exploitation attempts (unusual process spawning, network connections from UI service); (5) Run Kafbat UI with minimal OS privileges and in isolated containers; (6) Consider temporarily disabling Kafbat UI if business continuity allows, managing Kafka via CLI or alternative authenticated tools.

Threat Intelligence Overview

EPSS Score
1.0%
Top 24% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy