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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| SQLite | SQLite | <= 3.54.1 |
References
- https://abraxaslabs.tech/research/sqlite-cli-recoverExploit, Third Party Advisory
- https://github.com/sqlite/sqliteProduct
- https://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223Product
- https://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891Product
- https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-outputThird Party Advisory
Timeline
- Published
- Oct 30, 2026
- Last modified
- Nov 3, 2026
- NVD status
- Analyzed