Permissive Regular Expression in Datasette - #VU159552
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker with database access to bypass Datasette table permissions and read rows from protected tables.
The vulnerability exists due to a permissive regular expression in Datasette's SQLite identifier escaping that accepts trailing newlines, causing authorization and database queries to resolve different table names. An unauthenticated remote attacker can request a protected table name with an encoded trailing newline to retrieve private data even when arbitrary SQL is disabled.