CVE-2026-119586
7.8 HIGHpublic exploit availablePublished 2026-10-30 · Updated 2026-11-03
AI risk analysis
- Summary
- The SQLite command-line shell's .recover command executes attacker-controlled dot-commands (e.g., .shell or .system) embedded in malicious sqlite_schema.sql entries when victims pipe the output to sqlite3, leading to local command injection.
- Exploitability
- Exploitation requires the victim to run .recover on a crafted database and pipe its output to sqlite3, with user interaction needed to trigger execution.
- Blast radius
- Successful exploitation grants the attacker full control over the victim's system via arbitrary OS command execution in the context of the SQLite CLI process.
- Detection
- Monitor for sqlite3 CLI processes spawning child processes (e.g., via shell commands like /bin/sh, cmd.exe, or system calls such as execve) with non-standard arguments; also watch for sqlite3 CLI writing suspicious .shell or .system lines to stdout when .recover is invoked.
- Prioritized remediation
- Upgrade to SQLite version 3.55.0 or later, which fixes the .recover command to sanitize and reject embedded dot-commands from schema entries.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-77
Vendors
sqlite
Products
sqlite
Public exploit & PoC references
- 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]
All references
- https://abraxaslabs.tech/research/sqlite-cli-recover
- https://github.com/sqlite/sqlite
- https://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223
- https://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891
- https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-69718
- HIGHCVE-2026-112263PoC
- HIGHCVE-2026-113732PoC
- HIGHCVE-2026-117559PoC
- HIGHCVE-2026-119373PoC
- HIGHCVE-2026-119737
- HIGHCVE-2026-121548PoC
- HIGHCVE-2026-95168PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.