CVE-2026-49845: Vulnerability in Apache Hive
Critical. 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)....
CWE-94
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-5555-2x3r-gmgx
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-94
- Published
- 25 Aug 2026
- Last change
- 3 Nov 2026
Affected products
Affected versions and the first fixed release
- Apache Hive Version 4.2.0. No fixed version recorded
- Apache Software Foundation Apache Hive From 4.0.0 through 4.2.0; Version 4.0.0 ≤4.2.0. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/apache/hive
- issues.apache.org/jira/browse/HIVE-29622
- lists.apache.org/thread/6d56mk501fp4f8cb5wvrpj2jwd9knt05
Patches and fixes
Updates, commits and release notes
Related
- Hive vulnerabilities Recent advisories, watch this product
- Apache Hive vulnerabilities Recent advisories, watch this product