{"answers":{"affected":"4 open source packages ship an affected version, including apache-superset and superset. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2023-27524 in the wild since at least 8 Jan 2024.","fix":"Upgrade apache-superset to 2.1.0 or later. US federal agencies must fix it by 29 Jan 2024.","what":"CVE-2023-27524 is a high-severity vulnerability in Apache Superset, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-27524 and fix it if it is affected.\n\nWhat it is: CVE-2023-27524 is a high-severity vulnerability in Apache Superset, published on 24 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2023-27524 in the wild since at least 8 Jan 2024.\n\nAffected packages and fixed versions:\n- apache-superset (PyPI): affected all versions; fixed in 2.1.0\n- apache-superset (PyPI): affected all versions; fixed in 2.1.0\n- apache-superset (PyPI): affected all versions; fixed in 2.1.0\n- superset (Bitnami): affected all versions; fixed in 2.0.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-27524/ (Markdown: https://insights.sbomify.com/CVE-2023-27524/index.md)","id":"CVE-2023-27524","markdown":"https://insights.sbomify.com/CVE-2023-27524/index.md","name":"CVE-2023-27524","record":{"aliases":["BIT-superset-2023-27524","GHSA-5cx2-vq3h-x52c","PYSEC-2026-1161"],"analysis":{"component_type":"web_application","fix_type":"configuration_change","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Superset","requires_auth":"none","summary":"Attackers can authenticate and access unauthorized resources if the default SECRET_KEY is not changed, requiring administrators to set a unique key.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"superset","vendor":"apache"}],"cvss":{"score":8.9,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"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.\n\nAll 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.\nAdd a strong SECRET_KEY to your `superset_config.py` file like:\n\nSECRET_KEY = \u003cYOUR_OWN_RANDOM_GENERATED_SECRET_KEY\u003e\n\nAlternatively you can set it with `SUPERSET_SECRET_KEY` environment variable.","ecosystems":["Bitnami","PyPI"],"exploits":{"exploitdb":1,"first_seen":"2023-04-25","github_poc":16,"max_poc_stars":113,"metasploit":2,"nuclei":1,"refs":[{"date":"2023-04-25T04:59:05Z","kind":"github_poc","ref":"https://github.com/horizon3ai/CVE-2023-27524","stars":113,"title":"Basic PoC for CVE-2023-27524: Insecure Default Configuration in Apache Superset"},{"date":"2023-09-08T06:15:00Z","kind":"github_poc","ref":"https://github.com/jakabakos/CVE-2023-27524-Apache-Superset-Auth-Bypass-and-RCE","stars":29,"title":null},{"date":"2023-04-27T06:21:00Z","kind":"github_poc","ref":"https://github.com/Okaytc/Superset_auth_bypass_check","stars":11,"title":"Apahce-Superset身份认证绕过漏洞(CVE-2023-27524)检测工具"},{"date":"2023-05-08T16:50:08Z","kind":"github_poc","ref":"https://github.com/tardc/CVE-2023-27524","stars":10,"title":"Apache Superset Auth Bypass (CVE-2023-27524)"},{"date":"2023-04-27T07:31:40Z","kind":"github_poc","ref":"https://github.com/ZZ-SOCMAP/CVE-2023-27524","stars":3,"title":"Apache Superset Auth Bypass Vulnerability CVE-2023-27524."},{"date":"2023-05-04T21:43:48Z","kind":"github_poc","ref":"https://github.com/Ap0dexMe0/CVE-2023-27524","stars":3,"title":"Perform With Apache-SuperSet Leaked Token [CSRF]"},{"date":"2024-05-11T12:29:08Z","kind":"github_poc","ref":"https://github.com/Cappricio-Securities/CVE-2023-27524","stars":2,"title":"Apache Superset - Authentication Bypass"},{"date":"2024-05-11T12:19:55Z","kind":"github_poc","ref":"https://github.com/karthi-the-hacker/CVE-2023-27524","stars":1,"title":"Tool for finding CVE-2023-27524 (Apache Superset - Authentication Bypass)"}],"tier":"exploited"},"has_fix":true,"headline":"Apache Superset Insecure Default Initialization of Resource","id":"CVE-2023-27524","indexable":true,"kev":{"dateAdded":"2024-01-08","dueDate":"2024-01-29","knownRansomwareCampaignUse":"Unknown","product":"Superset","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Apache","vulnerabilityName":"Apache Superset Insecure Default Initialization of Resource Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":"apache:superset","products":["apache:superset"],"type":"hardcoded_credentials","year":"2023"},"n_packages":4,"n_references":4,"next":{"headline":"Apache Superset: Incorrect default permissions for Gamma role","id":"CVE-2023-27525"},"packages":[{"ecosystem":"Bitnami","fixed":["2.0.2"],"introduced":["0"],"last_affected":[],"package":"superset","purl":"pkg:bitnami/superset","source":"BIT-superset-2023-27524"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"apache-superset","purl":null,"source":"GHSA-5cx2-vq3h-x52c"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"GHSA-5cx2-vq3h-x52c"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"PYSEC-2026-1161"}],"prev":{"headline":"Apache Superset: Improper data permission validation on Jinja templated queries","id":"CVE-2023-27523"},"products":["Apache Superset"],"published":"2023-04-24","related":[{"cvss_score":9.8,"headline":"SQL injection vulnerability in chart data API","id":"CVE-2022-27479","kev_date_added":null,"published":"2022-04-13"},{"cvss_score":9.8,"headline":"Deserialization of Untrusted Data in superset","id":"CVE-2018-8021","kev_date_added":null,"published":"2018-11-07"},{"cvss_score":9.6,"headline":"Apache Superset: Stored XSS in Dashboard Title and Chart Title","id":"CVE-2023-49657","kev_date_added":null,"published":"2024-01-23"},{"cvss_score":8.8,"headline":"Apache Superset: Cross Site Request Forgery (CSRF) on accept, request access API","id":"CVE-2022-43719","kev_date_added":null,"published":"2023-01-16"},{"cvss_score":8.8,"headline":"Possible SQL Injection when template processing is enabled","id":"CVE-2021-41971","kev_date_added":null,"published":"2021-10-18"},{"cvss_score":8.8,"headline":"Apache Superset OS Command Injection","id":"CVE-2020-13948","kev_date_added":null,"published":"2020-09-17"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Apache Software Foundation"]},"summary":"Attackers can authenticate and access unauthorized resources if the default SECRET_KEY is not changed, requiring administrators to set a unique key.","url":"https://insights.sbomify.com/CVE-2023-27524/"}