Skip to content

CVE-2026-54732 libreoffice-convert: path traversal / arbitrary file write

MediumCVSS 6.5 EPSS 0.42%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm libreoffice-convert(npm) < 1.8.2 1.8.2 Fixed
elwerene libreoffice-convert = < 1.8.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
elwerene libreoffice-convert = < 1.8.2 No fix listed
npm libreoffice-convert(npm) < 1.8.2 1.8.2

References