CVE-2026-42093

Redash: SQL Injection via Query Results parameterized query substitution

Published Oct 14, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Redash is a package for data visualization and sharing. From versions after 8.0.0 until 26.9.0, the Query Results query runner in redash/query_runner/query_results.py accepts param_query_N_{key=value} parameters and passed attacker-controlled values to replace_query_parameters() for raw substitution into a referenced query's SQL. This path bypassed the ParameterizedQuery schema validation used by normal query execution and omitted the is_safe permission check. An authenticated user with at least view-only access to both the Query Results data source and the referenced data source could therefore inject SQL through text parameters and execute it with the referenced data source's privileges. This issue is fixed in version 26.9.0.

Analysis

AI-generated

Technical impact

Redash’s Query Results query runner, active for versions 8.0.0 through 26.9.0, processes URLs containing param_query_N_… segments that pass attacker‑controlled values to replace_query_parameters() for raw substitution into a referenced query’s SQL. This bypasses the normal ParameterizedQuery schema validation and omits the is_safe permission check. An authenticated user who has at least view‑only access to both the Query Results data source and the referenced data source can thus inject arbitrary SQL and run it with the referenced data source’s privileges, enabling data exfiltration, unauthorized modification, or escalation of privileges within the database.

Affected Systems

The vulnerability affects installations of getredash: redash from version 8.0.0 up to, but not including, 26.9.0. Any Redash deployment that has not been updated to 26.9.0 or later is susceptible. The affected component is the Query Results query runner located in redash/query_runner/query_results.py, operating within the Redash application framework.

Risk and Exploitability

The CVSS base score of 8.7 classifies this flaw as High severity. The EPSS score is <1%, indicating a very low probability of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. The likely attack vector requires an authenticated session with at least view‑only permissions on the relevant data sources; once those conditions are met, exploitation is straightforward via the web interface, allowing arbitrary SQL execution with the data source’s privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Redash to version 26.9.0 or later, which removes the unsafe parameter substitution logic.
  • Restrict view‑only access to Query Results and referenced data sources so that only trusted users have even minimal permissions.
  • Disable the Query Results query runner if it is not required for business operations, or monitor query logs for unexpected SQL statements to detect potential abuse.

Generated by OpenCVE AI on October 15, 2026 at 15:00 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 versions after 8.0.0 until 26.9.0, the Query Results query runner in redash/query_runner/query_results.py accepts param_query_N_{key=value} parameters and passed attacker-controlled values to replace_query_parameters() for raw substitution into a referenced query's SQL. This path bypassed the ParameterizedQuery schema validation used by normal query execution and omitted the is_safe permission check. An authenticated user with at least view-only access to both the Query Results data source and the referenced data source could therefore inject SQL through text parameters and execute it with the referenced data source's privileges. This issue is fixed in version 26.9.0.
Title Redash: SQL Injection via Query Results parameterized query substitution
Weaknesses CWE-89
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 14, 2026, 7:35 PM
Reserved
Apr 23, 2026, 7:17 PM
Status
Deferred
Published
Oct 14, 2026, 6:17 PM
Modified
Oct 16, 2026, 8:04 PM