SupersetApplication · Apache

CVE-2025-48912

MEDIUM · 6.5 CVSS v3.1 Published 2025-05-30
Fix available
A fix is available. Upgrade to 4.1.2 or later.
See remediation →
71/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An authenticated malicious actor using specially crafted requests could bypass row level security configuration by injecting SQL into 'sqlExpression' fields. This allowed the execution of sub-queries to evade parsing defenses ultimately granting unauthorized access to data. This issue affects Apache Superset: before 4.1.2. Users are recommended to upgrade to version 4.1.2, which fixes the issue.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache Superset before 4.1.2 contains a SQL injection vulnerability in sqlExpression fields that allows authenticated users to bypass row-level security controls. Attackers can inject sub-queries that evade parsing defenses, enabling unauthorized access to data that should be restricted by row-level security policies.

MitigationUpgrade Apache Superset to version 4.1.2 or later. After upgrading, audit existing row-level security policies and sqlExpression configurations to verify they are functioning as intended.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
SupersetApplication
Affected:< 4.1.2

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine installed Apache Superset version
    Run 'pip show apache-superset' or check the package version in your deployment. In the Superset UI, go to Settings > About to view the version.
    Affected if The installed version is lower than 4.1.2 (e.g., 4.1.1, 4.1.0, 4.0.x, 3.x, or earlier)
  2. Identify if row-level security is enabled
    In Superset UI, navigate to Settings > Row Level Security or query the database for RLS policies in the 'row_level_security' or similar table if using backend storage.
    Affected if Row-level security policies exist and are enforced on any dataset
  3. Locate sqlExpression configurations
    Review your dataset configurations, virtual datasets, or custom SQL metrics. Query the metadata database for entries containing sqlExpression or look in saved datasets where custom SQL expressions are defined.
    Affected if Any dataset or query configuration uses sqlExpression fields that could accept user-controlled input
  4. Check for custom SQL-based security filters
    Examine any row-level security filters that use custom SQL WHERE clauses, particularly those that rely on user attributes or session context.
    Affected if RLS filters contain dynamic SQL expressions that could be manipulated
  5. Audit user permissions and RLS policy assignments
    Review which users or roles are assigned to row-level security policies, especially in datasets with sqlExpression-based filters.
    Affected if Authenticated users with limited permissions have access to datasets protected by sqlExpression-based RLS policies

You are affected if running Apache Superset version below 4.1.2 AND row-level security policies with sqlExpression fields are in use on any dataset.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.1.2 or later
Fixed in 4.1.2
Interim mitigation

Upgrade Apache Superset to version 4.1.2 or later. After upgrading, audit existing row-level security policies and sqlExpression configurations to verify they are functioning as intended.

Recommended fix High confidence

4.1.2

  1. 1. Back up the existing Superset database and configuration files before proceeding with the upgrade.
  2. 2. Upgrade Apache Superset to version 4.1.2 using the appropriate method for your deployment (e.g., pip install apache-superset==4.1.2, docker pull apache/superset:4.1.2, or your package manager).
  3. 3. Restart all Superset services to load the new version.
  4. 4. Verify the upgrade was successful by checking the Superset version in the UI or via command line.
  5. 5. Test that row-level security configurations with sqlExpression fields are functioning correctly and that the SQL injection vulnerability is mitigated.

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Superset Scoped from the published advisory
  • Consultation4.0 h
  • Implementation4.0 h
  • Testing8.0 h
  • Review / QA4.0 h
20.0 hours of engineering $3,440
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,504.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-48912 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-48912 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data