Security mailing lists by PureSourceCode

CVE-2026-55086

MEDIUM 4.2CVSS 3.1

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

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.

Published
19 Aug 2026
Last modified
9 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-377CWE-59
Also known as
GHSA-2jwf-f4xq-f24h
Sources
NVDJSONOSV GHSA-2jwf-f4xq-f24hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm ep_etherpad-lite < 3.1.0 3.1.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.