CVE-2026-47735: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Basekick-Labs arc
CVE-2026-47735 is a high-severity path traversal vulnerability in Basekick-Labs' Arc time-series database prior to version 26.06.1. The vulnerability arises because Arc's user-SQL validator only blocked certain DuckDB I/O functions via regex denylist, leaving many others unblocked. This allowed scalar table functions in the SELECT list to bypass RBAC checks and access files outside intended directories. The issue is addressed in version 26.06.1 by implementing a structural sandbox at the DuckDB layer that restricts file access to an allowlist and disables further extension installs or loads.
AI Analysis
Technical Summary
Arc, an open SQL-native time-series database, had insufficient validation of user-SQL queries before version 26.06.1. Its validator blocked only specific functions like read_parquet and arc_partition_agg via regex denylist, but many DuckDB I/O functions (e.g., read_csv_auto, read_json, glob) were not blocked. RBAC enforcement inspected only FROM/JOIN clauses, allowing scalar table functions in SELECT to bypass restrictions. This enabled potential path traversal attacks by accessing files outside restricted directories. The vulnerability is fixed in version 26.06.1 by adding a structural sandbox in DuckDB that enforces an allowlist for file access and disables further INSTALL/LOAD commands, though already loaded extensions remain usable. Temporary mitigations include restricting API access to trusted networks or expanding the denylist for dangerous SQL patterns.
Potential Impact
The vulnerability allows an attacker with low privileges and no user interaction to bypass access controls and read files outside the intended restricted directories via unblocked DuckDB I/O functions in SQL queries. This can lead to unauthorized data disclosure. The CVSS 4.0 score is 7.1 (high severity), reflecting network attack vector, low complexity, no privileges required, no user interaction, and high confidentiality impact. There is no known exploitation in the wild reported.
Mitigation Recommendations
A fix is available in Arc version 26.06.1, which implements a structural sandbox at the DuckDB layer to restrict file access to an allowlist and disables further extension installs or loads. Until upgrading, it is recommended to restrict API access to trusted networks using firewall rules. As a temporary workaround, administrators can add additional DuckDB I/O functions such as read_csv*, read_json*, and glob to the dangerousSQLPattern denylist in internal/api/query.go to block them at the SQL validator level.
CVE-2026-47735: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Basekick-Labs arc
Description
CVE-2026-47735 is a high-severity path traversal vulnerability in Basekick-Labs' Arc time-series database prior to version 26.06.1. The vulnerability arises because Arc's user-SQL validator only blocked certain DuckDB I/O functions via regex denylist, leaving many others unblocked. This allowed scalar table functions in the SELECT list to bypass RBAC checks and access files outside intended directories. The issue is addressed in version 26.06.1 by implementing a structural sandbox at the DuckDB layer that restricts file access to an allowlist and disables further extension installs or loads.
CVSS v4.0
Score 7.1high
Affected software
pkg:github/basekick-labs/arcRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Arc, an open SQL-native time-series database, had insufficient validation of user-SQL queries before version 26.06.1. Its validator blocked only specific functions like read_parquet and arc_partition_agg via regex denylist, but many DuckDB I/O functions (e.g., read_csv_auto, read_json, glob) were not blocked. RBAC enforcement inspected only FROM/JOIN clauses, allowing scalar table functions in SELECT to bypass restrictions. This enabled potential path traversal attacks by accessing files outside restricted directories. The vulnerability is fixed in version 26.06.1 by adding a structural sandbox in DuckDB that enforces an allowlist for file access and disables further INSTALL/LOAD commands, though already loaded extensions remain usable. Temporary mitigations include restricting API access to trusted networks or expanding the denylist for dangerous SQL patterns.
Potential Impact
The vulnerability allows an attacker with low privileges and no user interaction to bypass access controls and read files outside the intended restricted directories via unblocked DuckDB I/O functions in SQL queries. This can lead to unauthorized data disclosure. The CVSS 4.0 score is 7.1 (high severity), reflecting network attack vector, low complexity, no privileges required, no user interaction, and high confidentiality impact. There is no known exploitation in the wild reported.
Mitigation Recommendations
A fix is available in Arc version 26.06.1, which implements a structural sandbox at the DuckDB layer to restrict file access to an allowlist and disables further extension installs or loads. Until upgrading, it is recommended to restrict API access to trusted networks using firewall rules. As a temporary workaround, administrators can add additional DuckDB I/O functions such as read_csv*, read_json*, and glob to the dangerousSQLPattern denylist in internal/api/query.go to block them at the SQL validator level.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T22:16:39.503Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a88d6dfacd9273b49d6b7ac
Added to database: 08/21/2026, 22:53:19 UTC
Last enriched: 08/21/2026, 23:07:35 UTC
Last updated: 08/22/2026, 01:34:40 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.