CVE-2025-62728 Details
Description
SQL injection vulnerability in Hive Metastore Server (HMS) when processing delete column statistics requests via the Thrift APIs. The vulnerability is only exploitable by trusted/authorized users/applications that are allowed to call directly the Thrift APIs. In most real-world deployments, HMS is accessible to only a handful of applications (e.g., Hiveserver2) thus the vulnerability is not exploitable. Moreover, the vulnerable code cannot be reached when metastore.try.direct.sql property is set to false. This issue affects Apache Hive: from 4.1.0 before 4.2.0. Users are recommended to upgrade to version 4.2.0, which fixes the issue. Users who cannot upgrade directly are encouraged to set metastore.try.direct.sql property to false if the HMS Thrift APIs are exposed to general public.
A SQL injection vulnerability has been identified in the Hive Metastore Server (HMS) versions 4.1.0 prior to 4.2.0. This vulnerability arises when HMS processes delete column statistics requests through the Thrift APIs. It can only be exploited by trusted or authorized users and applications that are permitted to directly call the Thrift APIs. In most real-world scenarios, HMS is only accessible to a limited number of applications, such as Hiveserver2, making this vulnerability generally non-exploitable. Additionally, the vulnerable code is not reached if the 'metastore.try.direct.sql' property is set to false.
Users are advised to upgrade to Apache Hive version 4.2.0, which addresses this vulnerability. For those unable to upgrade, it is recommended to set the 'metastore.try.direct.sql' property to false if the HMS Thrift APIs are exposed to the public.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/11/26/3 | CVE | Mailing ListThird Party Advisory |
| https://lists.apache.org/thread/yj65dd8dmzgy8p3nv8zy33v8knzg9o7g | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache hive | 4.1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Dec 1, 2025 | CVE Modified | CISA-ADP |
| Nov 27, 2025 | CVE Modified | CVE |
| Nov 26, 2025 | New CVE Received | [email protected] |