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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-08-27T17:21:50.743Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-gmxc-r82q-347r
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- elwerene libreoffice-convert: < 1.8.2
- libreoffice-convert (npm): before 1.8.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r> (web)
- <https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b> (web)
- <https://github.com/elwerene/libreoffice-convert> (package)

## Sources

- CVE List: [CVE-2026-54732](https://www.cve.org/CVERecord?id=CVE-2026-54732), CVE Terms of Use, modified 2026-08-28
- GitHub Advisory Database: [GHSA-gmxc-r82q-347r](https://github.com/advisories/GHSA-gmxc-r82q-347r), CC-BY-4.0, modified 2026-08-27
- NVD: [CVE-2026-54732](https://nvd.nist.gov/vuln/detail/CVE-2026-54732), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-54732 · Whole record: https://cve.day/CVE-2026-54732.json · Rebuilt by cve.day 2026-11-25T22:59:35.529Z
