CVE-2026-144970
Awaiting Analysis Awaiting Analysis - Queue

APSW SQL Injection via Malicious Table Name

Vulnerability report for CVE-2026-144970, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
rogerbinns APSW From 0 (inc) to 3.54.1.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-144970 is an SQL injection vulnerability in APSW through version 3.54.1.0. It occurs in the shell's _fmt_sql_identifier function, which wraps double-quoted names in square brackets without escaping closing brackets. Attackers can create a malicious database with a crafted table name that executes SQL when a victim runs .dump or restores the dump.

Detection Guidance

Check APSW version with pip show apsw. If version is 3.54.1.0 or earlier, the system is vulnerable. Inspect database files for malicious table names containing square brackets or SQL commands. Monitor shell commands executed via APSW for unexpected system interactions.

Impact Analysis

This vulnerability allows attackers to execute arbitrary SQL commands on your system. If you use APSW 3.54.1.0 or earlier, an attacker could manipulate table names to run unintended SQL, potentially accessing or modifying sensitive data without authorization.

Compliance Impact

This vulnerability could lead to unauthorized data access or manipulation, which may violate GDPR's data integrity and confidentiality requirements (Articles 5, 32) or HIPAA's security rule for protecting electronic protected health information. Unauthorized SQL execution risks exposing sensitive data, potentially resulting in non-compliance with these regulations.

Mitigation Strategies

Upgrade APSW to the latest version immediately. Avoid using .dump command on untrusted databases. Implement strict input validation for all database identifiers. Review and sanitize all SQL commands executed through APSW shell.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-144970. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...