# CVE-2025-64481: Datasette open redirect vulnerability

Source: https://junglewise.ai/threats/cve-2025-64481-datasette-open-redirect-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-06. Updated: 2026-05-19  
License: CC BY 4.0 with a link back

CVE-2025-64481 · Severity: medium · CVSS 4 · Published 2025-11-06

Datasette, a tool for exploring and publishing data, contains a vulnerability that allows for open redirects. An attacker could craft a link that appears to belong to a trusted Datasette instance but instead redirects the user to a malicious external website. This can be used in phishing campaigns to trick users into providing credentials or downloading malware on a site they believe is legitimate.

Technologies: [datasette (PyPI)](https://junglewise.ai/threats/technologies/datasette). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-64481 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-64481 being exploited in the wild.

**How severe is CVE-2025-64481?** Medium severity, with a CVSS score of 4, published 6 November 2025.

**Which products and versions are affected?** datasette (PyPI) ECOSYSTEM:introduced=0,fixed=0.65.2.

**Is there a fix for CVE-2025-64481?** Yes. datasette (PyPI): upgrade to 0.65.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2025-64481 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2025-64481?** Check whether you run datasette (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- datasette (PyPI): upgrade to 0.65.2 or later

  ```sh
  pip install "datasette>=0.65.2"
  ```


## Technical details

An open redirect vulnerability (CWE-601) exists in Datasette versions prior to 0.65.2 and 1.0a21. The application incorrectly handles URL paths starting with double slashes (e.g., //example.com/path/), which triggers a redirect to the specified external domain. This occurs when a trailing slash is present in the request. Attackers can exploit this by distributing malicious links that leverage the reputation of a trusted Datasette deployment to facilitate phishing or social engineering attacks. The issue is resolved in versions 0.65.2 and 1.0a21; a workaround involves configuring a reverse proxy to normalize double slashes in incoming requests.

## Affected products

- simonw datasette < 0.65.2, >= 1.0a0, < 1.0a21

## Identifiers

- CVE-2025-64481
- GHSA-w832-gg5g-x44m
- PYSEC-2025-73

## Timeline

- 2025-11-05: disclosed
- 2025-11-06: advisory: GitHub Advisory published
- 2025-11-07: patched: NVD publication date

## References

- [https://api.github.com/users/jamesjefferies](https://api.github.com/users/jamesjefferies)
- [https://github.com/jamesjefferies](https://github.com/jamesjefferies)
- [https://api.github.com/users/jamesjefferies/gists%7B/gist_id%7D](https://api.github.com/users/jamesjefferies/gists%7B/gist_id%7D)
- [https://api.github.com/users/jamesjefferies/repos](https://api.github.com/users/jamesjefferies/repos)
- [https://avatars.githubusercontent.com/u/1698465?v=4](https://avatars.githubusercontent.com/u/1698465?v=4)
- [https://api.github.com/users/jamesjefferies/events%7B/privacy%7D](https://api.github.com/users/jamesjefferies/events%7B/privacy%7D)

## Related threats

- [Datasette 1.0 alpha series leaks names of databases and tables to unauthenticated users](https://junglewise.ai/threats/cve-2023-40570-datasette-1-0-alpha-series-leaks-names-of-databases-and-tables-to)
- [Reflected cross-site scripting issue in Datasette](https://junglewise.ai/threats/cve-2021-32670-duplicate-advisory-reflected-cross-site-scripting-issue-in)
- [CSRF tokens leaked in URL by canned query form](https://junglewise.ai/threats/csrf-tokens-leaked-in-url-by-canned-query-form-3835c433)
