CVE-2026-129974
Apache Polaris: Incorrect authorization in table rename operation
When a table was renamed into a different namespace, Polaris did not validate the table's stored locations against the destination namespace, as it does when a table is created: neither the catalog's allowed locations, nor the namespace boundary (unless ALLOW_UNSTRUCTURED_TABLE_LOCATION is enabled), nor overlap with the destination's sibling tables was checked, and the renamed table kept its old location. In addition, the location checks applied to existing tables when committing and when vending storage credentials did not compare the table's location with its parent namespace's location. A principal able to create and drop tables in one namespace and create tables in another could therefore cause a table to point outside the boundaries of its namespace, including at the location of tables that are created later by other principals. Storage credentials vended for the renamed table then covered that data and remained valid for access after the principal's privileges on the original namespace were revoked, allowing the data to be read, overwritten or deleted. Views are affected by the same rename gap, but Polaris does not vend credentials for views.
Exploitation requires an authenticated principal with permission to create and drop tables in the source namespace, to create tables in the destination namespace, and to read and write data on the renamed table, plus another principal that later creates tables under the location the attacker has claimed. The optimized sibling check (OPTIMIZED_SIBLING_CHECK), when enabled, prevents the overlap part of the issue but not the missing namespace-boundary validation.
This issue affects Apache Polaris: from 0.9.0 before 1.9.0.
Users are recommended to upgrade to version 1.9.0, which fixes the issue. In 1.9.0, a table or view rename validates locations as if the entity were created in the destination namespace, and existing tables are validated against their parent namespace's location on commit and credential vending. Note that this is a behavior change: with ALLOW_UNSTRUCTURED_TABLE_LOCATION=false (the default), renaming a table into another namespace is only possible if its location lies within the destination namespace's location, and existing tables whose location lies outside their namespace's location are refused at commit and credential vending with HTTP 403.