Live threats

All CVEs / Datasette

CVE-2023-40570Datasette

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Aug 25, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-213
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

Datasette is an open source multi-tool for exploring and publishing data. This bug affects Datasette instances running a Datasette 1.0 alpha - 1.0a0, 1.0a1, 1.0a2 or 1.0a3 - in an online accessible location but with authentication enabled using a plugin such as datasette-auth-passwords. The `/-/api` API explorer endpoint could reveal the names of both databases and tables - but not their contents - to an unauthenticated user. Datasette 1.0a4 has a fix for this issue. This will block access to the API explorer but will still allow access to the Datasette read or write JSON APIs, as those use different URL patterns within the Datasette `/database` hierarchy. This issue is patched in version 1.0a4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Datasette.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI datasette ≥ 1.0a0 < 1.0a4 1.0a4 pip install "datasette>=1.0a4"
PyPI datasette all no fixed version —

Per OSV / GitHub Advisories (GHSA-7ch3-7pp7-7cpq, PYSEC-2023-154). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
datasettedatasette1.0
datasettedatasette1.0
datasettedatasette1.0
datasettedatasette1.0

Official sources

References

Links published by the sources. Open them with care.