{"id":"CVE-2026-55086","summary":"Etherpad: Import/export use Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwrite","details":"Etherpad is a real-time collaborative editor. Prior to 3.1.0, src/node/handler/ImportHandler.ts and src/node/handler/ExportHandler.ts derive temporary filenames from Math.random() and place them in os.tmpdir(). On a host with a shared world-writable temporary directory, a local unprivileged attacker who predicts a filename can precreate a symbolic link to a file writable by the Etherpad process. Subsequent import or export operations can follow the link through fs.writeFile, fs.rename, or document-conversion output and overwrite the target with partially attacker-controlled content. This issue is fixed in version 3.1.0.","aliases":["GHSA-2jwf-f4xq-f24h"],"modified":"2026-08-21T03:46:50.060248844Z","published":"2026-08-19T19:35:46.851Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55086.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-377","CWE-59"]},"references":[{"type":"WEB","url":"https://github.com/ether/etherpad/releases/tag/v3.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55086.json"},{"type":"ADVISORY","url":"https://github.com/ether/etherpad/security/advisories/GHSA-2jwf-f4xq-f24h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55086"},{"type":"FIX","url":"https://github.com/ether/etherpad/commit/8c6104c5d5daf41f0d454acc04d42dffa0e0d996"},{"type":"FIX","url":"https://github.com/ether/etherpad/pull/7784"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ether/etherpad","events":[{"introduced":"0"},{"fixed":"8c6104c5d5daf41f0d454acc04d42dffa0e0d996"},{"fixed":"fa1c6b2e43d0510c851643cb7ba67cf042331a37"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.1.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v3.0.0","3.0.0","v2.7.3","2.7.3","v2.7.2","2.7.2","v2.7.1","2.7.1","v2.7.0","2.7.0","v2.6.1","2.6.1","v2.6.0","2.6.0","v2.5.3","2.5.3","v2.5.1","2.5.1","v2.5.0","2.5.0","v2.4.2","2.4.2","v2.4.1","2.4.1","v2.4.0","2.4.0","v2.3.2","2.3.2","v2.3.1","2.3.1","v2.3.0","2.3.0","v2.2.7","2.2.7","v2.2.6","2.2.6","v2.2.5","2.2.5","v2.2.4","2.2.4","v2.2.3","2.2.3","v2.2.2","2.2.2","v2.2.1","2.2.1","v2.2.0","2.2.0","v2.1.1","2.1.1","v2.1.0","2.1.0","v2.0.3","2.0.3","v2.0.2","2.0.2","v2.0.1","2.0.1","v2.0.0","2.0.0","v1.9.7","1.9.7","v1.9.6","1.9.6","v1.9.5","1.9.5","v1.9.4","1.9.4","1.9.3","v1.9.3","1.9.2","v1.9.2","1.8.15","v1.9.1","1.9.1","v1.9.0","1.9.0","1.8.18","1.8.17","1.8.16","1.8.14","1.8.13","1.8.12","1.8.11","1.8.10","1.8.9","1.8.8","1.8.7","1.8.6","1.6.2","1.6.1","1.6.0","1.5.7","1.5.6","1.5.5","1.5.4","1.5.3","1.5.2","1.5.1","1.4.1","1.4.0","1.3.0","1.2.12","1.2.9","1.2.7","1.2.6","1.2.5","1.2.4","1.2.3","1.2.2","1.2.1","1.2.0","1.1.5","1.1.4","1.1.3","1.1.2","1.1.1","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55086.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}