← Back to search

CVE-2026-119586

7.8 HIGHpublic exploit available

Published 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.
command-injectionsqlitelocal-exploitcli-attack

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

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.