CVE-2026-119586
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.
- Score
- 8.5 high
- Published
- 2026-10-30
- Links
- NVD · cve.org · Report wrong data
Matched ports (6)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| databases/linux-c7-sqlite3 | linux-c7-sqlite | 3.7.17_2 | unaddressed | emulation@FreeBSD.org |
| databases/sqlite2 | sqlite | 2.8.17_5 | unaddressed | ports@FreeBSD.org |
| databases/sqlite3 | sqlite-icu | 3.53.4,1 | unaddressed | sunpoet@FreeBSD.org |
| databases/sqlite3 | sqlite-tcl | 3.53.4,1 | unaddressed | sunpoet@FreeBSD.org |
| databases/sqlite3 | sqlite3 | 3.53.4,1 | unaddressed | sunpoet@FreeBSD.org |
| databases/tcl-sqlite3 | tcl-sqlite3 | 3.50.4 | inherited | pavelivolkov@gmail.com |
Template for a VuXML entry
Check the version numbers before you commit this entry. Some ports share an entry in the CVE database with another port, such as sqlite2 and sqlite3. The version shown here may then be one that never existed for this port.
Ranges per package from the CVE rows that match this port, in pkg notation with the port's epoch and revision, every bound checked with pkg; one range per epoch the port actually had. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>linux-c7-sqlite -- FIXME</topic>
<affects>
<package>
<name>linux-c7-sqlite</name>
<name>sqlite</name>
<range><le>3.54.1</le></range>
</package>
<package>
<name>sqlite-icu</name>
<name>sqlite-tcl</name>
<name>sqlite3</name>
<range><le>3.54.1,1</le></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>CVE-2026-119586: 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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-119586</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-119586</url>
</references>
<dates>
<discovery>2026-10-30</discovery>
<entry>2026-10-30</entry>
</dates>
</vuln>