{"id":"GHSA-gmxc-r82q-347r","revision":"b0eb8e8ffc1b410aa67a9a13110ba813","records":[{"revision":"b0eb8e8ffc1b410aa67a9a13110ba813","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-gmxc-r82q-347r","aliases":["CVE-2026-54732"],"title":"libreoffice-convert vulnerable to path traversal / arbitrary file write","description":"### Impact\noptions.fileName is used to build a filesystem path\n(path.join(tempDir.name, fileName)) and the caller-supplied document buffer is\nwritten there, but fileName is never reduced to a base name. A fileName containing\n\"../\" escapes the temporary directory, so a caller can write arbitrary content to an\narbitrary path the process can write to (e.g. ~/.ssh/authorized_keys, an /etc/cron.d\nentry, or a web root).\n\n### Patches\nVersion 1.8.2 uses `path.basename` on `filename` to make sure the temp directory can not be escaped.\n\n### Workarounds\nMake 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`.","state":0,"publishedAt":"2026-08-27T17:23:16+00:00","modifiedAt":"2026-08-27T17:40:40.102977+00:00","affected":[{"ecosystem":"npm","name":"libreoffice-convert","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.8.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/elwerene/libreoffice-convert/security/advisories/GHSA-gmxc-r82q-347r","https://github.com/elwerene/libreoffice-convert/commit/b78f17df9b9183bd503fc4635fc8b3df6705047b","https://github.com/elwerene/libreoffice-convert"],"sourceUrl":"https://github.com/advisories/GHSA-gmxc-r82q-347r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gmxc-r82q-347r","identifiers":["GHSA-gmxc-r82q-347r","CVE-2026-54732"]},"retained":false,"historicalAffected":[]}],"coverage":[]}