Apache Polaris authorization bypass in table rename operation
Apache Polaris from 0.9.0 through 1.8.0 has an incorrect authorization flaw in table rename into another namespace, which skips location checks applied on create. Fixed in 1.9.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 1.9.0
- Who is exposed
- Specific setups only
Summary
Apache Polaris has an incorrect authorization flaw in its table rename operation. An authenticated attacker with low privileges can exploit it remotely over the network by renaming a table into another namespace while it keeps a storage location outside that namespace's boundaries. The storage credentials issued for that table then remain valid after the attacker's access to the original namespace is revoked, so the attacker can read, overwrite, or delete the table's data.
Written by a model
Original description
When a table was renamed into a different namespace, Polaris did not validate the table's stored locations against the destination namespace, as it does when a table is created: neither the catalog's allowed locations, nor the namespace boundary (unless ALLOW_UNSTRUCTURED_TABLE_LOCATION is enabled), nor overlap with the destination's sibling tables was checked, and the renamed table kept its old location. In addition, the location checks applied to existing tables when committing and when vending storage credentials did not compare the table's location with its parent namespace's location. A principal able to create and drop tables in one namespace and create tables in another could therefore cause a table to point outside the boundaries of its namespace, including at the location of tables that are created later by other principals. Storage credentials vended for the renamed table then covered that data and remained valid for access after the principal's privileges on the original namespace were revoked, allowing the data to be read, overwritten or deleted. Views are affected by the same rename gap, but Polaris does not vend credentials for views.
Exploitation requires an authenticated principal with permission to create and drop tables in the source namespace, to create tables in the destination namespace, and to read and write data on the renamed table, plus another principal that later creates tables under the location the attacker has claimed. The optimized sibling check (OPTIMIZED_SIBLING_CHECK), when enabled, prevents the overlap part of the issue but not the missing namespace-boundary validation.
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, a table or view rename validates locations as if the entity were created in the destination namespace, and existing tables are validated against their parent namespace's location on commit and credential vending. Note that this is a behavior change: with ALLOW_UNSTRUCTURED_TABLE_LOCATION=false (the default), renaming a table into another namespace is only possible if its location lies within the destination namespace's location, and existing tables whose location lies outside their namespace's location are refused at commit and credential vending with HTTP 403.
Who should check
Teams running Apache Polaris 0.9.0 through 1.8.0 that let principals rename tables into other namespaces
“This issue affects Apache Polaris: from 0.9.0 before 1.9.0.”
What to do
Check whether your setup matches what the bug needs.
Apache Polaris from 0.9.0 before 1.9.0 (affected through 1.8.0). A table rename into another namespace skips the location checks that apply on create. The OPTIMIZED_SIBLING_CHECK setting does not cover the missing namespace-boundary check. Another principal later creates tables under the location the attacker has claimed.Upgrade to a fixed version: 1.9.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-129974 (Apache Polaris: Incorrect authorization in table rename operation), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-129974 (entry last updated 2026-12-04):
Affected:
- Apache Software Foundation Apache Polaris: from 0.9.0-incubating, through 1.8.0
Fixed versions: 1.9.0.
Conditions (all must be true for the bug to be hit):
- Apache Polaris from 0.9.0 before 1.9.0 (affected through 1.8.0). (source: https://www.openwall.com/lists/oss-security/2026/12/04/8)
- A table rename into another namespace skips the location checks that apply on create. The OPTIMIZED_SIBLING_CHECK setting does not cover the missing namespace-boundary check. (source: https://www.openwall.com/lists/oss-security/2026/12/04/8)
- Another principal later creates tables under the location the attacker has claimed. (source: https://www.openwall.com/lists/oss-security/2026/12/04/8)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
CISA KEV: CVE-2026-129974 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-129974 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://lists.apache.org/thread.html/hzp2jppq41jhc6hb0lco2srtzvlhx5s7
- https://github.com/apache/polaris/pull/5856
- https://github.com/apache/polaris/releases/tag/apache-polaris-1.9.0
- http://www.openwall.com/lists/oss-security/2026/12/04/8
- https://www.openwall.com/lists/oss-security/2026/12/04/8
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-129974
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-129974"}.Affected versions
- Apache Software Foundation Apache PolarisFrom 0.9.0-incubating · through 1.8.0
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure8/25Specific setups only, reachable over the network
- Reach?/20Unknown. No tracked technology or package matched
- Severity7.7/10CVSS 7.7
- No patch0/5No signal
What would change the score
- Would score about 66 if added to CISA KEV
- Would score about 61 if CISA's SSVC rates exploitation active
- Would score about 23 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | lists.apache.org · thread.html/hzp2jppq41jhc6hb0lco2srtzvlhx5s7 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-129974 |
| Record | NVD · CVE-2026-129974 |
| Write-ups 1Establishes: Technical detail and context. | |
| Link | openwall.com · lists/oss-security/2026/12/04/8 |
| Other links 2 | |
| Patch | GitHub · apache/polaris · Pull request #5856 |
| Repository | GitHub · apache/polaris · Release apache-polaris-1.9.0 |
Questions about CVE-2026-129974
Is CVE-2026-129974 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
Renaming a table into another namespace skips the location checks that apply when a table is created, so a table can be pointed outside its namespace. Vended storage credentials, which stay valid after privileges are revoked, can then be used to read, overwrite or delete the data.
Source: openwall.com
Which versions are affected by CVE-2026-129974?
Apache Polaris: from 0.9.0-incubating through 1.8.0.
Source: cve.now feed data
Am I affected, and how do I check?
Apache Polaris from 0.9.0 before 1.9.0 is affected, with 1.8.0 as the last affected version. The OPTIMIZED_SIBLING_CHECK setting does not cover the missing namespace-boundary check, so the setting does not change this exposure.
Source: openwall.com
How do I fix CVE-2026-129974?
Upgrade to Apache Polaris 1.9.0, which fixes the issue.
Source: openwall.com
Related
- CVE-2026-42810Apache Polaris: could broaden vended S3 credentials through wildcard-bearing namespace or table names
- CVE-2026-42811Apache Polaris: could broaden vended GCS credentials through unescaped identifier content in access-boundary CEL conditions
- CVE-2026-42809Apache Polaris: staged table creation could vend storage credentials for unvalidated locations
- CVE-2026-42812Apache Polaris: No protection on `write.metadata.path`
- CVE-2026-130019Apache Polaris: Improper verification of table metadata
- CVE-2026-97395Apache Polaris: Allows authorized table writers to redirect server-side Iceberg FileIO requests to attacker-controlled endpoints using operation-scoped storage credentials
No corrections so far. Something wrong on this page? Report an error.