Permissive Regular Expression in Datasette - #VU159552

 

Permissive Regular Expression in Datasette - #VU159552

Published: November 6, 2026


Vulnerability identifier: #VU159552
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-625
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker with database access to bypass Datasette table permissions and read rows from protected tables.

The vulnerability exists due to a permissive regular expression in Datasette's SQLite identifier escaping that accepts trailing newlines, causing authorization and database queries to resolve different table names. An unauthenticated remote attacker can request a protected table name with an encoded trailing newline to retrieve private data even when arbitrary SQL is disabled.


Affected software

Datasette

Remediation

Install security update from vendor's website.

Datasette - update to 0.65.5

External References

Related Security Bulletins