InfraGuard

CVE-2023-27524

Apache Superset: Session validation vulnerability when using provided default SECRET_KEY

9.8 CVSS 3.1 Exploited in the wildEPSS 98.1%

What is wrong

Apache Superset contains a session validation vulnerability caused by relying on a default SECRET_KEY. An attacker can exploit this to authenticate to the system and gain unauthorized access to resources.

Who is affected

This affects Apache Superset installations versions up to and including 2.0.1 that have not changed the default SECRET_KEY configuration.

What to do

Administrators should configure a unique, secure, randomly generated SECRET_KEY in their superset_config.py file or set it using the SUPERSET_SECRET_KEY environment variable.

Original 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.

Known exploited (CISA KEV)

Added to KEV
2024-01-08
Remediation due (US federal)
2024-01-29
Ransomware use
Unknown
Required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Affected software

Details

Published
2023-04-24
Last modified
2026-06-17
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-1188
EPSS (30-day exploit probability)
98.15% (percentile 100)

References

Track these versions on your own servers

InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.

Weekly exploited-vulnerability digest

The KEV additions that matter for self-hosted servers, once a week. No other mail.

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.