Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit conversion request with traversal fileName value
-
DeliveryApplication forwards user-supplied fileName to libreoffice-convert
-
Exploitpath.join resolves '../' sequences outside temp directory
-
ExecutionDocument buffer written to attacker-chosen filesystem path
-
ImpactAttacker achieves persistence or code execution via planted file
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the consuming application accepts |
| Impact | The CVSS 6.5 score (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) accurately represents the mechanics: network-reachable, low complexity, requiring only that the caller can invoke a conversion request with a controlled filename - no elevated OS privilege needed. The high Integrity impact is well-calibrated: arbitrary file write as the process user can establish SSH persistence, inject cron jobs, or plant web shells, making this functionally equivalent to remote code execution in many deployments. However, the PR:L metric is key to contextualizing real-world risk - this is a library vulnerability, not a standalone service, so the blast radius depends entirely on whether the consuming application forwards untrusted user input as |
| Exploit ScenarioDerived | An attacker submitting a document to a public-facing Node.js conversion service sets the filename field to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Arbitrary file write in the libreoffice-convert npm package (all versions prior to 1.8.2) allows any caller who supplies a user-controlled fileName option to escape the intended temporary directory and overwrite arbitrary filesystem paths accessible to the Node.js process. The root cause is unsanitized use of path.join(tempDir.name, fileName) - a ../-laden filename resolves outside the temp dir without restriction. With no public exploit identified at time of analysis and no CISA KEV listing, risk is contingent on whether consuming applications expose fileName to untrusted input, but the write primitive is trivially exploitable in document-conversion web services.
RemediationAI
Upgrade libreoffice-convert to version 1.8.2 or later. The patch is a single-line fix in index.js that applies path.basename() to the filename before constructing the temp path; it is available at commit b78f17df9b9183bd503fc4635fc8b3df6705047b (https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b). If upgrading immediately is not possible, apply the vendor-documented workaround: ensure that the options.fileName value passed to libreoffice-convert is always internally generated (never derived from user input), or sanitize it with path.basename(userFileName) in the calling code before passing it to the library. The workaround is effective but requires auditing every call site. See the advisory at https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the npm package libreoffice-convert (pkg:npm/libreoffice-convert), a Node.js wrapper that shells out to LibreOffice for document format conversion. The vulnerability is classified CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). Inside convertWithOptions in index.js, the expression path.join(tempDir.name, fileName) constructs a temp file path using the raw caller-supplied options.fileName value. Node.js's path.join faithfully resolves ../ components, so an input like ../../.ssh/authorized_keys produces a path outside the temp directory entirely. The fix in 1.8.2 is a single-character change: wrapping the filename extraction with path.basename(), which strips all directory components before the join, making traversal impossible regardless of input.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
PR:L because caller must invoke the API with a controlled filename; C:N because this is a write-only primitive with no read capability; I:H for arbitrary file write.
Primary rating from Vendor (https://github.com/elwerene/libreoffice-convert).
CVSS VectorVendor: https://github.com/elwerene/libreoffice-convert
DescriptionCVE.org
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/authorized_keys, 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-67161
GHSA-gmxc-r82q-347r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB