---
id: CVE-2026-119586
title: SQLite CLI through 3.54.1 Command Injection via .recover Output
summary: >-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-77
vendor: SQLite
product: SQLite
affected:
  - SQLite <= 3.54.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-30T16:18:54.707240Z'
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T16:19:09.235Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119586'
references:
  - url: >-
      https://github.com/sqlite/sqlite/blob/version-3.54.1/ext/recover/sqlite3recover.c#L1221-L1223
  - url: >-
      https://github.com/sqlite/sqlite/blob/version-3.54.1/src/shell.c.in#L7877-L7891
  - url: 'https://abraxaslabs.tech/research/sqlite-cli-recover'
  - url: 'https://github.com/sqlite/sqlite'
  - url: >-
      https://www.vulncheck.com/advisories/sqlite-cli-through-3.54.1-command-injection-via-recover-output
    label: >-
      VulnCheck Advisory: SQLite CLI through 3.54.1 Command Injection via
      .recover Output
tags:
  - cve.org
epss: 0.01545
epssPercentile: 0.75137
ingestedAt: '2026-11-05T16:24:31.073Z'
---

## Overview

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

- `SQLite <= 3.54.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
