{"id":"CVE-2026-119586","state":"PUBLISHED","title":"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.","publishedAt":"2026-10-30T11:31:15.070Z","updatedAt":"2026-10-30T16:19:09.235Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["SQLite SQLite"],"affected":[{"vendor":"SQLite","product":"SQLite","packageURL":"pkg:github/sqlite/sqlite","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.54.1","versionType":"custom"}],"collectionURL":"https://sqlite.org/","repo":"https://github.com/sqlite/sqlite"}],"references":["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"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-30T16:28:06.823Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119586.json","commit":"25ad8a5b2686c03ce519304fa94cee2ab6c5e852","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119586","state":"PUBLISHED","datePublished":"2026-10-30T11:31:15.070Z","dateUpdated":"2026-10-30T16:19:09.235Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-30T11:14:48.751Z"},"containers":{"cna":{"title":"SQLite CLI through 3.54.1 Command Injection via .recover Output","descriptions":[{"lang":"en","value":"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":[{"vendor":"SQLite","product":"SQLite","packageURL":"pkg:github/sqlite/sqlite","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.54.1","versionType":"custom"}],"collectionURL":"https://sqlite.org/","repo":"https://github.com/sqlite/sqlite"}],"references":[{"url":"https://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223","tags":["technical-description"]},{"url":"https://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891","tags":["technical-description"]},{"url":"https://abraxaslabs.tech/research/sqlite-cli-recover","tags":["third-party-advisory"]},{"url":"https://github.com/sqlite/sqlite","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output","name":"VulnCheck Advisory: SQLite CLI through 3.54.1 Command Injection via .recover Output","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","lang":"en","description":"Improper Neutralization of Special Elements used in a Command ('Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-30T11:31:15.070Z"},"datePublic":"2026-10-09T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:*","versionEndIncluding":"3.54.1"}]}]}],"credits":[{"lang":"en","value":"Abraxas Labs","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-30T16:18:54.707240Z","id":"CVE-2026-119586","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-30T16:19:09.235Z"}}]}}}