CVE-2018-8028
Description
Apache Sentry before 2.0.1 fails to authorize ALTER TABLE EXCHANGE PARTITIONS, allowing authenticated users to access or delete partitioned data without permission.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Apache Sentry before 2.0.1 fails to authorize ALTER TABLE EXCHANGE PARTITIONS, allowing authenticated users to access or delete partitioned data without permission.
Vulnerability
In Apache Sentry versions prior to 2.0.1, the authorization check for the ALTER TABLE EXCHANGE PARTITIONS command is missing. This allows an authenticated user to execute this command on tables that are protected by Sentry without being properly authorized [1]. The bug affects all releases before 2.0.1.
Exploitation
An attacker must have valid authentication credentials for the Hive or Sentry system. No additional privileges or special network position are required beyond being an authenticated user. The attacker can simply execute ALTER TABLE table_name EXCHANGE PARTITION (partition_spec) WITH TABLE other_table on a Sentry-protected table, and Sentry will not check whether the user is authorized to perform that operation [2].
Impact
Successful exploitation allows the attacker to gain unauthorized access to partitioned data that they should not be able to see (information disclosure) and to remove data from a Sentry-protected table (data loss or integrity violation). The attacker may access or delete partitions of any table that Sentry is supposed to protect [3].
Mitigation
The vulnerability is fixed in Apache Sentry version 2.0.1 [3]. Users should upgrade to this version or later. There is no workaround documented. If upgrading is not possible, consider restricting access to the ALTER TABLE EXCHANGE PARTITIONS command at the Hive level or applying access controls outside of Sentry.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.sentry:sentryMaven | < 2.0.1 | 2.0.1 |
Affected products
2- Apache Software Foundation/Apache Sentryv5Range: Apache Sentry 2.0.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-6xhj-p29v-82j8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-8028ghsaADVISORY
- cwiki.apache.org/confluence/display/SENTRY/Vulnerabilities+found+in+Apache+Sentryghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.