PT-2026-81254 · Apache · Apache Hive

·

CVE-2026-49845

·

Published

2026-08-25

·

Updated

2026-08-27

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache Hive versions prior to 4.2.1
Description An issue exists in the Hive Metastore where direct SQL partition-name resolution allows authenticated users with access to Hive Metastore APIs to read, modify, or affect unintended partition metadata. This occurs when client-supplied partition names are embedded into SQL using string concatenation via the DirectSqlUpdatePart.quoteString() function instead of using bind parameters. A crafted partition name containing a single quote can alter the generated WHERE clause, causing lookups to match additional rows. This affects operations such as statistics updates, truncation targets, and file-metadata cache operations when the metastore.try.direct.sql variable is enabled. The impact is limited to table and partition targeting within tables the user can already reference, rather than arbitrary cross-database access.
Recommendations Upgrade to version 4.2.1. As a temporary mitigation, disable the metastore.try.direct.sql variable.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-49845

Affected Products

Apache Hive