{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-53561",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-06-09T18:28:06.425Z",
        "datePublished": "2026-08-25T10:12:53.804Z",
        "dateUpdated": "2026-08-25T10:12:53.804Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-08-25T10:12:53.804Z"
            },
            "title": "Apache Hive: Unauthenticated authentication bypass in HiveServer2 HTTP SAML bearer-token validation allows impersonation of any Hive user",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-287 Improper Authentication",
                            "lang": "en",
                            "cweId": "CWE-287",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "description": "CWE-345 Insufficient Verification of Data Authenticity",
                            "lang": "en",
                            "cweId": "CWE-345",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "description": "CWE-305 Authentication Bypass by Primary Weakness",
                            "lang": "en",
                            "cweId": "CWE-305",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "defect": [
                    "HIVE-29653"
                ],
                "discovery": "EXTERNAL"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Hive",
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "packageName": "org.apache.hive:hive-service",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.0.0",
                            "lessThanOrEqual": "4.2.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "value": "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.\n\nAccess / 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.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "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.<br><br><i>Access / authorization required</i>: 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.<br>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/apache/hive",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "url": "https://issues.apache.org/jira/browse/HIVE-29653",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/apache/hive/commit/6ca06ca1104ff7462363087a867d70d546134774",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://lists.apache.org/thread/6d56mk501fp4f8cb5wvrpj2jwd9knt05",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "other": {
                        "type": "Textual description of severity",
                        "content": {
                            "text": "critical"
                        }
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Andrew Rukin (Arenadata)",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.2.0"
            }
        }
    }
}