SQL injection in Datasette - #VU159551

 

SQL injection in Datasette - #VU159551

Published: November 6, 2026


Vulnerability identifier: #VU159551
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated attacker to read restricted tables in a Datasette database containing at least one publicly accessible table.

The vulnerability exists due to incorrect quoting of table and column identifiers when Datasette converts query-string table filters into SQL clauses. An unauthenticated attacker can submit crafted filter parameters to a public table to bypass table-level permissions within the same database, even when execute-sql permission is denied.


Affected software

Datasette

Remediation

Install security update from vendor's website.

Datasette - update to 0.65.3

External References

Related Security Bulletins