libreoffice-convert: 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54732
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 18:02 UTC · Revision 1
Source evidence
libreoffice-convert: path traversal / arbitrary file write
core-osv · Original sourcePublished 27 Aug 2026, 17:21 UTC
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.
osv:CVE-2026-54732
Complete source record
{
"id": "f30e34c7a7c21c7b2eb90b02ad4ae2a859e1ca84e670c7f716823f06b0698230",
"url": "https://osv.dev/vulnerability/CVE-2026-54732",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "libreoffice-convert: path traversal / arbitrary file write",
"summary": "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.",
"evidence": "osv:CVE-2026-54732",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-54732",
"aliases": [
"CVE-2026-54732",
"GHSA-gmxc-r82q-347r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/elwerene/libreoffice-convert",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b78f17df9b9183bd503fc4635fc8b3df6705047b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.8.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "b78f17df9b9183bd503fc4635fc8b3df6705047b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.8.2"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v1.8.1",
"v1.8.0",
"v1.7.0",
"v1.6.1",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.4.1",
"v1.4.0",
"v1.3.8",
"v1.3.7",
"v1.3.6",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.0",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.5",
"v1.0.4",
"v0.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"0.0.4",
"v0.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54732.json"
}
}
],
"modified": "2026-10-28T02:30:31.250565860Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54732.json",
"https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-54732",
"https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54732.json"
}
},
"related_cves": [
{
"value": "CVE-2026-54732",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498124,
"published_at": "2026-08-27T17:21:50.743+00:00"
}