Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
High

OS Command Injection in Logseq IPC Shell Command Handler

IdentifiersCVE-2026-9279CWE-78· Improper Neutralization of Special…

Logseq exposes an IPC handler that permits the renderer process to invoke shell commands. Although the implementation applies an allowlist to the executable name, with examples including git, pandoc, and grep, it concatenates attacker-controlled argument data with the command and passes the resulting string to child_process.spawn with shell: true. Because the arguments are interpreted by a shell, shell metacharacters embedded in the argument string can break out of the intended command context and bypass the command-name allowlist. An attacker who can execute JavaScript in the renderer, such as via XSS or a malicious plugin, can exploit this flaw to run arbitrary shell commands as the Logseq process. The issue was tested and confirmed in Logseq v0.10.15; the status of other versions is currently not available because the issue was not addressed by a patch.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in arbitrary command execution on the host with the privileges of the Logseq process. In practice, this enables remote code execution from a renderer-context foothold, allowing an attacker to execute system commands, access or modify local data available to the application, install persistence, and potentially pivot further depending on the user's privileges and host configuration.

Mitigation

If you can’t patch tonight, do this now.

No vendor workaround is described in the provided content. Until a fix is available, reduce exposure by preventing untrusted JavaScript execution in the renderer, including avoiding untrusted or malicious plugins and minimizing XSS risk. Restrict plugin installation to trusted sources, disable or limit risky renderer content where operationally possible, and run Logseq with least privilege to reduce post-exploitation impact.

Remediation

Patch, then assume compromise.

A vendor-side code fix is required. Based on the available information, remediation should eliminate shell interpretation of attacker-influenced input by avoiding shell: true, invoking executables directly, and passing arguments as a properly separated argument array rather than concatenated shell strings. Input handling should ensure that renderer-controlled data cannot introduce shell metacharacters or alter command structure. The advisory does not mention an available patch; only v0.10.15 was confirmed vulnerable, and the issue was stated to be unaddressed by a patch at disclosure time.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LogseqLogseqapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.