CVE-2026-55098

Arc: DuckDB I/O aliases bypass database RBAC after CVE-2026-47735

Published Oct 30, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Arc is an open, SQL-native time-series database for telemetry. Prior to the repository-verified 26.06.2 repair, the remediation of `CVE-2026-47735` leaves a cross-database authorization bypass through DuckDB table-valued I/O functions. In `internal/database/sandbox.go`, `allowed_directories` uses `cfg.LocalStorageRoot`, configured by `storage.local_path`, while `enable_external_access=false` blocks access outside that entire multi-tenant root. `GetStoragePath` in `internal/storage/util.go` stores all databases beneath it. In `internal/api/query.go`, `extractTableReferences` skips names followed by an opening parenthesis and `checkQueryPermissions` allows queries with no extracted table references, including tokens with `permissions: []`. The `userSQLReadParquetPattern` denylist catches literal `read_parquet(` and the earlier protection also blocks `arc_partition_agg(`, but misses the `parquet_scan` alias and `glob`, `parquet_metadata`, `parquet_schema`, `read_blob`, `read_csv_auto`, `read_json` and `read_text`. A request to `POST /api/v1/query` using these unblocked functions passes `ValidateSQLRequest` and `convertSQLToStoragePaths` without tenant authorization, allowing reads and enumeration of other databases' time-series data, schema and per-column value-range statistics within the allowlisted root. The sandbox still blocks out-of-root OS files and HTTP SSRF, and the sibling SQLite token database outside the root is not exposed by this mechanism. The earlier 26.06.1 remediation does not comprehensively deny these I/O functions. Repository tag 26.06.2 contains the I/O-function repair and supplies the provisional remediation boundary; conflicting advisory affected-version statements require curator adjudication.

Analysis

AI-generated

Technical impact

Arc contains a cross‑database authorization bypass that allows an attacker to execute DuckDB table‑valued I/O functions from a tenant’s query context without proper tenant authorization. This flaw can be exploited through crafted SQL statements sent to the /api/v1/query endpoint, enabling the attacker to read other tenants’ time‑series data, enumerate schemas, and retrieve per‑column statistics. The vulnerability is the result of a missing denylist for several I/O aliases such as parquet_scan, glob, parquet_metadata, parquet_schema, read_blob, read_csv_auto, read_json, and read_text, after the remediation of an earlier CVE. The weakness is classified as Information Exposure (CWE‑200) and Authorization Bypass (CWE‑863).

Affected Systems

The issue affects Basekick‑Labs Arc versions prior to 26.06.2, including the 26.06.1 release and earlier builds. The 26.06.2 tag includes the necessary I/O function repair and boundary fixes.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. EPSS data is unavailable, but the flaw is not listed in CISA KEV, suggesting no widespread exploitation yet. The likely attack vector is sending malicious SQL to the REST API, and the attack requires authentication but can be leveraged by a compromised tenant account or an attacker who gains access to the API endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Arc to version 26.06.2 or later to apply the I/O function repair.
  • If an immediate upgrade is not possible, apply the temporary manual restriction by updating the query validation to block the unapproved I/O aliases such as parquet_scan, glob, parquet_metadata, parquet_schema, read_blob, read_csv_auto, read_json, and read_text.
  • Ensure storage.local_path is isolated per tenant and that enable_external_access remains false, maintaining the intended sandbox boundaries.

Generated by OpenCVE AI on October 30, 2026 at 21:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-93cm-2v4m-c56c Arc: DuckDB I/O aliases bypass database RBAC after CVE-2026-47735
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Basekick-labs
Basekick-labs arc
Vendors & Products Basekick-labs
Basekick-labs arc
Type Values Removed Values Added
Description Arc is an open, SQL-native time-series database for telemetry. Prior to the repository-verified 26.06.2 repair, the remediation of `CVE-2026-47735` leaves a cross-database authorization bypass through DuckDB table-valued I/O functions. In `internal/database/sandbox.go`, `allowed_directories` uses `cfg.LocalStorageRoot`, configured by `storage.local_path`, while `enable_external_access=false` blocks access outside that entire multi-tenant root. `GetStoragePath` in `internal/storage/util.go` stores all databases beneath it. In `internal/api/query.go`, `extractTableReferences` skips names followed by an opening parenthesis and `checkQueryPermissions` allows queries with no extracted table references, including tokens with `permissions: []`. The `userSQLReadParquetPattern` denylist catches literal `read_parquet(` and the earlier protection also blocks `arc_partition_agg(`, but misses the `parquet_scan` alias and `glob`, `parquet_metadata`, `parquet_schema`, `read_blob`, `read_csv_auto`, `read_json` and `read_text`. A request to `POST /api/v1/query` using these unblocked functions passes `ValidateSQLRequest` and `convertSQLToStoragePaths` without tenant authorization, allowing reads and enumeration of other databases' time-series data, schema and per-column value-range statistics within the allowlisted root. The sandbox still blocks out-of-root OS files and HTTP SSRF, and the sibling SQLite token database outside the root is not exposed by this mechanism. The earlier 26.06.1 remediation does not comprehensively deny these I/O functions. Repository tag 26.06.2 contains the I/O-function repair and supplies the provisional remediation boundary; conflicting advisory affected-version statements require curator adjudication.
Title Arc: DuckDB I/O aliases bypass database RBAC after CVE-2026-47735
Weaknesses CWE-200
CWE-863
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 2, 2026, 3:00 PM
Reserved
Jun 16, 2026, 2:41 PM
Status
Deferred
Published
Oct 30, 2026, 8:17 PM
Modified
Nov 2, 2026, 7:35 PM