CVE-2018-8021: Remote Code Execution in Superset

superset Updated 02 Oct 2025

Summary

07/11/2018
Yes i
Critical
9.8

CVE-2018-8021: Versions of Superset prior to 0.23 used an unsafe load method from the pickle library to deserialize data leading to possible remote code execution. Affects superset versions < 0.23.0. Fixed in 0.23.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Superset is a data exploration and visualization platform that allows users to create interactive dashboards and visualizations. It is widely used for business intelligence and data analytics purposes. However, versions of Superset prior to 0.23 were vulnerable to remote code execution due to the unsafe use of the pickle library for deserialization.

Vulnerability Detail

The vulnerability (CVE-2018-8021) in Superset allowed an attacker to execute arbitrary code remotely. This was possible because the pickle library used an unsafe load method to deserialize data, which could be manipulated by an attacker to execute malicious code on the server. The impact of this vulnerability could be severe, as it could lead to unauthorized access, data theft, or even complete compromise of the affected system.

How To Fix

Minimum fixed version

0.23.0

This is the first release that contains the fix.

pip install --upgrade "superset==0.23.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable the use of pickle for deserialization in Superset. This can be achieved by modifying the configuration to use a safer serialization method, such as JSON or MessagePack. Here's an example of how to modify the configuration file to use JSON serialization:

# superset_config.py

SERIALIZATION_METHOD = 'json'

Conclusion

In conclusion, the CVE-2018-8021 vulnerability in Superset allowed for remote code execution, posing a significant risk to the security and integrity of the affected systems. It is crucial to upgrade to the latest version of Superset or apply the recommended workaround to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for superset →

Share this vulnerability

FAQ

Superset is a data exploration and visualization platform used for creating interactive dashboards and visualizations.

The vulnerability allows an attacker to execute arbitrary code remotely, potentially leading to unauthorized access, data theft, or complete compromise of the affected system.

To fix this vulnerability, upgrade Superset to version 0.23.0 or later, which includes the necessary security patches.

A temporary workaround is to disable the use of pickle for deserialization in Superset by modifying the configuration to use a safer serialization method, such as JSON or MessagePack.

Related vulnerabilities

Recent vulnerabilities recorded for superset.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.23.0

This is the first release that contains the fix.

pip install --upgrade "superset==0.23.0"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback