{"id":"CVE-2026-54732","published":"2026-08-27T17:21:50Z","modified":"2026-08-28T14:54:16Z","title":"libreoffice-convert: path traversal / arbitrary file write","vendor":"elwerene","product":"libreoffice-convert","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00416,"percentile":0.27612,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b","tags":["x_refsource_MISC"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":5.52},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"elwerene","affectedVersions":[{"vendor":"elwerene","product":"libreoffice-convert","versions":["< 1.8.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-28T14:53:50.098980Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"libreoffice-convert","vulnerableRanges":["<1.8.2"],"patched":["1.8.2"],"from":["GHSA-gmxc-r82q-347r"],"provenance":"source"}],"summary":{"text":"The libreoffice-convert Node.js module (by elwerene) fails to strip directory components from the caller-supplied options.fileName value before joining it into a temporary path, so a crafted filename containing ../ can make the module write document content to an arbitrary location. An attacker with network access and low privileges, and no user interaction, can exploit this by supplying a malicious file name when invoking the conversion, provided the process has write permission to the target path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:39Z"},"euvd":{"id":"EUVD-2026-67161","exploited":false,"provenance":"source"}}