Description
An improper authentication vulnerability in HiveServer2 SAML bearer-token validation in Apache Hive 4.0.0 through 4.2.0 (and later unreleased branches) on deployments using HTTP transport with hive.server2.authentication=SAML allows an unauthenticated network attacker to authenticate as an arbitrary Hive user and obtain an authenticated HiveServer2 session via a forged Authorization: Bearer token sent to the /cliservice HTTP endpoint. Users are recommended to upgrade to 4.2.1 version that includes the fix for this issue.

Access / authorization required: No Hive credentials, SAML IdP login, or knowledge of the server signing secret is required. The attacker only needs network reachability to the HiveServer2 HTTP port (typically /cliservice), directly or through a reverse proxy such as Apache Knox that forwards unauthenticated requests to HS2. The instance must have SAML authentication enabled in HTTP mode. Deployments where Knox handles SSO and HiveServer2 uses LDAP/Kerberos (not native SAML mode) are not affected by this specific issue.
Published: 2026-08-25
Score: 7.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Authentication bypass allowing impersonation of any Hive user
Action: Patch immediately
AI Analysis

Impact

An unauthorized attacker can forge an HTTP Authorization: Bearer token and send it to the HiveServer2 /cliservice endpoint, exploiting an improper SAML bearer-token validation. This bypass lets the attacker authenticate as any Hive user without credentials or knowledge of the signing secret, enabling full access to data and query execution. The flaw is a classic authentication bypass (CWE‑287) compounded by improper input handling (CWE‑305) and missing verification of token integrity (CWE‑345).

Affected Systems

Apache Hive 4.0.0 through 4.2.0, and any later unreleased branches that enable hive.server2.authentication=SAML in HTTP transport mode, are affected. The vulnerability exists only when SAML authentication is used over the HTTP transport (not in native LDAP/Kerberos mode). Deployments behind proxies such as Apache Knox that forward unauthenticated requests to HiveServer2 are vulnerable, while those that reject unauthenticated HTTP traffic or use different authentication mechanisms remain unaffected.

Risk and Exploitability

Because the exploitation does not require any credentials or prior knowledge of the server signing key, a network attacker with reachability to the HiveServer2 HTTP port can easily obtain an authenticated session as any user. The presence of a CVSS score of 7.4, combined with an EPSS score of < 1%, indicates a high severity with a low exploitation probability, yet the zero-authentication requirement and broad impact still denote a critical risk. The vulnerability is not listed in CISA’s KEV catalog; administrators should treat it as serious due to the potential for data exfiltration or privilege escalation.

Generated by OpenCVE AI on August 26, 2026 at 21:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache Hive to version 4.2.1 or later to apply the official fix for the SAML token validation bug.
  • If an upgrade is not immediately possible, disable SAML authentication in HTTP mode by setting hive.server2.authentication to a different type (e.g., LDAP or Kerberos) or remove the HTTP transport entirely.
  • Restrict network access to the HiveServer2 HTTP port (/cliservice) by configuring firewalls or reverse proxy rules so that only authorized internal hosts can reach it; this limits the attack surface for unauthenticated bearer-token exploitation.
  • Enable logging of all authentication attempts and monitor for anomalous Bearer tokens to detect potential exploitation in the interim.

Generated by OpenCVE AI on August 26, 2026 at 21:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:hive:*:*:*:*:*:*:*:*

Wed, 26 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache hive
Vendors & Products Apache
Apache hive

Tue, 25 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
Description An improper authentication vulnerability in HiveServer2 SAML bearer-token validation in Apache Hive 4.0.0 through 4.2.0 (and later unreleased branches) on deployments using HTTP transport with hive.server2.authentication=SAML allows an unauthenticated network attacker to authenticate as an arbitrary Hive user and obtain an authenticated HiveServer2 session via a forged Authorization: Bearer token sent to the /cliservice HTTP endpoint. Users are recommended to upgrade to 4.2.1 version that includes the fix for this issue. Access / authorization required: No Hive credentials, SAML IdP login, or knowledge of the server signing secret is required. The attacker only needs network reachability to the HiveServer2 HTTP port (typically /cliservice), directly or through a reverse proxy such as Apache Knox that forwards unauthenticated requests to HS2. The instance must have SAML authentication enabled in HTTP mode. Deployments where Knox handles SSO and HiveServer2 uses LDAP/Kerberos (not native SAML mode) are not affected by this specific issue.
Title Apache Hive: Unauthenticated authentication bypass in HiveServer2 HTTP SAML bearer-token validation allows impersonation of any Hive user
Weaknesses CWE-287
CWE-305
CWE-345
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-26T18:49:03.614Z

Reserved: 2026-06-09T18:28:06.425Z

Link: CVE-2026-53561

cve-icon Vulnrichment

Updated: 2026-08-26T18:48:28.405Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-25T11:16:53.543

Modified: 2026-08-27T18:50:30.880

Link: CVE-2026-53561

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T21:45:03Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-345

    Insufficient Verification of Data Authenticity