{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "1.5.0"
              },
              {
                "fixed": "6.0.0"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "054e6b23348e4a26efbe50109def40e721e49a2c"
            },
            {
              "fixed": "6a1c30e5e7c3e28d0549c9c2ac0ff61607f26a2f"
            }
          ],
          "repo": "https://github.com/apache/superset",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23985.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "6.0.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      },
      {
        "extracted_events": [
          {
            "introduced": "1.5.0"
          },
          {
            "fixed": "5.0.0"
          },
          {
            "fixed": "6.0.0"
          }
        ],
        "source": "DESCRIPTION"
      }
    ]
  },
  "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.",
  "id": "CVE-2026-23985",
  "modified": "2026-08-12T03:51:30.308287486Z",
  "published": "2026-07-30T16:09:24.026Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Apache Superset: Regular Expression Denial of Service (ReDoS) in SQL Parser"
}