Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-54732 EUVD-2026-67161GHSA-gmxc-r82q-347r

libreoffice-convert: path traversal / arbitrary file write

Published Aug 27, 2026 · Updated Aug 28, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
elwerene libreoffice-convert < 1.8.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm libreoffice-convert < 1.8.2 1.8.2 GHSA-gmxc-r82q-347r

References