Datasette fixes permission checks for routed database downloads
Datasette 1.0a43 fixes a download permission bypass when a database’s URL route differs from its internal name; stable release 0.65.6 includes that fix too. The alpha also closes a separate exposure of private stored-query titles and SQL. These are distinct issues: seeing a private query’s definition did not grant permission to execute it.
Datasette · Nov 15, 2026
Why it matters
Authorization must consistently identify the protected resource even when its public URL uses another name.
More context
Upgrade the relevant release line and test denied database downloads. Permission hooks matching download access against routes must now use database names. Alpha users should also check custom plugins copied from the affected permissions-debug example, which omitted an action check.
Keep in mind
The stored-query issue affected alphas 1.0a31–1.0a42. Version 1.0a43 remains an alpha and includes API changes, including individual-row JSON and output renderers; stable users need not adopt those changes to receive the routed-download fix.
Original read