Skip to content

← Public intelligence

npm package

libreoffice-convert

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.5npmPublished

    libreoffice-convert vulnerable to path traversal / arbitrary file write

    CVE-2026-54732 · GHSA-gmxc-r82q-347r

    Affected
    • npm libreoffice-convert < 1.8.2
    Fixed in
    1.8.2· Vendor fix available
    Issue
    Impact 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/authorizedkeys, an /etc/cron.d entry, or a web root). Patches Version 1.8.2 uses path.basename on filename to make sure the temp directory can not be escaped. Workarounds Make sure you supply the filename yourself and don't have it user supplied or use path.basename on filename before using it in libreoffice-convert.

    Recommended action: Upgrade to 1.8.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →