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

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.85% (percentile 59, 2026-12-05)
- **CWE:** CWE-73, CWE-863
- **Published:** 2026-12-04T20:58:09.366Z
- **Modified:** 2026-12-04T22:18:11.580Z

## Who should check

- Anyone running Apache Software Foundation Apache Polaris \>= 0.9.0-incubating, \<= 1.8.0

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

## Affected and fixed versions

- Apache Software Foundation Apache Polaris: \>= 0.9.0-incubating, \<= 1.8.0 (cvelist)

## Technologies

Apache Software Foundation (all projects)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-130017. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-130017.md
Affected: Apache Software Foundation Apache Polaris >= 0.9.0-incubating, <= 1.8.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache Polaris: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-130017 being exploited?

There is no confirmed exploitation: CVE-2026-130017 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-12-05).

### How serious is CVE-2026-130017?

Medium: CVSS 6.1 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-130017?

Apache Software Foundation Apache Polaris \>= 0.9.0-incubating, \<= 1.8.0.

### Is there a fix for CVE-2026-130017?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-130017?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread.html/wtvt96bq4pv2bvfh96hr79qo353b984g>
- patch: <https://github.com/apache/polaris/pull/5912>
- other: <https://github.com/apache/polaris/releases/tag/apache-polaris-1.9.0>
- other: <http://www.openwall.com/lists/oss-security/2026/12/04/10>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-130017>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-130017> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-130017>
