Vulnerability record · CVE-2018-8021 · published 7 November 2018
CVE-2018-8021: Apache Superset pickle deserialization remote code execution
Apache · Superset
Apache Superset versions prior to 0.23 deserialized data with an unsafe pickle load method, allowing untrusted serialized data to be executed as code. Because the flaw is reachable over the network without credentials, it exposes pre-0.23 deployments to full remote code execution.
Description
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. Note Superset 0.23 was released prior to any Superset release under the Apache Software Foundation.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8 with network, unauthenticated, no-interaction exploitation, public exploit code and a high EPSS score make this a critical pre-auth RCE for unpatched Superset deployments.
What it is
Apache Superset versions prior to 0.23 deserialized data with an unsafe pickle load method, allowing untrusted serialized data to be executed as code. Because the flaw is reachable over the network without credentials, it exposes pre-0.23 deployments to full remote code execution.
Impact
An attacker can execute arbitrary code on the Superset server, leading to complete compromise of confidentiality, integrity and availability of the host and its data.
Attack surface
The CVSS vector is network-reachable with no privileges and no user interaction, so the vulnerable deserialization path can be hit directly by an unauthenticated remote request. The description does not specify the exact endpoint or parameter involved.
Exploitation
CVE-2018-8021 is not listed in CISA KEV, but an Exploit-DB entry exists and EPSS gives a 30-day probability of about 0.53 (98.9th percentile), indicating public exploit code and elevated likelihood of exploitation.
What to do
- Upgrade Superset to 0.23 or later, which replaced the unsafe pickle load method; note 0.23 predates the Apache Software Foundation releases.
- If immediate upgrade is not possible, restrict network access to the Superset web interface to trusted networks only.
- Search the codebase and any custom integrations for pickle.load or pickle.loads usage and replace with a safe serialization format.
- Monitor for and block requests attempting to submit serialized pickle payloads to Superset endpoints.
- Treat any pre-0.23 Superset instance as potentially compromised and review logs for unexpected process execution.
Detection
- Review Superset access logs for anomalous POST or GET requests to endpoints that handle serialized data, especially from unexpected source IPs.
- Monitor for child processes spawned by the Superset web service, such as shells or interpreters, which would indicate code execution.
- Alert on outbound network connections from the Superset host to unfamiliar destinations following web requests.
- Inventory deployed Superset versions and flag any instance running below 0.23.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/apache/incubator-superset/pull/4243 | PatchThird Party Advisory |
| https://www.exploit-db.com/exploits/45933/ | ExploitThird Party AdvisoryVDB Entry |
| https://github.com/apache/incubator-superset/pull/4243 | PatchThird Party Advisory |
| https://www.exploit-db.com/exploits/45933/ | ExploitThird Party AdvisoryVDB Entry |
Track CVE-2018-8021 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-8021), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.