CVE Catalog

CVE-2026-54732

MediumCVSS 6.5
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

An attacker could write malicious files to sensitive system locations, potentially leading to system compromise or persistent security breach.

Recommendation

Update libreoffice-convert to version 1.8.2 or later, which includes the fix.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS