Shell command injection in Logseq
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-9279
- 2026-10-03 Alias added: GHSA-c3m5-8vv9-gg8p
References
Other 1
More logseq vulnerabilities
- TI-2026-35347 Arbitrary File Read, Write, Rename, and Delete in Logseq CVSS 4.0HIGH 8.7
- TI-2026-35349 Iframe escape by plugins in Logseq CVSS 4.0MEDIUM 4.6
- TI-2026-35348 Stored XSS via Unsanitized Plugin Metadata in Logseq CVSS 4.0MEDIUM 4.6
Sources
- CVE-2026-9279 · CVE Program
- CVE-2026-9279 · NVD
- FIRST EPSS
- GHSA-c3m5-8vv9-gg8p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences