title: Apache Superset: SQL injection vulnerability in adhoc clauses
description: A vulnerability in the SQL Alchemy connector of Apache Superset allows an authenticated user with read access to a specific database to add subqueries to the WHERE and HAVING fields referencing tables on the same database that the user should not have access to, despite the user having the feature flag "ALLOW_ADHOC_SUBQUERY" disabled (default value).  This issue affects Apache Superset version 1.5.2 and prior versions and version 2.0.0.
problem types: SQL injection in certain query object fields
affected:
{
defaultStatus: unaffected
product: Apache Superset
vendor: Apache Software Foundation
versions:
lessThan: 2.0.1, status: affected, version: 2.0.0, versionType: semver
lessThanOrEqual: 1.5.2, status: affected, version: 0, versionType: semver
}
metrics:
other: [
content: {'text': 'critical'}
type: Textual description of severity
]