CVE-2026-55086 Etherpad: Import/export use Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwrite
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm ep_etherpad-lite(npm) | < 3.1.0; <= 3.0.0 | 3.1.0 | Fixed |
| etherpad | = < 3.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| etherpad | = < 3.1.0 | No fix listed |
| npm ep_etherpad-lite(npm) | <= 3.0.0 | No fix listed |
| npm ep_etherpad-lite(npm) | < 3.1.0 | 3.1.0 |
References
- https://github.com/ether/etherpad/security/advisories/GHSA-2jwf-f4xq-f24h exploit vendor-advisory
- https://github.com/ether/etherpad/pull/7784 patch
- https://github.com/ether/etherpad/commit/8c6104c5d5daf41f0d454acc04d42dffa0e0d996 patch
- https://github.com/ether/etherpad/releases/tag/v3.1.0
- github.com
- github.com product
- ENISA EUVD EUVD-2026-62741 third-party-advisory