CVE-2025-64481: Datasette Open Redirect Endpoint Vulnerability
LOWCVE-2025-64481 is a LOW open redirect endpoint vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Datasette libraries in the PyPI ecosystem. The issue involves open redirect endpoint in datasette. Remediation is available by upgrading affected packages to version 0.65.2, 1.0a21.
CVE-2025-64481 at a Glance
How to Fix CVE-2025-64481
To remediate this vulnerability, upgrade all affected Datasette dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install datasette>=0.65.2
pip install datasette>=1.0a21
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show datasette
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-64481, inspect your installed packages using pip:
pip show datasette
Analyze the terminal output to locate any version of Datasette in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.65.2), your application is affected.
Note: The pip show datasette command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Datasette, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-64481 Affected Datasette Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
datasette
|
PyPI |
< 0.65.2
|
0.65.2
|
|
datasette
|
PyPI |
≥ 1.0a0
< 1.0a21
|
1.0a21
|
References
Frequently Asked Questions
What is CVE-2025-64481?
Which Datasette versions are affected?
What version fixes CVE-2025-64481?
Is datasette affected?
What CWE is associated with CVE-2025-64481?
How can I check PyPI dependencies for CVE-2025-64481?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w832-gg5g-x44m",
"modified" : "2026-05-19T20:23:11Z",
"published" : "2025-11-06T15:13:33Z",
"aliases" : [ "CVE-2025-64481" ],
"summary" : "Open redirect endpoint in Datasette",
"details" : "### Impact\n\nDeployed instances of Datasette prior to `0.65.2` and `1.0a21` include an open redirect vulnerability.\n\nHits to the path `//example.com/foo/bar/` (the trailing slash is required) will redirect the user to `https://example.com/foo/bar`.\n\n### Patches\n\nThis problem has been patched in both Datasette `0.65.2` and `1.0a21`.\n\n### Workarounds\n\nIf Datasette is running behind a proxy that proxy could be configured to replace `//` with `/` in incoming request URLs.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "datasette"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.65.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "datasette"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0a0"
}, {
"fixed" : "1.0a21"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 1.0a20"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/simonw/datasette/security/advisories/GHSA-w832-gg5g-x44m"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64481"
}, {
"type" : "WEB",
"url" : "https://github.com/simonw/datasette/issues/2429"
}, {
"type" : "WEB",
"url" : "https://github.com/simonw/datasette/commit/f257ca6edb64848c3b04b54d41e347c54fe57c05"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/datasette/PYSEC-2025-73.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/simonw/datasette"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-11-06T15:13:33Z",
"nvd_published_at" : "2025-11-07T21:15:42Z"
}
}