CVE-2026-42810
CVE-2026-42810 is a security vulnerability in org.apache.polaris:polaris-core. O3 Security confirms whether CVE-2026-42810 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.
Apache Polaris: could broaden vended S3 credentials through wildcard-bearing namespace or table names
Blast Radius
org.apache.polaris:polaris-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.polaris:polaris-core | all versions | 1.4.1 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.polaris:polaris-core. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.
Fix
Update org.apache.polaris:polaris-core to 1.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-42810 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 pinpoints whether CVE-2026-42810 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.
Tailored to CVE-2026-42810. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2026-42810 in your dependencies?
O3 detects CVE-2026-42810 across Maven dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.