CVE-2026-119586
SQLite CLI through 3.54.1 Command Injection via .recover Output
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fpliu.ndk.pkg.prefab.android.21 » sqlitepreliminary | <= 3.54.1 | - |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://sqlite.org/
- Advisoryhttps://abraxaslabs.tech/research/sqlite-cli-recover
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/119xxx/CVE-2026-119586.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-119586
- Advisoryhttps://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output
- Packagehttps://github.com/sqlite/sqlite
- Articlehttps://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223
- Articlehttps://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891
