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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | datasette | < 0.65.2, >= 1.0a0, < 1.0a21 | 0.65.2, 1.0a21 |
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/simonw/datasette
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U- Weakness (CWE)
CWE-601- Platform
- Python (PyPI)
- Package
datasette- Disclosed
- 06.11.2025
- Updated
- 11.10.2026 12:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2025-73 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w832-gg5g-x44m - CC BY 4.0
Vulnerability history: datasette
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 08.2020 11.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 3
- Low 1
Disclosures per year
- 2020: 1
- 2021: 1
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
-
Open redirect endpoint in Datasette this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.