Basekick-Labs Arc CVE-2026-47735
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Arc bearer token
-
DeliveryPOST crafted DuckDB I/O query to /api/v1/query
-
ExploitBypass incomplete SQL denylist
-
ExecutionBypass RBAC SELECT-list blindspot
-
PersistRead arbitrary local files (auth.db, arc.toml, /proc/self/environ)
-
ImpactPivot to cloud IAM via SSRF on httpfs-enabled deployments
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid Arc API bearer token; any token is sufficient, including one provisioned with permissions: [] (empty permission set). No elevated RBAC role, no admin access, and no specific configuration flag is required to trigger the file-read path. The default Arc deployment with authentication enabled but RBAC not fully configured is vulnerable. The SSRF extension of the impact (reaching cloud instance metadata) additionally requires that Arc has loaded the httpfs extension, which occurs automatically in any S3-backed or Azure-backed deployment; non-S3 local-only deployments are not exposed to the SSRF component but remain fully exposed to the local file-read component. Cross-tenant Parquet file access requires a multi-tenant deployment. What limits exploitation: authentication is required - unauthenticated callers cannot reach /api/v1/query; deployments with no issued tokens or with network-level firewall restrictions limiting who can reach the API are partially protected; SSRF is limited to deployments where httpfs is loaded. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) scores 7.1 and accurately reflects the threat model: network-reachable, no attack complexity, no user interaction required, but constrained to authenticated callers (PR:L). The low EPSS of 0.03% (8th percentile) is consistent with a niche product not widely indexed by automated scanners, and Arc is not listed in CISA KEV. Despite the modest EPSS and absent KEV entry, the actual risk to any deployed instance is high: the impact is complete credential exfiltration (all API token hashes, S3 keys, TLS private keys) rather than limited data exposure, and the exploit requires nothing beyond a single HTTP POST with any valid bearer token. The barrier to exploitation is therefore effectively the authentication layer only. The SSRF vector in S3-backed deployments extends the impact to cloud instance metadata (e.g., AWS IMDSv1 at 169.254.169.254), which can yield IAM role credentials and escalate the impact to cloud account compromise. A publicly available detailed proof-of-concept is embedded in the GitHub security advisory. The combination of low exploitation complexity, severe credential-disclosure impact, and a public PoC makes this a real priority for any deployment, despite the low EPSS. |
| Exploit ScenarioDerived | An attacker who has obtained any valid Arc API bearer token - including a token provisioned with an empty permissions list - sends a single HTTP POST to /api/v1/query with the body {"sql": "SELECT * FROM read_csv_auto('/path/to/auth.db', header=false, columns={'l':'VARCHAR'}) LIMIT 5"}. The denylist does not match read_csv_auto, and RBAC table extraction finds no FROM/JOIN clause to check, so the query executes and DuckDB returns the raw file contents as a query result set. The attacker repeats this for arc.toml to harvest S3 credentials, then - on an S3-backed deployment - issues a follow-up query substituting the path with http://169.254.169.254/latest/meta-data/iam/security-credentials/ to retrieve cloud IAM role credentials via SSRF. A detailed proof-of-concept is included in the public GitHub security advisory (GHSA-p2j4-c4g6-rpf5). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 21, 2026
Authenticated arbitrary file read in Basekick-Labs Arc allows any API token holder, regardless of permission scope, to exfiltrate arbitrary server-side files by injecting DuckDB I/O table functions into the SQL query endpoint. The SQL denylist in internal/api/query.go blocked only two specific functions while leaving the broader DuckDB I/O family - read_csv_auto, read_json, read_text, read_blob, glob, parquet_metadata, and others - completely unblocked; RBAC enforcement scanned only FROM/JOIN clauses, so a scalar function in the SELECT list bypassed both layers entirely. Confirmed exfiltration targets include auth.db (all bcrypt and legacy SHA-256 token hashes), arc.toml (S3 credentials and TLS private keys), /proc/self/environ, cross-tenant Parquet files, and - in S3-backed deployments with httpfs loaded - cloud instance metadata endpoints via SSRF. No public exploit identified at time of analysis in CISA KEV, though detailed proof-of-concept code is included in the public GitHub advisory.
Earlier versions of this analysis (1)
Authenticated arbitrary local file read in Basekick Labs Arc analytics platform allows any token holder - even one with an empty permissions array - to exfiltrate sensitive host files (auth.db bcrypt hashes, arc.toml S3/TLS secrets, /proc/self/environ) and pivot to SSRF against cloud metadata endpoints by abusing unblocked DuckDB I/O functions in the SELECT clause. The flaw stems from an incomplete regex denylist in internal/api/query.go that filtered only read_parquet and arc_partition_agg while leaving the wider DuckDB I/O family (read_csv_auto, read_json, read_text, read_blob, glob, parquet_metadata, read_xlsx, etc.) and SELECT-list scalar table functions unguarded. No public exploit identified at time of analysis, but the GHSA advisory ships a working single-request proof-of-concept and the fix is shipped in Arc 2026.06.1.
RemediationAI
Upgrade to Arc release 2026.06.1 (commit 91bdc29d1a02178ccf8c66375eccf85203108dfb, tagged v26.06.1 at https://github.com/Basekick-Labs/arc/releases/tag/v26.06.1). This release replaces the incomplete denylist with a structural DuckDB sandbox: SET GLOBAL allowed_directories enumerates only Arc's legitimate filesystem prefixes (storage roots, tier prefixes, upload directory, compaction temp), and SET GLOBAL enable_external_access = false is applied one-way at startup, preventing re-enablement at runtime. After the upgrade, operators should verify the startup log line 'DuckDB external access locked down (sandbox active)' appears, and note that storage paths in arc.toml (storage.local_path, database.temp_directory, compaction.temp_directory) must resolve to absolute paths - the defaults continue to work but are resolved against the process working directory at startup. The multipart-upload directory has moved from os.TempDir() to ${database.temp_directory}/arc-uploads; monitoring that scrapes /tmp should be updated. If immediate upgrade is not possible, two compensating controls are available from the advisory: (1) extend the dangerousSQLPattern denylist in internal/api/query.go to include read_csv*, read_json*, glob, read_text, read_blob, parquet_metadata, parquet_schema, and read_xlsx - note this is a fragile approach and may not cover future DuckDB I/O additions; (2) restrict network access to the Arc query API endpoint to known-trusted IP ranges via firewall or reverse-proxy ACL, reducing the pool of callers who can reach /api/v1/query. The firewall mitigation does not eliminate the risk for multi-tenant deployments where diverse authenticated users share the same Arc instance.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Arc is a Go-based analytical data platform (pkg:go/github.com/basekick-labs/arc) that embeds DuckDB as its query engine and exposes a SQL execution endpoint at POST /api/v1/query. DuckDB provides a rich set of I/O table functions - read_csv_auto, read_csv, read_json, read_json_auto, read_text, read_blob, glob, parquet_metadata, parquet_schema, read_xlsx - capable of opening arbitrary local filesystem paths and remote URLs when the httpfs extension is loaded. The root cause is CWE-22 (Path Traversal) expressed in two compounding weaknesses: first, an incomplete regex denylist in ValidateSQLRequest (internal/api/query.go) that enumerated only read_parquet( and arc_partition_agg( rather than the full I/O function surface; second, an RBAC extraction pass that parsed only FROM/JOIN clauses, so DuckDB table functions placed in the SELECT list were invisible to table-level permission checks. Together, these allowed any syntactically valid bearer token - including a token whose permissions array was empty - to open and return the contents of any file accessible to the Arc process, as well as any HTTP URL reachable from the server when httpfs was active.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network vector with low privilege (any valid token); no integrity or availability impact; confidentiality is high due to full credential exfiltration.
Primary rating from Vendor (https://github.com/Basekick-Labs/arc).
CVSS VectorVendor: https://github.com/Basekick-Labs/arc
Lifecycle Timeline
2DescriptionCVE.org
Summary
Arc's user-SQL validator (internal/api/query.go:ValidateSQLRequest) blocked only read_parquet( and arc_partition_agg( via regex denylist. The broader DuckDB I/O function family - read_csv_auto, read_csv, read_json, read_json_auto, read_text, read_blob, glob, parquet_metadata, parquet_schema, read_xlsx, etc. - was not blocked. RBAC table-reference extraction inspected only FROM/JOIN clauses, so scalar table functions in the SELECT list slipped past both layers.
Impact
Any authenticated user, including a token with permissions: [], can read arbitrary local files via:
POST /api/v1/query
Authorization: Bearer <token>
{"sql": "SELECT * FROM read_csv_auto('/etc/passwd', header=false, columns={'l':'VARCHAR'}) LIMIT 5"}Confirmed reachable targets:
auth.db- bcrypt hashes for every API token, plus legacy SHA-256 rows.arc.toml- S3 secrets, TLS keys./proc/self/environ- environment-variable secrets.- Cross-tenant Parquet files - bypasses RBAC because the tenant scope is enforced at the table layer, not on raw file paths.
- SSRF when
httpfsis loaded (any S3-backed deployment) -read_csv_auto('http://169.254.169.254/latest/meta-data/...')reaches instance metadata IPs.
Patches
Fixed in 2026.06.1 (PR #442) via a structural sandbox at the DuckDB layer:
SET GLOBAL allowed_directories = [...]enumerates Arc's legitimate filesystem prefixes (storage roots + tier prefixes + import upload dir + compaction temp).SET GLOBAL enable_external_access = false(one-way at runtime).- Verified by reading back the flag.
After lockdown, DuckDB refuses to open any file outside the allowlist and refuses further INSTALL/LOAD. Already-loaded extensions remain callable.
Workarounds
- Restrict API access to known-trusted networks via firewall rules.
- Temporary mitigation: add
read_csv*/read_json*/globetc. todangerousSQLPatternininternal/api/query.gopending 2026.06.1.
Credits
Reported by Alex Manson (@NeuroWinter, https://neurowinter.com/) on 2026-05-19.
Executive ViewAI
Basekick-Labs Arc contains an authenticated file-read vulnerability (CVE-2026-47735) with publicly available exploit code, enabling any API token holder to exfiltrate sensitive server files including database credentials, S3 keys, and TLS private keys. This creates immediate credential exposure and unauthorized data access risk for organizations depending on Arc's API infrastructure. Affected deployments require emergency patch deployment and credential rotation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Affected Products (CPE)CVE.org
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
GHSA-p2j4-c4g6-rpf5
NVD
CVE.org
EPSS
Exploit-DB