CVE-2025-55674: Apache superset Apache Superset Has Bypass Of Vulnerability

MODERATE
Advisory Identifier: GHSA-fxgf-3xh6-m2pp
CWE-89
Published
Advisory Summary

CVE-2025-55674 is a MODERATE apache superset has bypass of 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 has bypass of `disallowed_sql_functions` that allows execution of blocked sql functions. Remediation is available by upgrading affected packages to version 5.0.0.

CVE-2025-55674 at a Glance

CVE Identifier CVE-2025-55674
GHSA Identifier GHSA-fxgf-3xh6-m2pp
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Apache superset
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2025-55674

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.

apache-superset fixed: 5.0.0
pip install apache-superset>=5.0.0
Verify Direct and Transitive Dependencies

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-2025-55674, 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 5.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

A bypass of the DISALLOWED_SQL_FUNCTIONS security feature in Apache Superset allows for the execution of blocked SQL functions. An attacker can use a special inline block to circumvent the denylist. This allows a user with SQL Lab access to execute functions that were intended to be disabled, leading to the disclosure of sensitive database information like the software version. This issue affects Apache Superset: before 5.0.0. Users are recommended to upgrade to version 5.0.0, which fixes the issue.

CVE-2025-55674 Affected Apache superset Versions

1 component(s)
Fixed Versions:
5.0.0
Product / Package Ecosystem Affected Versions Fixed Version
apache-superset
PyPI
< 5.0.0
5.0.0

References

Frequently Asked Questions

What is CVE-2025-55674?
CVE-2025-55674 is a security vulnerability in Apache superset involving Apache Superset has bypass of `DISALLOWED_SQL_FUNCTIONS` that allows execution of blocked SQL functions under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Apache superset versions are affected?
Affected versions include releases prior to 5.0.0 across affected packages: apache-superset.
What version fixes CVE-2025-55674?
Upgrading to 5.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is apache-superset affected?
Yes, apache-superset is affected in releases prior to 5.0.0. Upgrade your dependency to 5.0.0 or later.
What CWE is associated with CVE-2025-55674?
CVE-2025-55674 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (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.).
How can I check PyPI dependencies for CVE-2025-55674?
Run the dependency tree command: 'pip show apache-superset'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-fxgf-3xh6-m2pp",
  "modified" : "2025-11-05T20:39:31Z",
  "published" : "2025-08-14T15:30:44Z",
  "aliases" : [ "CVE-2025-55674" ],
  "summary" : "Apache Superset has bypass of `DISALLOWED_SQL_FUNCTIONS` that allows execution of blocked SQL functions",
  "details" : "A bypass of the DISALLOWED_SQL_FUNCTIONS security feature in Apache Superset allows for the execution of blocked SQL functions. An attacker can use a special inline block to circumvent the denylist. This allows a user with SQL Lab access to execute functions that were intended to be disabled, leading to the disclosure of sensitive database information like the software version.\n\nThis issue affects Apache Superset: before 5.0.0.\n\nUsers are recommended to upgrade to version 5.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" : "5.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55674"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/superset"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/cn49ps15ny3g2b1qzdg5mj7hp47p5jdo"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/08/14/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-14T17:36:27Z",
    "nvd_published_at" : "2025-08-14T14:15:34Z"
  }
}