Path Traversal in Elwerene Libreoffice-Convert
CVE-2026-54732
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 class: Path Traversal (Directory Traversal)
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Elwerene Libreoffice-convert — versions < 1.8.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_CONFIRM)
Frequently asked questions
- What is CVE-2026-54732?
- CVE-2026-54732 is a medium-severity vulnerability in Elwerene Libreoffice-Convert, classified under Path Traversal. CVSS score: 6.5/10. Published 2026-08-27.
- How severe is CVE-2026-54732?
- Medium severity. CVSS v3 base score is 6.5 out of 10.