CVE-2026-47899
Description
Logseq's Electron preload script allows arbitrary file read/write/delete via renderer process due to improper path validation in an exposed API.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Logseq's Electron preload script allows arbitrary file read/write/delete via renderer process due to improper path validation in an exposed API.
Vulnerability
The Electron preload script in Logseq versions up to and including v0.10.15 exposes an API method that allows the renderer process to invoke IPC handlers without proper path validation [1]. This vulnerability resides within the Electron preload script's handling of API methods invoked from the renderer process.
Exploitation
An attacker with JavaScript execution within the Logseq renderer process, achievable through methods such as Cross-Site Scripting (XSS) or a malicious plugin, can exploit this vulnerability. The attacker would need to call the exposed API method with specially crafted arguments to bypass path validation and trigger arbitrary file operations.
Impact
Successful exploitation allows an attacker to read, write, or delete arbitrary files on the user's system. The scope of the compromise is limited to the privileges of the Logseq application running on the user's machine.
Mitigation
Logseq version v0.10.15 has been confirmed as vulnerable, and the status of other versions is unknown as no patch has been released to address this issue [1]. Information regarding a fixed version, workarounds, or end-of-life status is not yet disclosed in the available references.
AI Insight generated on Jun 9, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2News mentions
0No linked articles in our index yet.