Description
SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.
Affected products
sqlite: sqlite
References10
- sqlite.org/forum/forumpost/07beac8056151b2f ExploitIssue TrackingVendor Advisory
- sqlite.org/src/info/cefc032473ac5ad2 PatchVendor Advisory
- sqlite.org/forum/forumpost/07beac8056151b2f ExploitIssue TrackingVendor Advisory
- sqlite.org/src/info/cefc032473ac5ad2 PatchVendor Advisory
- news.ycombinator.com/item?id=33948588 ExploitIssue TrackingThird Party Advisory
- news.ycombinator.com/item?id=33948588 ExploitIssue TrackingThird Party Advisory
- security.gentoo.org/glsa/202311-03
- security.netapp.com/advisory/ntap-20230203-0005/ Third Party Advisory
- security.gentoo.org/glsa/202311-03
- security.netapp.com/advisory/ntap-20230203-0005/ Third Party Advisory
Metrics
- CVSS 3.1
-
7.3
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - EPSS — exploit probability
- 0% percentile: 39 · as of 6 November 2026
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.