Apache Polaris: could broaden vended GCS credentials through unescaped identifier content in access-boundary CEL conditions
Apache Software Foundation Apache Polaris
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.polaris:polaris-core Maven |
|
|
Original description
In plain terms, Apache Polaris is supposed to issue short-lived GCS credentials that only work for one table's files, but a crafted namespace or table name can cause those credentials to work across the configured bucket instead.
Apache Polaris builds Google Cloud Storage downscoped credentials by creating a Credential Access Boundary (CAB) with CEL conditions that are intended to restrict access to the requested table's storage path.
The relevant CEL string is built from the bucket name and the table path. That table path is derived from namespace and table identifiers. In current code, that path appears to be inserted into the CEL expression without escaping.