AploSec / Disclosures / CVE-2026-144970
APSW through 3.54.1.0 SQL Injection via Shell .dump Identifier Quoting
CVE-2026-144970 · published 2026-12-04
In plain words: this type of bug lets someone change the queries sent to the database (SQL injection). No fixed release is listed yet.
Summary
CVE-2026-144970 affects APSW (PyPI) <= 3.54.1.0: SQL Injection via Shell .dump Identifier Quoting (CWE-89). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- Referencehttps://github.com/rogerbinns/apsw/issues/647
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/apsw-through-3.54.1.0-sql-injection-via-shell-dump-identifier-quoting
- Vulnerable codehttps://github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py#L455-L468
- Vulnerable codehttps://github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py#L1478-L1487
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144970
- Severity
- Medium 6.9CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- APSW
- Ecosystem
- PyPI
- Affected
- <= 3.54.1.0
- Fixed
- None
- Weakness
- CWE-89
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder