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 (CVE-2026-23985) involves a Regular Expression Denial of Service (ReDoS) caused by inefficient regular expression complexity in the sql_parse.py component's SQL_REGEX. The regex contains overlapping disjunctions with a common outer quantifier, which can be exploited by an authenticated attacker sending crafted input strings containing long sequences of backslashes or similar characters to endpoints that process SQL queries, such as /api/v1/chart/data. This causes excessive processing time, leading to denial of service. The issue affects all versions before 6.0.0. The vendor recommends upgrading to version 6.0.0, which fixes the vulnerability. Additional mitigations include WAF rules to detect and block suspicious patterns and rate limiting to reduce attack impact.
Potential Impact
An authenticated attacker can cause a denial of service condition by exploiting the inefficient regular expression in SQL parsing, leading to excessive CPU consumption and potential service disruption. The impact is limited to denial of service and requires authentication, with no indication of data breach or privilege escalation.
Mitigation Recommendations
Users should upgrade to Apache Superset version 6.0.0, which contains the fix for this 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 potential impact of attacks. Patch status is not explicitly confirmed in the vendor advisory, but the upgrade to version 6.0.0 is recommended as the fix.
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
Apache Software Foundation
Apache Superset
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 (CVE-2026-23985) involves a Regular Expression Denial of Service (ReDoS) caused by inefficient regular expression complexity in the sql_parse.py component's SQL_REGEX. The regex contains overlapping disjunctions with a common outer quantifier, which can be exploited by an authenticated attacker sending crafted input strings containing long sequences of backslashes or similar characters to endpoints that process SQL queries, such as /api/v1/chart/data. This causes excessive processing time, leading to denial of service. The issue affects all versions before 6.0.0. The vendor recommends upgrading to version 6.0.0, which fixes the vulnerability. Additional mitigations include WAF rules to detect and block suspicious patterns and rate limiting to reduce attack impact.
Potential Impact
An authenticated attacker can cause a denial of service condition by exploiting the inefficient regular expression in SQL parsing, leading to excessive CPU consumption and potential service disruption. The impact is limited to denial of service and requires authentication, with no indication of data breach or privilege escalation.
Mitigation Recommendations
Users should upgrade to Apache Superset version 6.0.0, which contains the fix for this 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 potential impact of attacks. Patch status is not explicitly confirmed in the vendor advisory, but the upgrade to version 6.0.0 is recommended as the fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-01-19T17:23:00.841Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6b7a5f9c2644c7f858904d
Added to database: 07/30/2026, 16:22:55 UTC
Last enriched: 08/06/2026, 17:17:37 UTC
Last updated: 09/11/2026, 22:06:32 UTC
Views: 60
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.