Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. libreoffice-convert
  4. ›
  5. CVE-2026-54732

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

August 27, 2026

options.fileName is used to build a filesystem path (path.join(tempDir.name, fileName)) and the caller-supplied document buffer is written there, but fileName is never reduced to a base name. A fileName containing “../” escapes the temporary directory, so a caller can write arbitrary content to an arbitrary path the process can write to (e.g. ~/.ssh/authorized_keys, an /etc/cron.d entry, or a web root).

References

  • github.com/advisories/GHSA-gmxc-r82q-347r
  • github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b
  • github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r
  • nvd.nist.gov/vuln/detail/CVE-2026-54732

Code Behaviors & Features

Detect and mitigate CVE-2026-54732 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.8.2

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/libreoffice-convert/CVE-2026-54732.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 28 Aug 2026 00:17:23 +0000.