CVE-2026-23980: Apache superset SQL Injection Vulnerability
MODERATECVE-2026-23980 is a MODERATE sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Apache superset libraries in the PyPI ecosystem. The issue involves apache superset allows privileged users to conduct error-based sql injection. Remediation is available by upgrading affected packages to version 6.0.0.
CVE-2026-23980 at a Glance
How to Fix CVE-2026-23980
To remediate this vulnerability, upgrade all affected Apache superset dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install apache-superset>=6.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show apache-superset
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-23980, inspect your installed packages using pip:
pip show apache-superset
Analyze the terminal output to locate any version of Apache superset in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.0.0), your application is affected.
Note: The pip show apache-superset command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Apache superset, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-23980 Affected Apache superset Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
apache-superset
|
PyPI |
< 6.0.0
|
6.0.0
|
References
Frequently Asked Questions
What is CVE-2026-23980?
Which Apache superset versions are affected?
What version fixes CVE-2026-23980?
Is apache-superset affected?
What CWE is associated with CVE-2026-23980?
How can I check PyPI dependencies for CVE-2026-23980?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gvxg-9hqx-f4rg",
"modified" : "2026-02-26T15:28:27Z",
"published" : "2026-02-24T15:30:30Z",
"aliases" : [ "CVE-2026-23980" ],
"summary" : "Apache Superset allows privileged users to conduct error-based SQL Injection",
"details" : "Improper Neutralization of Special Elements used in a SQL Command ('SQL Injection') vulnerability in Apache Superset allows an authenticated user with read access to conduct error-based SQL injection via the sqlExpression or where parameters.\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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "apache-superset"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-23980"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/superset"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/h4l02zw1pr2vywv0dc5zjn3grdcdhwf4"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2026/02/24/5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-26T15:28:27Z",
"nvd_published_at" : "2026-02-24T14:16:22Z"
}
}