CVE-2026-119586
CVE-2026-119586 · SQLite CLI through 3.54.1 Command Injection via .recover Output
CVSS 8.5 · High · EPSS 1.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- sqliteNo fix published
- sqlite3 Debian 12No fix published
- sqlite3 Debian 13No fix published
- sqlite3 Debian 14No fix published
- and 13 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="sqlite3"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12635-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
sqlite
- Versions
- ≥ 0, ≤ 3.54.1: Affected (custom)
No fix published
sqlite3 Debian 12
- Versions
- 3.40.1-2
- 3.40.1-2+deb12u1
- 3.40.1-2+deb12u2
- 3.42.0-1
- 3.43.0-1
- 3.43.1-1
All versions (30)
- 3.43.2-1
- 3.44.0-1
- 3.44.2-1
- 3.45.0-1
- 3.45.1-1
- 3.45.2-1
- 3.45.3-1
- 3.45.3-2~exp1
- 3.46.0-1
- 3.46.1-1
- 3.46.1-2
- 3.46.1-2~exp
- 3.46.1-3
- 3.46.1-4
- 3.46.1-5
- 3.46.1-6
- 3.46.1-7
- 3.46.1-8
- 3.46.1-9
- 3.53.2-1
- 3.53.3-1
- 3.53.4-1
- 3.53.4-2
- 3.54.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Debian 13
- Versions
- 3.46.1-7
- 3.46.1-7+deb13u1
- 3.46.1-7+deb13u2
- 3.46.1-8
- 3.46.1-9
- 3.53.2-1
All versions (10)
- 3.53.3-1
- 3.53.4-1
- 3.53.4-2
- 3.54.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Debian 14
- Versions
- 3.46.1-7
- 3.46.1-8
- 3.46.1-9
- 3.53.2-1
- 3.53.3-1
- 3.53.4-1
All versions (8)
- 3.53.4-2
- 3.54.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite Ubuntu 14.04 LTS
- Versions
- 2.8.17-8fakesync1
- 2.8.17-9fakesync1
- 2.8.17-10ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu Pro 14.04 LTS
- Versions
- 3.7.17-1ubuntu1
- 3.8.0.2-1ubuntu1
- 3.8.1-1ubuntu1
- 3.8.1-1ubuntu3
- 3.8.2-1ubuntu1
- 3.8.2-1ubuntu2
All versions (13)
- 3.8.2-1ubuntu2.1
- 3.8.2-1ubuntu2.2
- 3.8.2-1ubuntu2.2+esm1
- 3.8.2-1ubuntu2.2+esm2
- 3.8.2-1ubuntu2.2+esm3
- 3.8.2-1ubuntu2.2+esm4
- 3.8.2-1ubuntu2.2+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu Pro 16.04 LTS
- Versions
- 3.8.11.1-1
- 3.9.1-2
- 3.9.2-1
- 3.10.0-1
- 3.10.1-1
- 3.10.2-1
All versions (15)
- 3.11.0-1ubuntu1
- 3.11.0-1ubuntu1.1
- 3.11.0-1ubuntu1.2
- 3.11.0-1ubuntu1.3
- 3.11.0-1ubuntu1.4
- 3.11.0-1ubuntu1.5
- 3.11.0-1ubuntu1.5+esm1
- 3.11.0-1ubuntu1.5+esm2
- 3.11.0-1ubuntu1.5+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite Ubuntu 16.04 LTS
- Versions
- 2.8.17-12fakesync1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu Pro 18.04 LTS
- Versions
- 3.19.3-3
- 3.20.1-2
- 3.21.0-1
- 3.22.0-1
- 3.22.0-1ubuntu0.1
- 3.22.0-1ubuntu0.2
All versions (14)
- 3.22.0-1ubuntu0.3
- 3.22.0-1ubuntu0.4
- 3.22.0-1ubuntu0.5
- 3.22.0-1ubuntu0.6
- 3.22.0-1ubuntu0.7
- 3.22.0-1ubuntu0.7+esm1
- 3.22.0-1ubuntu0.7+esm2
- 3.22.0-1ubuntu0.7+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite Ubuntu 18.04 LTS
- Versions
- 2.8.17-14fakesync1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu Pro 20.04 LTS
- Versions
- 3.29.0-2
- 3.30.1-1
- 3.30.1-1ubuntu1
- 3.31.1-1ubuntu1
- 3.31.1-3
- 3.31.1-4
All versions (15)
- 3.31.1-4ubuntu0.1
- 3.31.1-4ubuntu0.2
- 3.31.1-4ubuntu0.3
- 3.31.1-4ubuntu0.4
- 3.31.1-4ubuntu0.5
- 3.31.1-4ubuntu0.6
- 3.31.1-4ubuntu0.7
- 3.31.1-4ubuntu0.7+esm1
- 3.31.1-4ubuntu0.7+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite Ubuntu 20.04 LTS
- Versions
- 2.8.17-15fakesync1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite Ubuntu 22.04 LTS
- Versions
- 2.8.17-15fakesync1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu 22.04 LTS
- Versions
- 3.35.5-1
- 3.36.0-2
- 3.37.2-2
- 3.37.2-2ubuntu0.1
- 3.37.2-2ubuntu0.3
- 3.37.2-2ubuntu0.4
All versions (10)
- 3.37.2-2ubuntu0.5
- 3.37.2-2ubuntu0.6
- 3.37.2-2ubuntu0.7
- 3.37.2-2ubuntu0.8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu 24.04 LTS
- Versions
- 3.42.0-1
- 3.44.0-1
- 3.44.2-1
- 3.45.0-1
- 3.45.1-1
- 3.45.1-1ubuntu1
All versions (15)
- 3.45.1-1ubuntu2
- 3.45.1-1ubuntu2.1
- 3.45.1-1ubuntu2.3
- 3.45.1-1ubuntu2.4
- 3.45.1-1ubuntu2.5
- 3.45.1-1ubuntu2.6
- 3.45.1-1ubuntu2.7
- 3.45.1-1ubuntu2.8
- 3.45.1-1ubuntu2.9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu 26.10
- Versions
- 3.46.1-9
- 3.53.4-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
sqlite3 Ubuntu 26.04 LTS
- Versions
- 3.46.1-8
- 3.46.1-9
- 3.46.1-9ubuntu0.1
- 3.46.1-9ubuntu0.2
- 3.46.1-9ubuntu0.3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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://abraxaslabs.tech/research/sqlite-cli-recover
- https://github.com/sqlite/sqlite
- https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output
- https://nvd.nist.gov/vuln/detail/CVE-2026-119586