SQLite command-line shell through 3.54.1 contains a command injection vulnerability in the .recover command that emits attacker-planted dot-commands stored in sqlite_schema.sql values verbatim. Attackers can craft a database whose schema holds a valid CREATE statement followed by a .shell or .system line, executing OS commands when victims pipe .recover output into sqlite3.
References
| Link | Resource |
|---|---|
| https://abraxaslabs.tech/research/sqlite-cli-recover | Exploit Third Party Advisory |
| https://github.com/sqlite/sqlite | Product |
| https://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223 | Product |
| https://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891 | Product |
| https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output | Third Party Advisory |
Configurations
History
03 Nov 2026, 15:29
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://abraxaslabs.tech/research/sqlite-cli-recover - Exploit, Third Party Advisory | |
| References | () https://github.com/sqlite/sqlite - Product | |
| References | () https://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223 - Product | |
| References | () https://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891 - Product | |
| References | () https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output - Third Party Advisory | |
| First Time |
Sqlite
Sqlite sqlite |
|
| CPE | cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* |
30 Oct 2026, 12:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-30 12:16
Updated : 2026-11-03 15:29
NVD link : CVE-2026-119586
Mitre link : CVE-2026-119586
CVE.ORG link : CVE-2026-119586
JSON object : View
Products Affected
sqlite
- sqlite
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
