CVE-2026-54732
MEDIUM 6.5CVSS 3.1libreoffice-convert vulnerable to path traversal / arbitrary file write
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.
- Published
- 27 Aug 2026
- Last modified
- 9 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-gmxc-r82q-347r
- Sources
- NVDJSONOSV GHSA-gmxc-r82q-347rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | libreoffice-convert | < 1.8.2 | 1.8.2 |
References
- https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b · WEB
- https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r · WEB
- https://github.com/elwerene/libreoffice-convert · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 27 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2026)