Datasette 0.65.6 fixes database download bypass when route differs from name
Original title: datasette 0.65.6
Denied actors could still fetch /<route>.db when a registered route differed from the database name; the fix came from 1.0a43.
Simon Willison released datasette 0.65.6 with a minor security fix backported from 1.0a43. A database registered with add_database using a route different from its name could be downloaded at /<route>.db by actors who had been denied access. The note does not list earlier affected releases or say whether anyone used the issue.
Unconfirmed: The note does not identify releases before 0.65.6 that are affected or say whether the issue was exploited.
- The fix was backported from datasette 1.0a43 into the 0.65.6 release.
- The download path was /<route>.db when route and name differed.
- Willison described the issue as a minor security fix.
Impact: Download a database the actor was denied access to
| Product | Affected | Fixed in |
|---|---|---|
| datasette | — | 0.65.6 |
- 1.Upgrade datasette to 0.65.6, which includes the backported access fix.
From the original article
Release: datasette 0. 65. 6 I backported a minor security fix from 1.
simonwillison.net
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.