Vulnerability · Published Aug 27, 2026 · Assigned by GitHub_M
CVE-2026-54732libreoffice-convert: path traversal / arbitrary file write
Medium 6.5
In plain English
A medium-severity path traversal in libreoffice-convert from elwerene. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
libreoffice-convert is a Node.js module for converting office documents to different formats. Prior to 1.8.2, index.js uses the caller-controlled options.fileName value in path.join(tempDir.name, fileName) without reducing it to a base name. A filename containing ../ can escape the temporary directory because path.basename() normalization is missing and write the supplied document buffer to an arbitrary path writable by the process, including an SSH authorized_keys file, a cron configuration, or a web root. This issue is fixed in version 1.8.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | libreoffice-convert | 1.8.2 | GHSA-gmxc-r82q-347r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| elwerene | libreoffice-convert | < 1.8.2 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N