# CVE-2023-27524: Apache Superset: Session validation vulnerability when using provided default SECRET\_KEY

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.9
- **CVSS:** 8.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Yes: in CISA KEV since 2024-01-08; federal due date 2024-01-29
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 90.00% (percentile 100, 2026-11-26)
- **CWE:** CWE-1188
- **Aliases:** BIT-superset-2023-27524, EDB-51447, GHSA-5cx2-vq3h-x52c, PYSEC-2026-1161
- **Published:** 2023-04-24T15:28:16.573Z
- **Modified:** 2026-07-07T17:56:24.545Z

## Who should check

- Projects that depend on PyPI package apache-superset (\< 2.1.0)
- Anyone running Apache Software Foundation Apache Superset \<= 2.0.1

## Description

Session Validation attacks in Apache Superset versions up to and including 2.0.1. Installations that have not altered the default configured SECRET\_KEY according to installation instructions allow for an attacker to authenticate and access unauthorized resources. This does not affect Superset administrators who have changed the default value for SECRET\_KEY config.

All superset installations should always set a unique secure random SECRET\_KEY. Your SECRET\_KEY is used to securely sign all session cookies and encrypting sensitive information on the database.
Add a strong SECRET\_KEY to your \`superset\_config.py\` file like:

SECRET\_KEY = \<YOUR\_OWN\_RANDOM\_GENERATED\_SECRET\_KEY\>

Alternatively you can set it with \`SUPERSET\_SECRET\_KEY\` environment variable.

## Affected and fixed versions

- PyPI `apache-superset`: affected \< 2.1.0; fixed 2.1.0 (osv)
- Apache Software Foundation Apache Superset: \<= 2.0.1 (cvelist)

## Mitigation

- Upgrade apache-superset to 2.1.0 or later.

## Timeline

- 2023-04-24: Published
- 2024-01-08: Added to CISA KEV (exploited in the wild)
- 2024-01-29: CISA remediation due date for US federal agencies
- 2026-07-07: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-27524. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-27524.md
Affected: apache-superset < 2.1.0
Fixed in: 2.1.0

Steps:
1. Search this machine and project for apache-superset (PyPI), Apache Software Foundation Apache Superset: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-27524 being exploited?

Yes. CISA lists CVE-2023-27524 in its Known Exploited Vulnerabilities catalog since 2024-01-08, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 90.00% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-27524?

High: CVSS 8.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-27524?

apache-superset \< 2.1.0.

### Is there a fix for CVE-2023-27524?

Yes. Fixed in 2.1.0. Upgrade apache-superset to 2.1.0 or later.

### How do I check if I'm affected by CVE-2023-27524?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread/n0ftx60sllf527j7g11kmt24wvof8xyk>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-27524>
- vendor: <https://github.com/advisories/GHSA-5cx2-vq3h-x52c>
- patch: <https://github.com/apache/superset/commit/b180319bbf08e876ea84963220ebebbfd0699e03>
- exploit: <https://packetstormsecurity.com/files/172522/Apache-Superset-2.0.0-Authentication-Bypass.html>
- exploit: <https://packetstormsecurity.com/files/175094/Apache-Superset-2.0.0-Remote-Code-Execution.html>
- exploit: <https://www.exploit-db.com/exploits/51447>
- other: <https://www.openwall.com/lists/oss-security/2023/04/24/2>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27524>
- other: <https://github.com/apache/superset>
- other: <http://www.openwall.com/lists/oss-security/2023/04/24/2>
- other: <https://pypi.org/project/apache-superset>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-27524>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5cx2-vq3h-x52c> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1161> (license: <https://creativecommons.org/licenses/by/4.0/>)
- Exploit-DB: Exploit metadata (ID and link only) from the Exploit Database <https://www.exploit-db.com/exploits/51447>
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2023-27524> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-27524>
