CVE-2026-49845: SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platfo
CVE-2026-49845 is a critical-severity flaw (CVSS 9.8) affecting hive. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 t
Why this priority
- Critical severity
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 41%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-08-25 |
| Last modified | 2026-09-28 |
Last updated 2026-09-28 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-49845?
hive: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-49845 being exploited?
CVE-2026-49845 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-49845 affect?
CVE-2026-49845 affects hive. Severity is critical (CVSS 9.8). 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 (includ
How urgent is CVE-2026-49845?
Priority 62/100. Critical severity; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2026-55976 CRITICAL 9.1 DOWNGRADE Server-Side Request Forgery (SSRF) in Avro SerDe schema resolution in Apache Hive before 4.2.1 allows an authe
- CVE-2026-53561 HIGH 7.4 UPGRADE An improper authentication vulnerability in HiveServer2 SAML bearer-token validation in Apache Hive 4.0.0 thro