CVE-2018-8021 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in superset. 6 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for superset — see the affected versions and patch details below.
Deserialization of Untrusted Data in superset
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
supersetReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | superset | all versions | 0.23pip install --upgrade 'superset==0.23' |
Affected Products
supersetapacheResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Apache Superset < 0.23 - Remote Code Execution (RCE)
by David May · Dec 3, 2018
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for superset, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update superset to 0.23 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-8021 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2018-8021 in your dependencies?
Find it across PyPI, including transitive dependencies.