datasette 1.0a38

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

A fixed SQL injection flaw in Datasette could have let users read private tables, so admins running mixed public/private setups should patch immediately.

Read this as

Datasette, a free tool for publishing databases online, released version 1.0a38 fixing a security hole. The bug let people with access to public data run specially crafted database queries to read private data they should not see. It only matters for setups that mix public and private data in one database, which the author says is rare. The same fix also ships in Datasette 0.65.3.

Datasette versions 1.0a38 and 0.65.3 patch a SQL injection bug that could expose private database tables to unauthorised read-only access. The risk applies only when public and private tables live in the same database with access controlled by Datasette's permissions system. Affected administrators should disable the execute-sql permission or upgrade now.

Datasette 1.0a38 (also backported as 0.65.3) fixes a SQL injection vulnerability affecting instances where public and private tables coexist in one database governed by the permissions system. Users with access to any public table could bypass the execute-sql permission restriction to read private tables via raw SQL injection, gaining read-only access. Willison notes the vulnerable configuration is rare and advises disabling execute-sql on such databases.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Datasette Simon Willison execute-sql permission

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading