CVE-2026-9279 Shell command injection in Logseq
Attackers with renderer access can execute arbitrary shell commands via IPC handler due to unsafe argument concatenation, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-9279?
CVE-2026-9279 is a high-severity command injection vulnerability in logseq, published on 9 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-9279?
How do I fix CVE-2026-9279?
No fix has been published for CVE-2026-9279 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-9279 being exploited?
There is no known exploitation of CVE-2026-9279 in the wild and no public exploit code.
Sources
Also known as GHSA-c3m5-8vv9-gg8p.