CVE-2025-62728: apache software foundation apache hive SQL Injection
Vulnerability summary
CVE-2025-62728 is a medium (CVSS 5.4) SQL Injection vulnerability in apache software foundation apache hive. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 32% of scored vulnerabilities.
Timeline
- 26-11-2025PublishedVulnerability first disclosed.
- 01-12-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 2 versions- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
0.00 pp
From 0.39% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.apache.hive2 products
- hive-common≥ 4.1.0, < 4.2.0
- hive-metastore≥ 4.1.0, < 4.2.0
Apache1 product
- hive4.1.0
Apache software foundation1 product
- apache hive≥ 4.1.0, < 4.2.0
3 vendors · 4 products
References
6 links- github.com/apache/hivePACKAGE