GHSA-vjfv-5q3c-jv2rMediumCVSS 6.1
APSW through 3.54.1.0 contains an sql injection vulnerability in the shell's _fmt_sql_identifier...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-144970
- https://github.com/rogerbinns/apsw/issues/647
- https://github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py#L1478-L1487
- https://github.com/rogerbinns/apsw/blob/3.54.1.0/apsw/shell.py#L455-L468
- https://www.vulncheck.com/advisories/apsw-through-3.54.1.0-sql-injection-via-shell-dump-identifier-quoting
- https://github.com/advisories/GHSA-vjfv-5q3c-jv2r