datasette
Affected
- introduced
0, fixed0.65.2(ecosystem)
Fixed versions
0.65.2
Fix
- Fixed version
0.65.2pip install --upgrade datasette==0.65.2
Advisory
Also known as: CVE-2025-64481, PYSEC-2025-73
Open redirect endpoint in Datasette
Impact
Deployed instances of Datasette prior to 0.65.2 and 1.0a21 include an open redirect vulnerability.
Hits to the path //example.com/foo/bar/ (the trailing slash is required) will redirect the user to https://example.com/foo/bar.
Patches
This problem has been patched in both Datasette 0.65.2 and 1.0a21.
Workarounds
If Datasette is running behind a proxy that proxy could be configured to replace // with / in incoming request URLs.
Low Basis: The source's own band: LOW
0, fixed 0.65.2 (ecosystem)0.65.2
0.65.2pip install --upgrade datasette==0.65.21.0a0, fixed 1.0a21 (ecosystem)1.0a21
1.0a21pip install --upgrade datasette==1.0a21Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0