{"id":"CVE-2026-23985","summary":"Apache Superset: Regular Expression Denial of Service (ReDoS) in SQL Parser","details":"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.\nThe 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\n\nThis issue affects Apache Superset: before 6.0.0.\n\nUsers are recommended to upgrade to version 6.0.0, which fixes the issue. \n\nWorkarounds:\n● WAF Rules: Implement Web Application Firewall (WAF) rules to detect and block\nrequests containing excessively long sequences of backslashes or suspicious repeated\npatterns in the queries.extras.where parameter.\n● Rate Limiting: Ensure strict rate limiting is applied to the /api/v1/chart/data endpoint to\nreduce the impact of potential attacks.","aliases":["BIT-superset-2026-23985"],"modified":"2026-08-17T08:11:06.791074845Z","published":"2026-07-30T16:09:24.026Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23985.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"6.0.0"}]},{"source":"DESCRIPTION","extracted_events":[{"introduced":"1.5.0"},{"fixed":"5.0.0"},{"fixed":"6.0.0"}]}],"cna_assigner":"apache","cwe_ids":["CWE-1333"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/07/30/7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23985.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/fdy7tx7glv90ypd7qnm1g1pt7nn336qx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23985"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/superset","events":[{"introduced":"054e6b23348e4a26efbe50109def40e721e49a2c"},{"fixed":"6a1c30e5e7c3e28d0549c9c2ac0ff61607f26a2f"}],"database_specific":{"extracted_events":[{"introduced":"1.5.0"},{"fixed":"6.0.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23985.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}