CVE-2026-23985: Apache Superset: Regular Expression Denial of Service (ReDoS) in SQL Parser
A Regular Expression Denial of Service (ReDoS) vulnerability exists in Apache Superset versions 1.5.0 through 5.0.0. The vulnerability is located in the sqlparse.py component, specifically within the SQLREGEX used for parsing SQL statements in the sqlparse library integration. The affected regular expression contains overlapping disjunctions that share a common outer quantifier. An authenticated attacker can exploit this by sending a maliciously crafted input string (specifically a long sequence of backslashes or similar characters) to endpoints that process SQL queries
This issue affects Apache Superset: before 6.0.0.
Users are recommended to upgrade to version 6.0.0, which fixes the issue.
Workarounds: ● WAF Rules: Implement Web Application Firewall (WAF) rules to detect and block requests containing excessively long sequences of backslashes or suspicious repeated patterns in the queries.extras.where parameter. ● Rate Limiting: Ensure strict rate limiting is applied to the /api/v1/chart/data endpoint to reduce the impact of potential attacks.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache Supersetto a version that resolves this vulnerability.Fixed in 6.0.0 - Configuration
As a workaround, reduce the impact of potential ReDoS attacks by limiting what patterns can be provided in the queries.extras.where parameter.
Apache Superset queries.extras.where = reduce usage/impact by limiting patterns in the queries.extras.where parameter - Compensating control
Apply strict rate limiting to the /api/v1/chart/data endpoint to reduce exploit attempts.
- Compensating control
Implement Web Application Firewall (WAF) rules to detect and block requests containing excessively long sequences of backslashes or other suspicious repeated characters.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23985?
The severity of CVE-2026-23985 is medium, with a CVSS score of 5.3.
How do I fix CVE-2026-23985?
To mitigate CVE-2026-23985, upgrade Apache Superset to version 5.0.1 or later to eliminate the vulnerability.
What type of vulnerability is CVE-2026-23985?
CVE-2026-23985 is classified as a Regular Expression Denial of Service (ReDoS) vulnerability.
Which versions of Apache Superset are affected by CVE-2026-23985?
CVE-2026-23985 affects Apache Superset versions 1.5.0 through 5.0.0.
What component of Apache Superset is impacted by CVE-2026-23985?
CVE-2026-23985 impacts the sql_parse.py component, specifically the SQL_REGEX used for parsing SQL statements.