Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Polaris catalog
-
DeliveryIssue ALTER TABLE to modify write.metadata.path
-
ExploitBypass location validation
-
InstallPolaris writes metadata to attacker-chosen location
-
C2Access table to trigger credential request
-
ExecuteReceive cloud storage credentials for malicious path
-
ImpactExfiltrate or corrupt data across table boundaries
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access with privileges to execute ALTER TABLE operations and modify table properties. The polaris.config.allow.unstructured.table.location configuration flag must be set to true (described as a real supported compatibility mode in Apache documentation). The catalog's allowedLocations allowlist must be configured broadly enough to include the attacker's target storage location-overly permissive allowedLocations settings (such as bucket-level or multi-table prefixes) expand the attack surface significantly. Exploitation is limited to storage locations that both fall within the allowedLocations scope and pass the later updateTableLike validation (when enabled). The vulnerability affects only ALTER TABLE-style operations that modify the write.metadata.path property without concurrent data manipulation (INSERT/UPDATE/DELETE), as data-modifying operations follow a different code path with proper validation. Authentication requirement and existing table modification privileges act as partial mitigations but are commonly granted to developers and data engineers in real-world deployments. |
| Impact | This vulnerability presents critical real-world risk despite requiring authentication (PR:L). The CVSS 4.0 score of 9.4 reflects both direct impact (unauthorized metadata writes by Polaris itself) and downstream consequences (credential vending for attacker-chosen locations). The attack complexity is low (AC:L) and requires no user interaction (UI:N), making it straightforward for any authenticated user with table modification privileges to exploit. The scope change indicators (SC:H/SI:H/SA:H) are particularly concerning, as compromise extends beyond the manipulated table to potentially affect all data within the catalog's allowedLocations boundary. The practical impact depends heavily on how broadly allowedLocations is configured-overly permissive configurations could expose entire buckets or multiple tables. The vulnerability has dual impact vectors: immediate unauthorized metadata writes by the Polaris service itself, plus subsequent credential vending that hands attackers temporary cloud storage access. The required polaris.config.allow.unstructured.table.location=true setting is described as a legitimate compatibility mode in public materials, suggesting real-world deployments use this configuration. No EPSS score is available and no active exploitation is confirmed (not in CISA KEV), but the low technical barrier and high impact warrant immediate prioritization for environments using the affected configuration. Authentication requirement provides some risk reduction compared to unauthenticated vulnerabilities, but any user trusted with table modification can exploit this against all catalog data. |
| Exploit ScenarioDerived | An authenticated user with table modification privileges (such as a data analyst or developer with catalog write access) connects to the Polaris catalog service. The attacker issues an ALTER TABLE command that changes only the write.metadata.path property to point to a storage location outside the intended table scope-such as another table's prefix or a broader container root within the allowedLocations boundary. Polaris bypasses the location validation that should occur before metadata writes and directly writes metadata files to the attacker-specified location. When the attacker or another legitimate user subsequently accesses the table, Polaris issues temporary cloud storage credentials scoped to the attacker-chosen location without revalidation. The attacker uses these credentials to read sensitive data from other tables, modify metadata to corrupt table state, or delete files to cause availability impact across multiple tables managed by the catalog. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 04, 2026
Authenticated attackers with table configuration privileges can bypass storage location validation in Apache Polaris by manipulating the write.metadata.path property during ALTER TABLE operations. This forces Polaris to write metadata files to attacker-controlled storage locations without proper validation, then subsequently issue cloud storage credentials for those locations. The vulnerability enables unauthorized access to and potential corruption of data belonging to other tables within the catalog's allowedLocations scope, particularly when polaris.config.allow.unstructured.table.location=true. EPSS data not available; no public exploit identified at time of analysis.
Earlier versions of this analysis (1)
Apache Polaris bypasses storage location validation when table property write.metadata.path is modified via ALTER TABLE, allowing authenticated users to redirect metadata writes to attacker-controlled storage locations. When polaris.config.allow.unstructured.table.location=true and allowedLocations permits broad paths, attackers can both force Polaris to write metadata to arbitrary locations and subsequently obtain temporary cloud storage credentials for those locations without revalidation. This can expose or corrupt data belonging to other tables sharing the same storage scope. Affects Apache Polaris catalog servers with unstructured table location mode enabled. CVSS 9.9 (Critical) with scope change indicates privilege escalation beyond table-level access. No active exploitation or public POC identified at time of analysis.
RemediationAI
Consult the Apache security advisory at https://lists.apache.org/thread/wxd2wj3p0smvrk84msv317wg5tp3jtw9 for vendor-released patch details and exact fixed version information (not specified in current data). As an immediate compensating control, set polaris.config.allow.unstructured.table.location=false to disable unstructured table location support, which significantly reduces the persisted credential-vending attack surface, though it does not eliminate the underlying pre-write validation bypass. Review and tighten allowedLocations configurations to minimize the blast radius-restrict paths to the narrowest necessary scope per table or tenant rather than broad bucket-level permissions. Implement additional authorization controls at the cloud storage layer (IAM policies, bucket policies) to enforce defense-in-depth even if Polaris credentials are compromised. Audit existing tables for suspicious write.metadata.path values that point outside expected storage hierarchies. Note that disabling unstructured locations may break compatibility with existing table layouts that rely on custom metadata paths, requiring migration planning. Monitor Polaris access logs for ALTER TABLE operations targeting write.metadata.path properties, especially from users who should not be modifying storage configurations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Polaris is a catalog management service for Apache Iceberg tables that controls access to table metadata and mediates cloud storage credentials. The vulnerability exploits a logic flaw in Polaris's commit validation workflow. When users modify only the write.metadata.path table property (which directs where Iceberg metadata files are written), the alteration bypasses the commit-time validation branch that normally revalidates storage locations against the configured allowedLocations allowlist. The root cause is CWE-863 (Incorrect Authorization), where the authorization check for security-sensitive metadata writes is missing from a specific code path. The vulnerability is most severe when polaris.config.allow.unstructured.table.location=true, which permits tables to use arbitrary storage locations within the allowedLocations scope rather than strictly managed paths. This configuration appears to be a documented compatibility mode rather than an edge case. The CVSS 4.0 vector indicates network-accessible exploitation with low attack complexity requiring only low-level privileges (authenticated user with table modification rights) and no user interaction, resulting in high impact across confidentiality, integrity, and availability in both the vulnerable system and subsequent systems (scope change).
Know when Apache Polaris gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from Vendor (apache) · only source for this CVE.
CVSS VectorVendor: apache
Lifecycle Timeline
5DescriptionCVE.org
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.
Executive ViewAI
Apache Polaris contains a critical authentication bypass vulnerability (CVE-2026-42812, CVSS 9.4) that allows authenticated users with table configuration privileges to redirect metadata writes to arbitrary storage locations and obtain cloud credentials for those locations, potentially compromising data across the entire catalog. Organizations running Polaris should immediately assess exposure and isolate affected instances, as this vulnerability directly undermines data governance and access controls in production analytics environments.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable polaris.config.allow.unstructured.table.location if business requirements permit; (2) Restrict table configuration privileges to minimal set of trusted administrators; (3) Implement cloud storage bucket policies and IAM conditions to deny credential issuance for paths outside approved metadata directories; (4) Enable detailed audit logging on all ALTER TABLE operations and cloud credential requests; (5) Monitor for unexpected storage locations in Polaris configuration changes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Apache Polaris
View allCEL injection in Apache Polaris 1.4.0 allows authenticated users to escape credential access boundaries on Google Cloud
Wildcard injection in Apache Polaris table names allows authenticated users to escalate privileges and access unauthoriz
Apache Polaris issues overly-permissive temporary storage credentials during staged table creation, allowing authenticat
EUVD-2026-27039
GHSA-w76p-3cgp-qfcm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB