CVE-2026-42812
CriticalCVSS 9.9Exploitation Probability (EPSS)
Low risk33th percentile - higher than 33% of all known CVEs
Summary
Apache Polaris contains a vulnerability allowing a user who can change table settings to bypass storage location validation during metadata writes. Changing only the `write.metadata.path` property via an `ALTER TABLE`-style change skips the commit-time validation branch, potentially causing Polaris to write metadata to an attacker-chosen location and later vend credentials for that location.
Risk Assessment
With `polaris.config.allow.unstructured.table.location=true` and a broad `allowedLocations` allowlist, an attacker can cause metadata to be written to an arbitrary reachable location and later obtain temporary storage credentials for that area. This can lead to disclosure, modification, corruption, or deletion of data and metadata belonging to other tables or an entire storage prefix/bucket.
Recommendation
Update Apache Polaris to a version containing the fix. If not possible, set `polaris.config.allow.unstructured.table.location=false` and restrict `allowedLocations` to the minimum necessary to reduce exploitation risk.
Other vulnerabilities in Apache Polaris
See all- CVE-2026-42811Critical
Apache Polaris issues short-lived GCS credentials with a CEL-based path restriction built without escaping the namespace or table identifier. A crafted identifier containing a single quote and CEL fragments can break out of the quoted string and broaden the credentials to the entire configured bucket. This was confirmed in testing against Polaris 1.4.0 with real Google Cloud Storage.
- CVE-2026-42810Critical
Apache Polaris accepts literal `*` characters in namespace and table names and later reuses them unescaped in S3 IAM resource patterns and `s3:prefix` conditions. Because `*` acts as a wildcard in S3 IAM policy matching, temporary credentials issued for a crafted table (e.g. `f*.t1`, `*.*`) can match the storage path of a different table. Confirmed behavior includes reading another table's Iceberg metadata JSON, listing its exact S3 prefix, and creating or deleting objects under it when write delegation is returned.
- CVE-2026-42809Critical
Apache Polaris issues broad temporary (vended) storage credentials during staged table creation before the effective table location has been validated or durably reserved. An attacker can supply a custom location (or write.data.path/write.metadata.path), making the credential scope attacker-directed.
- CVE-2026-130019High
A vulnerability in Apache Polaris allows an authenticated principal with write access to one table's storage to modify that table's metadata file so it points to another table's location. The catalog then vends storage credentials covering the other table's data, enabling reading, writing and deleting it, even when per-table credential scoping (e.g. STS) is enabled. The issue affects versions from 0.9.0 before 1.9.0.
- CVE-2026-130017Medium
A vulnerability in Apache Polaris (versions 0.9.0 to before 1.9.0) allowed Polaris, when dropping a table with purge or deleting old metadata files after a commit, to delete file paths read from files in the table's own storage without verifying they were located under the table. A principal able to write to a table's storage could add paths belonging to other tables or buckets, causing their deletion or widening the scope of purge credentials.
- CVE-2026-130015Low
Apache Polaris versions from 0.9.0 before 1.9.0 do not include write paths (write.data.path and write.metadata.path) in overlap checks when creating a table or namespace. An authenticated principal allowed to create tables can create a table whose write path points at a future location of another table and obtain storage credentials covering it, gaining access to another principal's data once that table is created there.
- CVE-2026-129974High
Apache Polaris versions 0.9.0 through 1.9.0 do not validate a table's stored location against the destination namespace when renaming, nor against the parent namespace when committing or vending storage credentials. An authenticated principal with create/drop permissions in one namespace and create permissions in another can cause a table to point outside its namespace boundaries, including at locations of tables later created by other principals, and vended credentials remain valid after privileges are revoked.
- CVE-2026-129962Low
Apache Polaris versions 0.9.0 through before 1.9.0 inconsistently compare catalog allowed locations — a trailing slash is stripped only during later validation, not during the overlap check. A location ending in an empty path segment (e.g., a bucket root followed by an extra slash) is treated as distinct from a sibling catalog's location during the overlap check but interpreted as the whole bucket during later validation. This lets a principal with CATALOG_WRITE_PROPERTIES place tables and obtain storage credentials under another catalog's storage prefix.
- CVE-2026-129921Low
In Apache Polaris, the sibling name-collision check skipped any sibling whose name equaled the entity being validated, regardless of whether it was a table or a namespace. As a result, a table could be created at the same storage location as a same-named namespace, allowing a principal to obtain storage credentials covering data of tables in that child namespace.
- CVE-2026-97395High
Apache Polaris allows an authenticated principal with permission to create or update Iceberg table properties to set FileIO client settings such as s3.endpoint in table metadata. In versions < 1.8.0, Polaris may use these settings to construct its server-side FileIO client, potentially redirecting storage traffic to a host chosen by the table writer and exposing authentication material.
Original NVD description (English source)
In Apache Iceberg, the table's metadata files are control files: they tell readers which data files belong to the table and which table version to read. `write.metadata.path` is an optional table property that tells Polaris where to write those metadata files. For a table already registered in a Polaris-managed catalog, changing only that property through an `ALTER TABLE`-style settings change (not a row-level `INSERT`, `SELECT`, `UPDATE`, or `DELETE`) bypasses the commit-time branch that is supposed to revalidate storage locations. The full persisted / credential-vending variant requires the affected catalog to have `polaris.config.allow.unstructured.table.location=true`, with `allowedLocations` broad enough to include the attacker-chosen target. `allowedLocations` is the admin-configured allowlist of storage paths that the catalog is allowed to use. Public project materials suggest that this flag is a real supported compatibility / layout mode, not just a contrived lab-only prerequisite. In that configuration, a user who can change table settings can cause Apache Polaris itself to write new table metadata to an attacker-chosen reachable storage location before the intended location-validation branch runs. If the later concrete-path validation also accepts that location, Polaris persists the resulting metadata path into stored table state. Later table-load and credential APIs can then return temporary cloud-storage credentials for the same location without revalidating it. In plain terms, Polaris can later hand out temporary storage access for the same attacker-chosen area. That attacker-chosen area does not need to be limited to the poisoned table's own files. If it is a broader storage prefix, another table's prefix, or, depending on configuration or provider behavior, even a bucket/container root, the resulting disclosure or corruption scope can extend to any data and metadata Polaris can reach there. The practical consequences are therefore similar to the staged-create credential-vending issue already discussed: data and metadata reachable in that storage scope can be exposed and, if write-capable credentials are later issued, modified, corrupted, or removed. Even before that later credential step, Polaris itself performs the metadata write to the unchecked location. So the core issue is not only later credential vending. The primary defect is that Polaris skips its intended location checks before performing a security- sensitive metadata write when only `write.metadata.path` changes. When `polaris.config.allow.unstructured.table.location=false`, current code review suggests the later `updateTableLike(...)` validation usually rejects out-of-tree metadata locations before the unsafe path is persisted. That may reduce the persisted / credential-vending variant, but it does not prevent the underlying defect: Polaris still skips the intended pre-write location check when only `write.metadata.path` changes.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

