CVE-2026-23985: Apache Superset: Regular Expression Denial of Service (ReDoS) in SQL Parser

Published Jul 30, 2026
·
Updated

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

2 affected components
Apache Superset>=1.5.0<=5.0.0, <6.0.0
Apache Superset>=1.5.0<6.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Superset to a version that resolves this vulnerability.

    Fixed in 6.0.0
  2. 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
  3. Compensating control

    Apply strict rate limiting to the /api/v1/chart/data endpoint to reduce exploit attempts.

  4. 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

Jul 30, 2026
CVE Published
via MITRE·04:09 PM
Data Sourced
via MITRE·04:09 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-23985?

The severity of CVE-2026-23985 is medium, with a CVSS score of 5.3.

2

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.

3

What type of vulnerability is CVE-2026-23985?

CVE-2026-23985 is classified as a Regular Expression Denial of Service (ReDoS) vulnerability.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203