CVE-2026-130017: Apache Polaris: Improper validation of file paths in cleanup operations

Published Dec 4, 2026
·
Updated

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 DROPWITHPURGEENABLED 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.

Affected Software

1 affected component
Apache Polaris>=0.9.0<1.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.9.0

Event History

Dec 4, 2026
CVE Published
via MITRE·08:58 PM
Data Sourced
via MITRE·08:58 PM
DescriptionWeakness
Data Sourced
via OSV·08:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs to be a principal able to write to a table's storage. They can place paths for other tables or buckets into table metadata, manifest lists, or manifests that Polaris later reads during cleanup.

2

When can the unsafe deletion occur?

It can occur when a table is dropped with purge, or when old metadata files are deleted after a commit with write.metadata.delete-after-commit.enabled enabled. Both operations use paths read from files in the table's storage.

3

How much does credential configuration affect the impact?

With per-table scoped credentials, storage services should refuse deletion outside the table's locations unless those credentials also cover the targeted data. Catalogs without scoped credentials, such as stsUnavailable, or roles spanning multiple tables or buckets can allow deletion of other objects.

4

What can be done if patching is not immediately possible?

Avoid dropping tables with purge and disable write.metadata.delete-after-commit.enabled where feasible. Use per-table scoped cleanup credentials so the storage service rejects deletes outside the intended table location.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203