CVE-2025-64481: 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.
Published Nov 6, 2025 · Updated May 19, 2026
Affected packages
datasette
- Ecosystem
- PyPI
- Affected
- < 0.65.2
- Fixed in
- 0.65.2
- Check
pip show datasette
datasette
- Ecosystem
- PyPI
- Affected
- >= 1.0a0, < 1.0a20
- Fixed in
- 1.0a21
- Check
pip show datasette
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to jamesjefferies.
References
- https://github.com/simonw/datasette/security/advisories/GHSA-w832-gg5g-x44m
- https://github.com/simonw/datasette/issues/2429
- https://github.com/simonw/datasette/commit/f257ca6edb64848c3b04b54d41e347c54fe57c05
- https://nvd.nist.gov/vuln/detail/CVE-2025-64481
- https://github.com/pypa/advisory-database/tree/main/vulns/datasette/PYSEC-2025-73.yaml
- https://github.com/advisories/GHSA-w832-gg5g-x44m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
