Open redirect endpoint in Datasette
Package
Affected versions
< 0.65.2
>= 1.0a0, < 1.0a20
Patched versions
0.65.2
1.0a21
Description
Published to the GitHub Advisory Database
Nov 6, 2025
Reviewed
Nov 6, 2025
Last updated
Nov 6, 2025
Impact
Deployed instances of Datasette prior to
0.65.2and1.0a21include an open redirect vulnerability.Hits to the path
//example.com/foo/bar/(the trailing slash is required) will redirect the user tohttps://example.com/foo/bar.Patches
This problem has been patched in both Datasette
0.65.2and1.0a21.Workarounds
If Datasette is running behind a proxy that proxy could be configured to replace
//with/in incoming request URLs.References