Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-49845: SQL injection in Hive Metastore direct SQL partition-name resolution in Apache Hive before 4.2.1 on all platfo

62
This week
CRITICAL 9.8REMOTEWATCHLISTDOWNGRADE

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 score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.9% (top 41%)
CISA exploited listNo
WeaknessCWE-94
Published2026-08-25
Last modified2026-09-28
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-09-28 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache hive DOWNGRADE
Affected: 4.2.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 4.2.0
1. Check installed version
apt-cache policy hive || rpm -q hive || hive --version
2. No fixed release: DOWNGRADE to a release before 4.2.0 (Debian / Ubuntu)
apt-cache madison hive sudo apt install hive=<VERSION_BEFORE_4.2.0> sudo apt-mark hold hive
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list hive sudo dnf downgrade hive-<VERSION_BEFORE_4.2.0> sudo dnf versionlock add hive
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora ELN · openbao · FIXED · 2.6.5-1.eln159 · FEDORA-2026-77adf886ae · source
sudo dnf upgrade --advisory=FEDORA-2026-77adf886ae
Fedora 46 · sugar-turtleart · FIXED · 220-16.fc46 · FEDORA-2026-b79483c788 · source
sudo dnf upgrade --advisory=FEDORA-2026-b79483c788
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.