Loading advisory.
Loading advisory.
Datasette 1.0 alpha series leaks names of databases and tables to unauthenticated users
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.
Published 2023-08-22 18:06 UTC · Modified 2026-06-09 13:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| datasette | PyPI | >= 1.0a0, < 1.0a4 git commits in https://github.com/simonw/datasette: < 01e0558825b8f7ec17d3b691aa072daf122fcc74 all versions versions 1.0a0, 1.0a1, 1.0a2, 1.0a3, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.22.1, 0.23, 0.23.1 and 137 more | 1.0a4, 01e0558825b8f7ec17d3b691aa072daf122fcc74 | pip install --upgrade 'datasette>=1.0a4'pip install --upgrade 'datasette>=01e0558825b8f7ec17d3b691aa072daf122fcc74' |
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.
To work around this issue, block all traffic to the /-/api endpoint. This can be done with a proxy such as Apache or NGINX, or by installing the datasette-block plugin and adding the following configuration to your metadata.json or metadata.yml file:
{
"plugins": {
"datasette-block": {
"prefixes": ["/-/api"]
}
}
}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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.006 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.006 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.006 | v2026.06.15 |