SQL Injection in Apache Hive Metastore Affects Partition Metadata
CVE-2026-49845
Key facts: CVE-2026-49845 is a critical severity (CVSS 9.8) vulnerability in Apache Hive. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.8%, the estimated probability of exploitation in the next 30 days.
What is CVE-2026-49845?
A vulnerability exists in the Hive Metastore that allows authenticated users to exploit SQL injection through direct SQL partition-name resolution. This occurs in versions of Apache Hive before 4.2.1 and affects how partitions are resolved by embedding user-supplied partition names into SQL queries without using bind parameters. Maliciously crafted partition names can manipulate the WHERE clause, leading to unintended access to partition metadata and affecting operations like reading, updating, and truncating partitions. Users are strongly advised to upgrade to version 4.2.1 to eliminate this security risk.
Affected Version(s)
Apache Hive 4.0.0 <= 4.2.0
References
More Apache vulnerabilities
- CVE-2026-133325: Key Exchange Vulnerability in Apache Tomcat Products by Apache(CRITICAL)
- CVE-2026-116561: Improper Exception Management in Apache Tomcat Affects Multiple Versions(CRITICAL)
- CVE-2026-129448: Deserialization Vulnerability in Apache Roller Affects Multiple Versions(CRITICAL)
- CVE-2026-119618: Improper Synchronization Vulnerability in Apache HTTP Server's mod_http2(HIGH)
- CVE-2026-90436: Deserialization Vulnerability in Apache Axis 1.x Allows Remote Code Execution(CRITICAL)
- CVE-2026-121489: Path Traversal Vulnerability in Apache Juneau(CRITICAL)
- CVE-2026-118636: Remote Code Execution Vulnerability in Apache MINA Codec Module(CRITICAL)
- CVE-2026-64618: SQL Injection Vulnerability in Apache Fineract Affecting Specific API Endpoint(CRITICAL)