Hive Metastore direct SQL partition-name resolution · SQL Injection
Source GCVE Database
Not known to be exploited · CVSS 9.8 Critical · fixed in 4.2.1 : patch Apache Hive as a priority.
Data as of 23 Nov 2026, 21:14 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 9.8 |
|---|
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.2.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Apache Hiveorg.apache.hive:hive-standalone-metastore | Affected
| Fixed in– |
Mavenorg.apache.hive/hive-standalone-metastorepkg:maven/org.apache.hive/hive-standalone-metastoreOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade Apache Hive to version 4.2.1 or later, where this vulnerability is fixed. Since direct SQL partition-name resolution is enabled by default, disabling this feature could mitigate the risk temporarily, but upgrading is the recommended and definitive fix.
Description
Apache Hive versions before 4.2.1 contain a SQL injection vulnerability in the Hive Metastore's direct SQL partition-name resolution feature. Authenticated users with access to Hive Metastore APIs can exploit this flaw by crafting partition names containing malicious SQL code. This allows them to read or modify unintended partition metadata, including statistics, truncation targets, and file-metadata cache operations. The vulnerability exists when direct SQL is enabled, which is the default setting. The issue is fixed in version 4.2.1.
References
- nvd.nist.gov/vuln/detail/CVE-2026-49845 (opens in a new tab)
- github.com/apache/hive/commit/ca64f08a8e43db9845b47d5fa2e96f7fdea7288e (opens in a new tab)
- github.com/apache/hive (opens in a new tab)
- issues.apache.org/jira/browse/HIVE-29622 (opens in a new tab)
- lists.apache.org/thread/6d56mk501fp4f8cb5wvrpj2jwd9knt05 (opens in a new tab)