Description
When a table is dropped with purge, and when old metadata files are deleted after a commit (write.metadata.delete-after-commit.enabled), Polaris deleted file paths that it read from files stored in the table's own storage (the table metadata file, manifest lists and manifests) without checking that they were located under the table. In addition, the storage location used to scope the credentials of a purge task was read from the table metadata file instead of from the table recorded in Polaris. A principal able to write to a table's storage could therefore add paths belonging to other tables or buckets to those files, so that Polaris deleted them using the cleanup credentials, or widen the scope of the purge credentials.



The impact depends on the storage credentials used for the cleanup. With per-table scoped credentials (for example STS credential vending), deletes outside the table's own locations are refused by the storage service unless the credentials also cover the other data; with catalogs that do not use scoped credentials (for example stsUnavailable), or storage roles that span several tables or buckets, objects of other tables can be deleted. Exploitation requires an authenticated principal that can write to a table's storage and either holds the privilege to drop the table with purge (the DROP_WITH_PURGE_ENABLED feature flag must be enabled, which is not the default since 1.0.0) or can commit to a table with write.metadata.delete-after-commit.enabled.



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, purge tasks and metadata cleanup after a commit only delete files under the locations recorded on the table, and purge task credentials are scoped from the recorded locations. Purging a table whose metadata does not match its recorded locations is refused.
Published: 2026-12-04
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Dec 2026 21:00:00 +0000

Type Values Removed Values Added
Description When a table is dropped with purge, and when old metadata files are deleted after a commit (write.metadata.delete-after-commit.enabled), Polaris deleted file paths that it read from files stored in the table's own storage (the table metadata file, manifest lists and manifests) without checking that they were located under the table. In addition, the storage location used to scope the credentials of a purge task was read from the table metadata file instead of from the table recorded in Polaris. A principal able to write to a table's storage could therefore add paths belonging to other tables or buckets to those files, so that Polaris deleted them using the cleanup credentials, or widen the scope of the purge credentials. The impact depends on the storage credentials used for the cleanup. With per-table scoped credentials (for example STS credential vending), deletes outside the table's own locations are refused by the storage service unless the credentials also cover the other data; with catalogs that do not use scoped credentials (for example stsUnavailable), or storage roles that span several tables or buckets, objects of other tables can be deleted. Exploitation requires an authenticated principal that can write to a table's storage and either holds the privilege to drop the table with purge (the DROP_WITH_PURGE_ENABLED feature flag must be enabled, which is not the default since 1.0.0) or can commit to a table with write.metadata.delete-after-commit.enabled. 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, purge tasks and metadata cleanup after a commit only delete files under the locations recorded on the table, and purge task credentials are scoped from the recorded locations. Purging a table whose metadata does not match its recorded locations is refused.
Title Apache Polaris: Improper validation of file paths in cleanup operations
Weaknesses CWE-73
CWE-863
References
Metrics cvssV4_0

{'score': 6.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-12-04T20:58:09.366Z

Reserved: 2026-11-16T18:13:59.299Z

Link: CVE-2026-130017

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-04T21:17:50.967

Modified: 2026-12-04T21:17:50.967

Link: CVE-2026-130017

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses