CVE-2025-64481: Datasette open redirect vulnerability

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). 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.