CVE-2023-37941: Remote Code Execution via crafted Python object in Apache Superset metadata database
- Vendor
- Apache Software Foundation
CVE-2023-37941 is a deserialization-related vulnerability in Apache Superset affecting versions 1.5.0 through 2.1.0. If an attacker obtains write access to the Superset metadata database, they can persist a specially crafted Python object in that database. When the Superset web backend later processes that object, it may result in remote code execution in the backend process context. The issue is notable because the vulnerable data path relies on the application's trust in objects stored in its internal metadata database.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation may allow remote code execution on the Apache Superset web backend. An attacker who can write malicious serialized Python object data into the metadata database could execute arbitrary code with the privileges of the Superset backend process, potentially leading to full compromise of the Superset application instance, access to application secrets and connected data sources, further lateral movement from the host, and persistence.
Mitigation
If you can’t patch tonight, do this now.
Restrict and monitor access to the Apache Superset metadata database, as exploitation requires write access to that internal database. Ensure only the Superset process and authorized administrators can access it, enforce least privilege for database accounts, rotate credentials if compromise is suspected, and monitor for unauthorized modifications to metadata records or unexpected serialized Python objects. Network-segment the metadata database and prevent direct access from untrusted systems.
Remediation
Patch, then assume compromise.
Upgrade Apache Superset to version 2.1.1 or later. The provided advisory explicitly states that versions 1.5.0 through 2.1.0 are affected and recommends upgrading to 2.1.1+.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-37941 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2023-37941 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-37941?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-37941, the earliest disclosed Sep 6, 2023.
- Is there a patch for CVE-2023-37941?
- Upgrade Apache Superset to version 2.1.1 or later. The provided advisory explicitly states that versions 1.5.0 through 2.1.0 are affected and recommends upgrading to 2.1.1+.
- What products are affected by CVE-2023-37941?
- Apache Software Foundation Superset.
- How severe is CVE-2023-37941?
- CVE-2023-37941 has a CVSS v3.1 score of 6.6 (Medium) and an EPSS score of 35.5% (98th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.