CVE-2026-47899

Arbitrary File Read, Write, Rename, and Delete in Logseq

Published Jun 9, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
The Electron preload script in Logseq exposes an API method that allows the renderer process to invoke IPC handlers without proper path validation. An attacker with JavaScript execution in the renderer (e.g. via XSS or a malicious plugin), can read, write, or delete arbitrary files on the user's system.
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.

Analysis

AI-generated

Technical impact

The Electron preload script in Logseq exposes an IPC API that accepts file paths from the renderer process without validation. An attacker who can execute JavaScript in the renderer – for example by exploiting XSS or installing a malicious plugin – can read, overwrite or delete any file that the user’s account can access. This flaw belongs to CWE‑749 and effectively permits unauthorized file access, which could be leveraged to inject code or alter system state, impacting confidentiality, integrity and availability.

Affected Systems

Logseq is affected. Version 0.10.15 has been confirmed vulnerable, and the status of other releases remains unknown because no patch has yet been issued by the vendor. Until a fix is released, any installation that still pulls the vulnerable code path remains at risk.

Risk and Exploitability

The CVSS score of 8.7 categorises the issue as high severity. The exploitation route requires JavaScript execution inside the renderer, a scenario typically achieved through XSS or compromised plugins, so it is a contextual vector rather than a purely remote one. EPSS is not available and the vulnerability is not in CISA’s KEV catalog, yet the lack of a patch combined with the potential impact makes it a high‑priority concern. Any untrusted plugin or web content that can run JavaScript in the renderer should be treated as a possible vector for escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Logseq to the newest release that contains the fix as soon as it is published
  • Remove or disable untrusted or third‑party plugins, and grant plugin installation only to verified packages
  • Enforce a strict content‑security policy in the renderer and sanitise any user‑provided file paths before they reach IPC handlers

Generated by OpenCVE AI on June 9, 2026 at 15:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Logseq
Logseq logseq
Vendors & Products Logseq
Logseq logseq
Type Values Removed Values Added
Description The Electron preload script in Logseq exposes an API method that allows the renderer process to invoke IPC handlers without proper path validation. An attacker with JavaScript execution in the renderer (e.g. via XSS or a malicious plugin), can read, write, or delete arbitrary files on the user's system. 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.
Title Arbitrary File Read, Write, Rename, and Delete in Logseq
Weaknesses CWE-749
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-749

    Exposed Dangerous Method or Function

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Jun 9, 2026, 2:39 PM
Reserved
May 20, 2026, 2:37 PM
Status
Deferred
Published
Jun 9, 2026, 2:16 PM
Modified
Jul 23, 2026, 8:10 AM