<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>SQLite Command-Line Shell (&lt;= 3.54.1) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/sqlite-command-line-shell--3.54.1/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 30 Oct 2026 13:30:02 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/sqlite-command-line-shell--3.54.1/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>SQLite: Command injection in .recover command (CVE-2026-119586)</title><link>https://feed.craftedsignal.io/briefs/2026-10-sqlite-recover-injection/</link><pubDate>Fri, 30 Oct 2026 13:30:02 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-sqlite-recover-injection/</guid><description>The SQLite command-line shell through version 3.54.1 is vulnerable to command injection because the .recover command emits malicious dot-commands stored in the database schema, which execute when the output is piped back into the shell.</description><content:encoded><![CDATA[<p>SQLite command-line shell versions up to and including 3.54.1 contain a command injection vulnerability in the .recover functionality. When a database contains a specially crafted 'sqlite_schema' table entry, the .recover command includes attacker-controlled dot-commands (e.g., .shell or .system) in its output. If a victim executes the .recover command and redirects or pipes the resulting output into an active SQLite shell session, the injected system commands will execute with the privileges of the user running the shell.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker creates a malicious database file containing a crafted sqlite_schema entry.</li>
<li>Attacker injects a malicious dot-command (e.g., .shell id) into the schema metadata.</li>
<li>Attacker lures or forces a victim to run the SQLite shell and execute the .recover command on the malicious database.</li>
<li>The .recover command outputs the attacker's malicious dot-commands to standard output.</li>
<li>The victim pipes this output into a new or existing sqlite3 process.</li>
<li>The sqlite3 shell interprets the piped input, parses the dot-commands, and executes the malicious OS command.</li>
</ol>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Identify and inventory all systems utilizing the SQLite command-line shell (sqlite3) through version 3.54.1.</li>
<li>Update all instances of the SQLite command-line shell to a version beyond 3.54.1 as soon as a patch becomes available.</li>
<li>Implement strict controls over the execution of the .recover command on untrusted or externally sourced database files.</li>
<li>Use the hunt lead below to identify potential usage of the .recover command in automated pipelines where redirection may occur.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>sqlite</category><category>command-injection</category><category>vulnerability</category></item></channel></rss>