Summary
Apache Polaris versions 0.9.0 through 1.8.0 do not validate a table's stored locations against the destination namespace when the table is renamed into a different namespace, unlike at table creation. Neither the catalog's allowed locations, the namespace boundary (unless ALLOW_UNSTRUCTURED_TABLE_LOCATION is enabled), nor overlap with sibling tables is checked, and the table keeps its old location. Additionally, location checks on commit and storage credential vending do not compare the table's location with its parent namespace's location. Views are affected by the same rename gap, but Polaris does not vend credentials for views.
The attack is network-based and low complexity but requires an authenticated principal with limited privileges: create and drop tables in the source namespace, create tables in the destination namespace, and read/write data on the renamed table. It also depends on another principal later creating tables under the location claimed by the attacker. No user interaction is needed.
The attacker can make a table point outside its namespace boundaries, including at locations of tables created later by others. Vended storage credentials then cover that data and remain valid even after the attacker's privileges are revoked, allowing data to be read, overwritten or deleted (high confidentiality, integrity and availability impact; CVSS 4.0: 7.7).
Who is affected
Organizations running Apache Polaris (Iceberg catalog) versions 0.9.0 through 1.8.0, especially multi-user or multi-team shared catalogs.
What to do
- Upgrade Apache Polaris to version 1.9.0, where table and view renames validate locations as if the entity were created in the destination namespace.
- Plan for the behavior change: with ALLOW_UNSTRUCTURED_TABLE_LOCATION=false (default), cross-namespace renames only succeed if the table location lies within the destination namespace location, and existing tables located outside their namespace are refused at commit and credential vending with HTTP 403. Identify such tables in advance.
- Until upgraded, consider enabling OPTIMIZED_SIBLING_CHECK, which prevents the location-overlap part of the issue but not the missing namespace-boundary validation.
- Review which principals can create and drop tables across multiple namespaces and reduce these privileges to the minimum needed.
- Audit logs for cross-namespace table renames and look for tables whose locations fall outside their namespace or overlap other tables.
Affected products and versions
CVSS vector, explained
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
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-863 Incorrect Authorization
References
- github.com/apache/polaris/pull/5856 patch
- github.com/apache/polaris/releases/tag/apache-polaris-1.9.0
- lists.apache.org/thread.html/hzp2jppq41jhc6hb0lco2srtzvlhx5s7 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.