CVE-2026-49845Disclosure(apache / hive)

LOWCVSS 9.8 · CRITICAL

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch apache hive systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platforms allows authenticated users with access to Hive Metastore APIs to read, modify, or affect unintended partition metadata (including statistics updates, truncation targets, and file-metadata cache operations) via crafted partition names in metastore RPC requests when direct SQL is enabled (the default). Users are recommended to upgrade to version 4.2.1, which fixes this issue. Details about the issue: Several Hive Metastore RPCs resolve partitions by full partition name (PART_NAME) through direct-SQL helpers. In those paths, client-supplied partition names are embedded into SQL using string concatenation (DirectSqlUpdatePart.quoteString() → '...') instead of bind parameters. A partition name containing a single quote (and crafted SQL) can alter the generated WHERE clause so that lookups intended for one partition match additional rows. That can affect reads, stats updates, truncate targets, metadata-cache targets, and related operations when metastore.try.direct.sql is enabled (default: true). An authenticated or network-trusted caller with the ability to invoke Hive Metastore partition-name APIs against a target table (directly or via Hive/other clients), when direct SQL is enabled can perform this attack. Also, the impact is mainly within table & partition targeting (read/update/truncate/drop/cache the wrong partitions in a table they can reference), not arbitrary cross-database access via this bug alone.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-94

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • hive

Threat summary

  • Patch or workaround signal is available
  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 2 signals
  • Disclosure: 1 classified signal
  • Peaked 1d ago at 1 mentions (2026-08-25); latest day: 1
  • 2 total mentions across 2 days

Affected systems

Vendors
Products
hive

1 version affected across 1 product

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-08-25: 1Mentions · 2026-08-26: 1Patch / Workaround · 2026-08-26: 1Technical Details · 2026-08-25: 1Technical Details · 2026-08-26: 108-2508-26
Signal classification2 categories
Disclosure
150.0%
Patch
150.0%
Referenced assets1 URL
By indicator
Classification over time
DateTotalLabels
2026-08-251
Disclosure1
2026-08-261
Patch1
Full discourse2 posts
  • CCB Alert@CCBalert
    Patch

    Warning: SQL Injection in #Apache #Hive Metastore. #CVE-2026-49845 CVSS: 9.8. Crafted partition names can affect unintended partition metadata when direct SQL is enabled! Upgrade to Hive 4.2.1. #Patch #Patch #Patch

    Post summary

    Apache Hive CVE-2026-49845 is a high‑severity SQL injection vulnerability; users are advised to upgrade to Hive 4.2.1 to remediate.

    01000283
    7.2K followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-49845 SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platforms allows authenticated users with access to Hive Metas… https://www.cve.org/CVERecord?id=CVE-2026-49845

    Post summary

    The tweet announces an SQL injection vulnerability (CVE-2026-49845) in Apache Hive Metastore before version 4.2.1, detailing the affected component and user impact without providing PoC, exploit code, or patch information.

    000101.0K
    58.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appapachehive4.2.0--

Explore more