Apache Polaris: No protection on `write.metadata.path`
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Polaris | before 1.4.1 | 1.4.1 | Patch available | CNA |
| — | org.apache.polaris:polaris-runtime-service (Maven) | 0.9.0 to before 1.4.1 | 1.4.1 | Patch available | GHSA-w76p-3cgp-qfcm |
- Apache Polaris VendorApache Affected before 1.4.1 Fixed in 1.4.1 Patch available CNA
- org.apache.polaris:polaris-runtime-service (Maven) Vendor— Affected 0.9.0 to before 1.4.1 Fixed in 1.4.1 Patch available GHSA-w76p-3cgp-qfcm
Remediation
- Fix · CNA Apache Polaris (Apache Software Foundation) Fixed in 1.4.1
- Fix · GHSA-w76p-3cgp-qfcm org.apache.polaris:polaris-runtime-service (Maven) Fixed in 1.4.1 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Polaris 1.4.1
4 records Highest priority Priority MEDIUM 4 MEDIUM
Other records, highest priority first
- TI-2026-31029 Improper input validation in Apache PolarisPriority MEDIUM 43
- TI-2026-31028 Apache Polaris: could broaden vended S3 credentials through wildcard-bearing namespace or table namesPriority MEDIUM 43
- TI-2026-31027 Apache Polaris: staged table creation could vend storage credentials for unvalidated locationsPriority MEDIUM 42
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42812
- 2026-10-03 Alias added: GHSA-w76p-3cgp-qfcm
References
Advisory 3
More Apache Polaris vulnerabilities
- TI-2026-31029 Improper input validation in Apache Polaris CVSS 4.0CRITICAL 9.4
- TI-2026-31028 Apache Polaris: could broaden vended S3 credentials through wildcard-bearing namespace or table names CVSS 4.0CRITICAL 9.4
- TI-2026-31027 Apache Polaris: staged table creation could vend storage credentials for unvalidated locations CVSS 4.0CRITICAL 9.4
- TI-2026-46201 Apache Polaris: register endpoint reads attacker-controlled storage location before allowed-locations validation CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-42812 · CVE Program
- CVE-2026-42812 · NVD
- FIRST EPSS
- GHSA-w76p-3cgp-qfcm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences