Vulnerability · Published Nov 7, 2025 · Assigned by GitHub_M
CVE-2025-64481Open redirect endpoint in Datasette
Low 2.7
In plain English
A low-severity open redirect in datasette from simonw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Datasette is an open source multi-tool for exploring and publishing data. In versions 0.65.1 and below and 1.0a0 through 1.0a19, deployed instances of Datasette 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. This problem has been patched in both Datasette 0.65.2 and 1.0a21. To workaround this issue, if Datasette is running behind a proxy, that proxy could be configured to replace // with / in incoming request URLs.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | datasette | 0.65.2 | GHSA-w832-gg5g-x44m |
| PyPI | datasette | 1.0a21 | GHSA-w832-gg5g-x44m |
| PyPI | datasette | no fix listed | PYSEC-2025-73 |
Affected products (as reported)
Weakness: CWE-601 · 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
References
- https://github.com/simonw/datasette/security/advisories/GHSA-w832-gg5g-x44m x_refsource_CONFIRM
- https://github.com/simonw/datasette/issues/2429 x_refsource_MISC
- https://github.com/simonw/datasette/commit/f257ca6edb64848c3b04b54d41e347c54fe57c05 x_refsource_MISC