Bug 2591223 (CVE-2026-129974)

Summary: CVE-2026-129974 polaris: polaris: unauthorized data access and modification via unvalidated table location renames
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Polaris. An authenticated remote user with table creation privileges can exploit this issue by renaming a table across namespaces, which bypasses storage location validation checks. Consequently, this allows the user to obtain storage credentials for unauthorized data locations, leading to unauthorized reading, overwriting, or deletion of data.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-04 20:51:42 UTC
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.