Skip to main content
CVE-2026-49845VulnerabilityPublished

Hive Metastore direct SQL partition-name resolution · SQL Injection

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-49845· Critical 9.8

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

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CISA-ADPCVSS 3.19.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Apache Hiveorg.apache.hive:hive-standalone-metastoreAffected
  • >=4.0.0 <=4.2.0
Fixed in–
Mavenorg.apache.hive/hive-standalone-metastorepkg:maven/org.apache.hive/hive-standalone-metastoreOther threatsAffected
  • >=4.0.0 <=4.2.0
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

Community reviews

Loading reviews…