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: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
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 explicit absence of a CVSS score or EPSS metric leaves the exploitation probability uncertain, but the zero-authentication requirement and broad impact indicate a high severity posture. The vulnerability is not listed in CISA’s KEV catalog, however administrators should treat it as serious due to the potential for data exfiltration or privilege escalation.

Generated by OpenCVE AI on August 25, 2026 at 11:21 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 25, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-25T10:12:53.804Z

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

Link: CVE-2026-53561

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-53561

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T11:30:06Z

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-305

    Authentication Bypass by Primary Weakness

  • CWE-345

    Insufficient Verification of Data Authenticity