CVE-2025-62728
CVE-2025-62728 is a medium-severity vulnerability in Apache Hive with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 5.4)
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-199715
- Weakness: CWE-89
- Affected product: Apache Hive
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-62728?
- 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.
- How severe is CVE-2025-62728?
- CVE-2025-62728 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-62728 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-62728?
- CVE-2025-62728 affects Apache Hive. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-62728?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-62728 have an EU (EUVD) identifier?
- Yes. CVE-2025-62728 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-199715.
- When was CVE-2025-62728 published?
- CVE-2025-62728 was published on 2025-11-26 and last updated on 2026-06-17.
References
- https://lists.apache.org/thread/yj65dd8dmzgy8p3nv8zy33v8knzg9o7g
- http://www.openwall.com/lists/oss-security/2025/11/26/3
Affected products (1)
- cpe:2.3:a:apache:hive:4.1.0:*:*:*:*:*:*:*
More vulnerabilities in Apache Hive
- CVE-2026-49845 — Critical (CVSS 9.8): SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platforms…
- CVE-2018-21234 — Critical (CVSS 9.8): Jodd before 5.0.4 performs Deserialization of Untrusted JSON Data when setClassMetadataName is set.
- CVE-2026-55976 — Critical (CVSS 9.1): Server-Side Request Forgery (SSRF) in Avro SerDe schema resolution in Apache Hive before 4.2.1 allows an authenticated…
- CVE-2018-1282 — Critical (CVSS 9.1): This vulnerability in Apache Hive JDBC driver 0.7.1 to 2.3.2 allows carefully crafted arguments to be used to bypass…
- CVE-2022-41137 — High (CVSS 8.3): Apache Hive Metastore (HMS) uses SerializationUtilities#deserializeObjectWithTypeInformation method when filtering…
- CVE-2015-7521 — High (CVSS 8.3): The authorization framework in Apache Hive 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0 and 1.2.1, on clusters protected by Ranger…
All CVEs affecting Apache Hive →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-124815 — Critical (CVSS 10.0): The Clockinator Lite WordPress plugin before 1.1.0 does not restrict access to several of its record deletion actions,…
- CVE-2026-105781 — Critical (CVSS 10.0): Adobe Campaign Classic (ACC) is affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL…
- CVE-2026-79849 — Critical (CVSS 10.0): Vulnerabilities in the affected interface of AOS-8 could allow an unauthenticated remote attacker to conduct SQL…
- CVE-2026-79848 — Critical (CVSS 10.0): Vulnerabilities in the affected interface of AOS-8 could allow an unauthenticated remote attacker to conduct SQL…
- CVE-2026-55572 — Critical (CVSS 10.0): e107 is a content management system (CMS). Prior to 2.3.7, the bundled alt_auth plugin's otherdb and e107db…
- CVE-2026-12260 — Critical (CVSS 10.0): SQL injection in the NetBoard CRM demo platform; specifically, the vulnerable component is the ‘user-name’ POST…