# CVE-2026-55086: Etherpad: Import/export use Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwrite

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-13T14:11:07.000Z
- Modified: 2026-09-09T21:15:59.613Z
- Also known as: GHSA-2jwf-f4xq-f24h
- Weaknesses: CWE-59, CWE-377
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ether etherpad: < 3.1.0
- ep_etherpad-lite (npm): before 3.1.0

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ether/etherpad/security/advisories/GHSA-2jwf-f4xq-f24h> (exploit, web)
- <https://github.com/ether/etherpad/pull/7784> (web)
- <https://github.com/ether/etherpad/commit/8c6104c5d5daf41f0d454acc04d42dffa0e0d996> (web)
- <https://github.com/ether/etherpad/releases/tag/v3.1.0>
- <https://github.com/ether/etherpad> (package)

## Sources

- CVE List: [CVE-2026-55086](https://www.cve.org/CVERecord?id=CVE-2026-55086), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-2jwf-f4xq-f24h](https://github.com/advisories/GHSA-2jwf-f4xq-f24h), CC-BY-4.0, modified 2026-08-13
- NVD: [CVE-2026-55086](https://nvd.nist.gov/vuln/detail/CVE-2026-55086), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-55086 · Whole record: https://cve.day/CVE-2026-55086.json · Rebuilt by cve.day 2026-11-25T22:59:34.181Z
