8.7
/ 10
HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Description
Logseq exposes an IPC handler that allows the renderer process to execute shell commands. While an allowlist restricts the command name (e.g. `git`, `pandoc`, `grep`), the argument string is concatenated with the command and passed to `child_process.spawn` with the `shell: true` option, allowing shell metacharacters in the arguments to bypass the allowlist. An attacker with JavaScript execution in the renderer (e.g. via XSS or a malicious plugin) can execute arbitrary shell commands with the privileges of the Logseq process, leading to remote code execution on the host.
While only version v0.10.15 was tested and confirmed as vulnerable, status of other versions is unknown since this issue was not addressed by a patch.
While only version v0.10.15 was tested and confirmed as vulnerable, status of other versions is unknown since this issue was not addressed by a patch.
AI Analysis
Shell command injection vulnerability in Logseq due to improper input validation, allowing remote code execution on the host.
Basic Information
ID
CVE-2026-9279
Source
CERT-PL
Published
Jun 9, 2026 at 13:23
Affected Product
Vendor
logseq
Product
logseq
Affected Versions
logseq logseq 0
CWE Classification
AI Assessment
AI Score
8.7 / 10
AI Severity
High
Vendor
Logseq
Product
Logseq
Version
v0.10.15