CVE-2026-77371

Redash: DuckDB query runner allows arbitrary file read/write via unrestricted external access

Published Oct 14, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
Redash is a package for data visualization and sharing. From 26.0.0 until 26.9.0, the DuckDB query runner's _connect() path in redash/query_runner/duckdb.py created connections with enable_external_access left at its default value of true. A user with query access to an administrator-created DuckDB data source could use native file-reading functions to retrieve files readable by the Redash process or use COPY TO to write files with that process's privileges. Reading application secrets such as REDASH_COOKIE_SECRET or REDASH_SECRET_KEY could also enable forged sessions and authentication bypass. This issue is fixed in version 26.9.0.

Analysis

AI-generated

Technical impact

A vulnerability in the DuckDB query runner of the Redash data visualization tool allows a user with query access to an administrator‑created DuckDB data source to read or write any file accessible to the Redash process. The flaw arises because the _connect() method leaves enable_external_access set to its default true value. This permits use of native file‑reading functions or COPY TO commands, enabling the extraction of application secrets such as REDASH_COOKIE_SECRET or REDASH_SECRET_KEY and potentially leading to credential theft or session forging. The weakness is an improper access control flaw (CWE-284).

Affected Systems

The issue affects instances of Redash version 26.0.0 through 26.8.x inclusive. The vulnerability was addressed in Redash 26.9.0 and later releases. Products governed by the getredash:redash CNA are impacted when running any affected version without the patch.

Risk and Exploitability

With a CVSS score of 9.3, this vulnerability poses a severe risk to confidentiality, integrity, and availability. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the high CVSS indicates a high likelihood of exploitation. Attackers can leverage the Redash web interface or API to issue DuckDB queries; if the Redash service runs under a privileged account, successful exploitation would grant file system access with those privileges. The absence of a mitigations change in the original code means the flaw remains exploitable until the patch or manual mitigation is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Redash deployment to version 26.9.0 or later, which removes the insecure default setting for enable_external_access.
  • Revoke or limit query access for user accounts that are permitted to use administrator‑created DuckDB data sources, preventing them from issuing file‑system oriented commands.
  • Ensure the Redash process runs with the lowest practical system privileges and audit file permissions to restrict write access to essential directories only.

Generated by OpenCVE AI on October 15, 2026 at 14:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redash
Redash redash
Vendors & Products Redash
Redash redash
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Redash is a package for data visualization and sharing. From 26.0.0 until 26.9.0, the DuckDB query runner's _connect() path in redash/query_runner/duckdb.py created connections with enable_external_access left at its default value of true. A user with query access to an administrator-created DuckDB data source could use native file-reading functions to retrieve files readable by the Redash process or use COPY TO to write files with that process's privileges. Reading application secrets such as REDASH_COOKIE_SECRET or REDASH_SECRET_KEY could also enable forged sessions and authentication bypass. This issue is fixed in version 26.9.0.
Title Redash: DuckDB query runner allows arbitrary file read/write via unrestricted external access
Weaknesses CWE-284
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 7:36 PM
Reserved
Aug 20, 2026, 7:36 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 6:18 PM
Modified
Oct 16, 2026, 4:00 PM