Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635
- https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r8
FAQ
What is CVE-2026-54732?
CVE-2026-54732 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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, file...
How severe is CVE-2026-54732?
CVE-2026-54732 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54732?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.