CVE-2026-23985: CWE-1333 Inefficient Regular Expression Complexity in Apache Software Foundation Apache Superset
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 sql_parse.py component, specifically within the SQL_REGEX 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.
AI Analysis
Technical Summary
This vulnerability in Apache Superset versions prior to 6.0.0 involves a Regular Expression Denial of Service (ReDoS) caused by inefficient regular expression complexity in the sql_parse.py component's SQL_REGEX. The affected regex contains overlapping disjunctions with a common outer quantifier, which can be exploited by an authenticated attacker sending maliciously crafted input strings (notably long sequences of backslashes) to SQL query processing endpoints. This can cause excessive CPU consumption leading to denial of service. The issue is fixed in version 6.0.0. Mitigations include WAF rules targeting suspicious query patterns and rate limiting the /api/v1/chart/data endpoint.
Potential Impact
An authenticated attacker can cause a denial of service condition by triggering excessive CPU usage through crafted input strings exploiting the inefficient regular expression in SQL parsing. This impacts availability by potentially making the service unresponsive or slow. There is no indication of privilege escalation, data confidentiality, or integrity impact.
Mitigation Recommendations
A fix is available in Apache Superset version 6.0.0; users should upgrade to this version to remediate the vulnerability. Until upgrading, implement Web Application Firewall (WAF) rules to detect and block requests with excessively long sequences of backslashes or suspicious repeated patterns in the queries.extras.where parameter. Additionally, apply strict rate limiting on the /api/v1/chart/data endpoint to reduce the impact of potential attacks.
CVE-2026-23985: CWE-1333 Inefficient Regular Expression Complexity in Apache Software Foundation Apache Superset
Description
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 sql_parse.py component, specifically within the SQL_REGEX 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.
CVSS v4.0
Score 5.3medium
Affected software
pkg:maven/org.apache.superset/supersetRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Apache Superset versions prior to 6.0.0 involves a Regular Expression Denial of Service (ReDoS) caused by inefficient regular expression complexity in the sql_parse.py component's SQL_REGEX. The affected regex contains overlapping disjunctions with a common outer quantifier, which can be exploited by an authenticated attacker sending maliciously crafted input strings (notably long sequences of backslashes) to SQL query processing endpoints. This can cause excessive CPU consumption leading to denial of service. The issue is fixed in version 6.0.0. Mitigations include WAF rules targeting suspicious query patterns and rate limiting the /api/v1/chart/data endpoint.
Potential Impact
An authenticated attacker can cause a denial of service condition by triggering excessive CPU usage through crafted input strings exploiting the inefficient regular expression in SQL parsing. This impacts availability by potentially making the service unresponsive or slow. There is no indication of privilege escalation, data confidentiality, or integrity impact.
Mitigation Recommendations
A fix is available in Apache Superset version 6.0.0; users should upgrade to this version to remediate the vulnerability. Until upgrading, implement Web Application Firewall (WAF) rules to detect and block requests with excessively long sequences of backslashes or suspicious repeated patterns in the queries.extras.where parameter. Additionally, apply strict rate limiting on the /api/v1/chart/data endpoint to reduce the impact of potential attacks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-01-19T17:23:00.841Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6b7a5f9c2644c7f858904d
Added to database: 07/30/2026, 16:22:55 UTC
Last enriched: 07/30/2026, 16:41:33 UTC
Last updated: 07/31/2026, 00:16:16 UTC
Views: 6
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.