SQL injection in APSW shell .dump via crafted table names
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
APSW through 3.54.1.0 by rogerbinns contains an SQL injection flaw in the shell's _fmt_sql_identifier function, which wraps double-quoted names in square brackets without escaping closing brackets (CWE-89). An attacker who supplies a crafted database with a malicious table name can get SQL to execute when a victim runs .dump and again when the dump is restored.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rogerbinns | APSW | up to 3.54.1.0 | — | No fix listed | CNA |
- APSW Vendorrogerbinns Affected up to 3.54.1.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for APSW.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144970
- 2026-12-04 CISA SSVC decision points changed
- 2026-12-04 Alias added: GHSA-vjfv-5q3c-jv2r
References
Sources
- CVE-2026-144970 · CVE Program
- CVE-2026-144970 · NVD
- GHSA-vjfv-5q3c-jv2r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences