{"id":"CVE-2026-144970","summary":"APSW through 3.54.1.0 SQL Injection via Shell .dump Identifier Quoting","details":"APSW through 3.54.1.0 contains an sql injection vulnerability in the shell's _fmt_sql_identifier function that wraps double-quoted names in square brackets without escaping closing brackets. Attackers can supply a crafted database with a malicious table name that executes SQL when the victim runs .dump and again when the dump is restored.","modified":"2026-12-04T16:46:31.349674347Z","published":"2026-12-04T14:42:02.161Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144970.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144970.json"},{"type":"PACKAGE","url":"https://github.com/rogerbinns/apsw"},{"type":"ARTICLE","url":"https://github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py#L1478-L1487"},{"type":"ARTICLE","url":"https://github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py#L455-L468"},{"type":"REPORT","url":"https://github.com/rogerbinns/apsw/issues/647"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144970"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/apsw-through-3.54.1.0-sql-injection-via-shell-dump-identifier-quoting"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rogerbinns/apsw","events":[{"introduced":"0"},{"last_affected":"ef3c772de3346db20e8c1ff7f8c70c689715f8e2"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"3.54.1.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["3.54.1.0","3.54.0.0","3.53.4.0","3.53.3.1","3.53.3.0","3.53.2.0","3.53.1.0","3.53.0.0","3.51.3.0","3.52.0.0","3.51.0.0","list","3.50.3.0","3.50.2.0","3.50.1.0","3.50.0.0","3.48.0.0","3.47.2.0","3.47.1.0","3.47.0.0","3.44.0.0","3.43.2.0","3.43.1.1","3.43.1.0","3.43.0.0","3.42.0.1","3.42.0.0","3.41.2.0","3.40.0.0","3.39.2.1","3.39.2.0","3.38.5-r1","3.38.1-r1","3.37.0-r1","3.36.0-r1","3.35.4-r1","3.34.0-r1","3.33.0-r1","3.32.2-r1","3.31.1-r1","3.30.1-r1","3.29.0-r1","3.28.0-r1","3.27.2-r1","3.26.0-r1","3.25.2-r1","3.24.0-r1","3.23.1-r1","3.22.0-r1","3.21.0-r1","3.20.1-r1","3.19.3-r1","3.18.0-r1","3.17.0-r1","3.16.2-r1","3.15.2-r1","3.15.1-r1","3.15.0-r1","3.14.1-r1","3.13.0-r1","3.12.2-r1","3.11.1-r1","3.11.0-r1","3.9.2-r1","3.8.11.1-r1","3.8.10.1-r1","3.8.9-r1","3.8.8.2-r1","3.8.8.1-r1","3.8.7.3-r1","3.8.7.2-r1","3.8.7.1-r1","3.8.6-r1","3.8.5-r1","3.8.4.3-r1","3.8.4.2-r1","3.8.4.1-r1","3.8.3.1-r1","3.8.3-r1","3.8.2-r1","3.8.1-r1","3.8.0.2-r1","3.8.0.1-r1","3.8.0-r2","3.8.0-r1","3.7.17-r1","3.7.16.2-r1","3.7.16.1","3.7.16-r1","3.7.15.2-r1","3.7.15.1-r1","3.7.15-r1","3.7.14.1-r1","3.7.14-r2","3.7.14-r1","3.7.13-r1","3.7.12.1-r1","3.7.12-r1","3.7.11-r1","3.7.10-r1","3.7.9-r1","3.7.8-r1","3.7.7.1-r1","3.7.6.3-r1","3.7.6.2-r1","3.7.5-r1","3.7.4-r1","3.7.3-r1","3.7.2-r1","3.7.1-r1","3.7.0.1-r1","3.7.0-r1","3.6.23.1-r1","3.6.23-r1","3.6.22-r1","3.6.21-r1","3.6.20-r1","3.6.19-r1","3.6.18-r1","3.6.17-r1","3.6.16-r1","3.6.15-r1","3.6.14.2","3.6.14.1","3.6.13-r1","3.6.11-r1","3.6.10-r1","3.6.6.2-r1","3.6.5-r1","3.6.3-r1","3.5.9-r2","3.5.9-r1","3.3.13-r1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144970.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N"}]}