SQL injection in Datasette - #VU159551
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated attacker to read restricted tables in a Datasette database containing at least one publicly accessible table.
The vulnerability exists due to incorrect quoting of table and column identifiers when Datasette converts query-string table filters into SQL clauses. An unauthenticated attacker can submit crafted filter parameters to a public table to bypass table-level permissions within the same database, even when execute-sql permission is denied.