THREATOPS
THREAT OPSThreat News › [GHSA] GHSA-2jwf-f4xq-f24h (medium) — ep_etherpad-lite: Import/export uses Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwrite

[GHSA] GHSA-2jwf-f4xq-f24h (medium) — ep_etherpad-lite: Import/export uses Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwrite

highgithub_advisoriesPublished 2026-08-13

GHSA-2jwf-f4xq-f24h Severity: medium CVE: CVE-2026-55086

ep_etherpad-lite: Import/export uses Math.random() for temp file paths; predictable paths on shared /tmp enable symlink-based file overwrite

## Description

`src/node/handler/ImportHandler.ts` and `src/node/handler/ExportHandler.ts` both compute their temporary working-file paths as:

```ts const randNum = Math.floor(Math.random() * 0xFFFF

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-2jwf-f4xq-f24h