{"id":"CVE-2026-54732","summary":"libreoffice-convert: path traversal / arbitrary file write","details":"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.","aliases":["GHSA-gmxc-r82q-347r"],"modified":"2026-08-30T03:30:51.926536396Z","published":"2026-08-27T17:21:50.743Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54732.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54732.json"},{"type":"ADVISORY","url":"https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54732"},{"type":"FIX","url":"https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elwerene/libreoffice-convert","events":[{"introduced":"0"},{"fixed":"b78f17df9b9183bd503fc4635fc8b3df6705047b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.8.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}