{"cve":"CVE-2025-62728","nvd":{"published":"2025-11-26T09:15:46.293","modified":"2026-06-17T09:52:20.590","status":"Analyzed","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.\n\nThis issue affects Apache Hive: from 4.1.0 before 4.2.0.\n\nUsers 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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-89"],"references":["https://lists.apache.org/thread/yj65dd8dmzgy8p3nv8zy33v8knzg9o7g","http://www.openwall.com/lists/oss-security/2025/11/26/3"],"products":["apache:hive"],"source":"nvd","synced_at":"2026-10-19T22:16:02.354564667+00:00"},"epss":{"cve":"CVE-2025-62728","score":0.00423,"percentile":0.36608,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-932v-x9x2-vq29","url":"https://osv.dev/vulnerability/GHSA-932v-x9x2-vq29","summary":"Hive Metastore Server is vulnerable to SQL Injection","modified":"2025-12-01T19:28:43.862260Z","packages":[{"ecosystem":"Maven","name":"org.apache.hive:hive-common","purl":"pkg:maven/org.apache.hive/hive-common","ranges":[">=4.1.0 <4.2.0"],"fixed":["4.2.0"]},{"ecosystem":"Maven","name":"org.apache.hive:hive-metastore","purl":"pkg:maven/org.apache.hive/hive-metastore","ranges":[">=4.1.0 <4.2.0"],"fixed":["4.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}