Vulnerability · Published May 18, 2026 · Assigned by GitHub_M
CVE-2026-22810Joplin: Path traversal in OneNote importer allows overwriting arbitrary files
High 8.2
In plain English
A high-severity security flaw in joplin from laurent22. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Joplin is an open source note-taking and to-do application that organises notes and lists into notebooks. Versions prior to 3.5.7 contain a path traversal vulnerability in the importer which allows overwriting arbitrary files on disk. The OneNote converter does not sanitize the names of embedded files before writing them to disk. As a result, it's possible for an attacker to create a malicious .one file that includes file names containing ../../, that are then interpreted as part of the target path when extracting attachments from the .one file. This issue has been patched in version 3.5.7.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @joplin/onenote-converter | 3.5.7 | GHSA-gcmj-c9gg-9vh6 |
Affected products (as reported)
Weakness: CWE-24 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/laurent22/joplin/security/advisories/GHSA-gcmj-c9gg-9vh6 x_refsource_CONFIRM
- https://github.com/laurent22/joplin/pull/13736 x_refsource_MISC
- https://github.com/laurent22/joplin/commit/791668455e1aae50501ff57ea4783b3fba9d377c x_refsource_MISC
- https://github.com/laurent22/joplin/blob/af5108d70233b1db9410346958c1587cf7c1b16d/packages/onenote-converter/renderer/src/page/embedded_file.rs#L13-L16 x_refsource_MISC
- https://github.com/laurent22/joplin/releases/tag/v3.5.7 x_refsource_MISC