{"id":"GHSA-5474-f7g5-273q","summary":"Apache Superset: Improper validation of SQL statements allows for unauthorized access to data","details":"Improper parsing of nested SQL statements on SQLLab would allow authenticated users to surpass their data authorization scope.\nThis issue affects Apache Superset: before 3.0.4, from 3.1.0 before 3.1.1.\n\nUsers are recommended to upgrade to version 3.1.1, which fixes the issue.","aliases":["BIT-superset-2024-24773","CVE-2024-24773","PYSEC-2026-1160"],"modified":"2026-07-07T17:57:11.992856010Z","published":"2024-02-28T12:30:26Z","database_specific":{"nvd_published_at":"2024-02-28T12:15:47Z","cwe_ids":["CWE-863"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-02-28T18:36:21Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24773"},{"type":"PACKAGE","url":"https://github.com/apache/superset"},{"type":"WEB","url":"https://lists.apache.org/thread/h66fy6nj41cfx07zh7l552w6dmtjh501"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/02/28/4"}],"affected":[{"package":{"name":"apache-superset","ecosystem":"PyPI","purl":"pkg:pypi/apache-superset"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4"}]}],"versions":["0.34.0","0.34.1","0.35.1","0.35.2","0.36.0","0.37.0","0.37.1","0.37.2","0.38.0","0.38.1","1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","1.5.3","2.0.0","2.0.1","2.1.0","2.1.1","2.1.1rc1","2.1.1rc2","2.1.1rc3","2.1.2","2.1.3","3.0.0","3.0.0rc1","3.0.0rc2","3.0.0rc3","3.0.0rc4","3.0.1","3.0.2","3.0.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.0.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-5474-f7g5-273q/GHSA-5474-f7g5-273q.json"}},{"package":{"name":"apache-superset","ecosystem":"PyPI","purl":"pkg:pypi/apache-superset"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.1"}]}],"versions":["3.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-5474-f7g5-273q/GHSA-5474-f7g5-273q.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"}]}