APSW through 3.54.1.0 contains an sql injection vulnerability in the shell's _fmt_sql_identifier function that wraps
Source GCVE Database
Not known to be exploited · CVSS 6.9 Medium.
Data as of 4 Dec 2026, 16:34 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.1 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| rogerbinnsAPSW | Affected
| Fixed in– |
PyPIAPSWpkg:pypi/APSWOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid running .dump on untrusted databases or restore dumps from untrusted sources until a fix is released. Monitor vendor advisories for updates regarding remediation.
Description
APSW versions through 3.54.1.0 have an SQL injection vulnerability in the shell's _fmt_sql_identifier function. This function improperly wraps double-quoted names in square brackets without escaping closing brackets, allowing crafted database table names to execute SQL during .dump and restore operations.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144970 (opens in a new tab)
- github.com/rogerbinns/apsw/issues/647 (opens in a new tab)
- github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py (opens in a new tab)
- github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py (opens in a new tab)
- vulncheck.com/advisories/apsw-through-3.54.1.0-sql-injection-via-shell-dump-identifier-quoting (opens in a new tab)