CVE-2026-42810
JSON

9.4critical

Apache Polaris: could broaden vended S3 credentials through wildcard-bearing namespace or table names

Severity
9.4critical CVSS:4.0 by apache
Exploit likelihood
0.69% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-vxgg-mqx2-3w59

Description

Apache Polaris accepts literal `*` characters in namespace and table names. When it later builds temporary S3 access policies for delegated table access, those same characters appear to be reused unescaped in S3 IAM resource patterns and `s3:prefix` conditions. In S3 IAM policy matching, `*` is treated as a wildcard rather than as ordinary text. That means temporary credentials issued for one crafted table can match the storage path of a different table. In private testing against Polaris 1.4.0 using Polaris' AWS S3 temporary- credential path on both MinIO and real AWS S3, credentials returned for crafted tables such as `f*.t1`, `f*.*`, `*.*`, and `foo.*` could reach other tables' S3 locations. The confirmed behavior includes: - reading another table's metadata control file ([Iceberg metadata JSON]); - listing another table's exact S3 table prefix ([table prefix]); - and, when write delegation was returned for the crafted table, creating and deleting an object under another table's exact S3 table prefix. A control case using ordinary different names did not allow the same cross-table access. A least-privilege AWS S3 variant was also confirmed in which the attacker principal had no Polaris permissions on the victim table and only the minimal permissions required to create and use a crafted wildcard table (namespace-scoped `TABLE_CREATE` and `TABLE_WRITE_DATA` on `*`). In that setup, direct Polaris access to `foo.t1` remained forbidden, but the attacker could still create and load `*.*`, receive delegated S3 credentials, and use those credentials to list, read, create, and delete objects under `foo.t1`. In Iceberg, the metadata JSON file is a control file: it tells readers which data files belong to the table, which snapshots exist, and which table version to read. So unauthorized access to it is already a meaningful confidentiality problem. The confirmed write-capable variant means the issue is not limited to disclosure.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Polarisbefore 1.4.1CVE List
org.apache.polaris:polaris-core (Maven)before 1.4.1GitHub Advisory Database
apache polarisbefore 1.4.1NVD

All scores

apache9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
apache9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Classification

CWE-20CWE-116

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Apache Polaris accepts literal `*` characters in namespace and table names. When it later builds temporary S3 access policies for delegated table access, those same characters appear to be reused unescaped in S3 IAM resource patterns and `s3:prefix` conditions. In S3 IAM policy matching, `*` is treated as a wildcard rather than as ordinary text. That means temporary credentials issued for one crafted table can match the storage path of a different table. In private testing against Polaris 1.4.0 using Polaris' AWS S3 temporary- credential path on both MinIO and real AWS S3, credentials returned for crafted tables such as `f*.t1`, `f*.*`, `*.*`, and `foo.*` could reach other tables' S3 locations. The confirmed behavior includes: - reading another table's metadata control file ([Iceberg metadata JSON]); - listing another table's exact S3 table prefix ([table prefix]); - and, when write delegation was returned for the crafted table, creating and deleting an object under another table's exact S3 table prefix. A control case using ordinary different names did not allow the same cross-table access. A least-privilege AWS S3 variant was also confirmed in which the attacker principal had no Polaris permissions on the victim table and only the minimal permissions required to create and use a crafted wildcard table (namespace-scoped `TABLE_CREATE` and `TABLE_WRITE_DATA` on `*`). In that setup, direct Polaris access to `foo.t1` remained forbidden, but the attacker could still create and load `*.*`, receive delegated S3 credentials, and use those credentials to list, read, create, and delete objects under `foo.t1`. In Iceberg, the metadata JSON file is a control file: it tells readers which data files belong to the table, which snapshots exist, and which table version to read. So unauthorized access to it is already a meaningful confidentiality problem. The confirmed write-capable variant means the issue is not limited to disclosure.

GitHub Advisory Database

Apache Polaris accepts literal * characters in namespace and table names. When it later builds temporary S3 access policies for delegated table access, those same characters appear to be reused unescaped in S3 IAM resource patterns and s3:prefix conditions.

In S3 IAM policy matching, * is treated as a wildcard rather than as ordinary text. That means temporary credentials issued for one crafted table can match the storage path of a different table.

In private testing against Polaris 1.4.0 using Polaris' AWS S3 temporary-credential path on both MinIO and real AWS S3, credentials returned for crafted tables such as f*.t1, f*.*, *.*, and foo.* could reach other tables' S3 locations.

The confirmed behavior includes:

  • reading another table's metadata control file ([Iceberg metadata JSON]);
  • listing another table's exact S3 table prefix ([table prefix]);
  • and, when write delegation was returned for the crafted table, creating and deleting an object under another table's exact S3 table prefix.

A control case using ordinary different names did not allow the same cross-table access.

A least-privilege AWS S3 variant was also confirmed in which the attacker principal had no Polaris permissions on the victim table and only the minimal permissions required to create and use a crafted wildcard table (namespace-scoped TABLE_CREATE and TABLE_WRITE_DATA on *). In that setup, direct Polaris access to foo.t1 remained forbidden, but the attacker could still create and load *.*, receive delegated S3 credentials, and use those credentials to list, read, create, and delete objects under foo.t1.

In Iceberg, the metadata JSON file is a control file: it tells readers which data files belong to the table, which snapshots exist, and which table version to read. So unauthorized access to it is already a meaningful confidentiality problem. The confirmed write-capable variant means the issue is not limited to disclosure.

NVD (es)

Apache Polaris acepta caracteres literales ’*’ en nombres de espacios de nombres y tablas. Cuando posteriormente construye políticas de acceso temporales de S3 para acceso delegado a tablas, esos mismos caracteres parecen ser reutilizados sin escapar en patrones de recursos de S3 IAM y condiciones ’s3:prefix’. En la coincidencia de políticas de S3 IAM, ’*’ es tratado como un comodín en lugar de como texto ordinario. Eso significa que las credenciales temporales emitidas para una tabla manipulada pueden coincidir con la ruta de almacenamiento de una tabla diferente. En pruebas privadas contra Polaris 1.4.0 utilizando la ruta de credenciales temporales de AWS S3 de Polaris tanto en MinIO como en AWS S3 real, las credenciales devueltas para tablas manipuladas como ’f.t1’, ’f.*’, ’*.*’ y ’foo.*’ podían alcanzar las ubicaciones S3 de otras tablas. El comportamiento confirmado incluye: - leer el archivo de control de metadatos de otra tabla ([JSON de metadatos de Iceberg]); - listar el prefijo exacto de la tabla S3 de otra tabla ([prefijo de tabla]); - y, cuando se devolvió la delegación de escritura para la tabla manipulada, crear y eliminar un objeto bajo el prefijo exacto de la tabla S3 de otra tabla. Un caso de control utilizando nombres diferentes ordinarios no permitió el mismo acceso entre tablas. También se confirmó una variante de AWS S3 de mínimo privilegio en la que el principal atacante no tenía permisos de Polaris en la tabla víctima y solo los permisos mínimos requeridos para crear y usar una tabla comodín manipulada (con ámbito de espacio de nombres ’TABLE_CREATE’ y ’TABLE_WRITE_DATA’ en ’*’). En esa configuración, el acceso directo de Polaris a ’foo.t1’ permaneció prohibido, pero el atacante aún podía crear y cargar ’*.*’, recibir credenciales S3 delegadas y usar esas credenciales para listar, leer, crear y eliminar objetos bajo ’foo.t1’. En Iceberg, el archivo JSON de metadatos es un archivo de control: les dice a los lectores qué archivos de datos pertenecen a la tabla, qué instantáneas existen y qué versión de la tabla leer. Por lo tanto, el acceso no autorizado a este ya es un problema significativo de confidencialidad. La variante confirmada con capacidad de escritura significa que el problema no se limita a la divulgación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42810 changed 2026-05-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-vxgg-mqx2-3w59 changed 2026-05-08CC-BY-4.0
NVDCVE-2026-42810 changed 2026-10-26Public domain