SQL Injection Vulnerability in Apache Hive Metastore Server
CVE-2025-62728
Key facts: CVE-2025-62728 is a medium severity (CVSS 5.4) vulnerability in Apache Hive. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.7%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Hive 4.2.0.
What is CVE-2025-62728?
A SQL injection vulnerability exists in the Hive Metastore Server (HMS) when handling delete column statistics requests via Thrift APIs. This issue requires exploitation by trusted or authorized users, as direct access to Thrift APIs is typically restricted to specific applications like Hiveserver2. In most deployments, the HMS is protected from misuse due to limited access controls. However, users are advised to upgrade to version 4.2.0 to patch this security flaw. For those unable to update, setting the metastore.try.direct.sql property to false can mitigate potential exposure if the HMS Thrift APIs are accessible externally.
Affected Version(s)
Apache Hive 4.1.0 < 4.2.0
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint