SQL injection in Apache Hive - CVE-2026-49845

 

SQL injection in Apache Hive - CVE-2026-49845

Published: August 27, 2026


Vulnerability identifier: #VU145879
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-49845
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to read, modify, or affect unintended partition metadata.

The vulnerability exists due to sql injection in HiveMetaStore direct-SQL partition-name resolution paths when processing crafted partition names in metastore RPC requests. A remote user can send crafted partition names to read, modify, or affect unintended partition metadata.

The issue affects partition targeting operations such as statistics updates, truncation targets, and file-metadata cache operations, and exploitation requires direct SQL to be enabled.


Affected software

Apache Hive

How to mitigate CVE-2026-49845

Install security update from vendor's website.

Apache Hive - update to 4.2.1

External References

Related Security Bulletins