# CVE-2022-46908: SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctio…

- Severity: High 7.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 27% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-12T00:00:00.000Z
- Modified: 2026-10-14T19:16:55.133Z
- Also known as: BIT-SQLITE-2022-46908
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sqlite sqlite: from 3.37.0 before 3.40.1
- sqlite (Bitnami): from 3.37.0 before 3.40.1

## Every score

- CISA-ADP: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Bitnami Vulnerability Database: rating High

## References

- <https://news.ycombinator.com/item?id=33948588> (exploit, advisory, issue-tracking, third-party-advisory)
- <https://sqlite.org/forum/forumpost/07beac8056151b2f> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://sqlite.org/src/info/cefc032473ac5ad2> (advisory, patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230203-0005/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202311-03> (vendor-advisory, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-556635.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-46908> (web)

## Sources

- CVE List: [CVE-2022-46908](https://www.cve.org/CVERecord?id=CVE-2022-46908), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-46908](https://nvd.nist.gov/vuln/detail/CVE-2022-46908), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-SQLITE-2022-46908](https://osv.dev/vulnerability/BIT-SQLITE-2022-46908), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-46908 · Whole record: https://cve.day/CVE-2022-46908.json · Rebuilt by cve.day 2026-11-25T22:58:17.351Z
