Severity: important
CVSS 4.0: 7.7 (high)
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected versions:
- Apache Polaris 0.9.0-incubating through 1.8.0
- Apache Polaris 1.9.0 unaffected
Description:
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.
Credit:
Lawrence Yu (finder)
Alexandre Dutra (analyst)
References:
https://github.com/apache/polaris/pull/5856
https://github.com/apache/polaris/releases/tag/apache-polaris-1.9.0
https://polaris.apache.org
https://www.cve.org/CVERecord?id=CVE-2026-129974
Timeline:
2026-10-09: reported to [email protected]
2026-10-10: forwarded to the Polaris PMC
2026-10-28: fix merged (PR #5856)
2026-11-11: fixed in 1.9.0