Skip to main content
EPSS 0.1%top 97%

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

0
Medium
Published: 08/19/2026 (08/19/2026, 19:35:46 UTC)
Source: GCVE Database
Product: ep_etherpad-lite

Description

Etherpad-lite versions prior to 3.1.0 use Math.random() to generate temporary filenames for import/export operations in a shared temporary directory. This allows a local unprivileged attacker to predict these filenames and create symbolic links that cause the Etherpad process to overwrite arbitrary files with attacker-controlled content. The vulnerability is fixed in version 3.1.0.

CVSS v3.1

Score 4.2medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

npmghsa
ep_etherpad-lite
Affected versions
<3.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/13/2026, 13:02:18 UTC

Technical Analysis

In Etherpad-lite before version 3.1.0, the ImportHandler and ExportHandler generate temporary file paths using Math.random() placed in the system temporary directory (os.tmpdir()). On systems where the temporary directory is shared and world-writable, an attacker with local access can predict these filenames and create symbolic links pointing to files writable by the Etherpad process. When Etherpad writes to these temporary files during import or export, it follows the symbolic links and overwrites the target files with partially attacker-controlled data. This symlink-based file overwrite vulnerability is addressed in version 3.1.0.

Potential Impact

A local unprivileged attacker can cause Etherpad-lite to overwrite arbitrary files accessible by the Etherpad process by exploiting predictable temporary filenames and symbolic link creation. This can lead to partial integrity compromise of files. The CVSS score is 4.2 (medium severity), reflecting limited attack vector (local), high attack complexity, and partial impact on confidentiality and integrity without availability impact.

Mitigation Recommendations

Upgrade Etherpad-lite to version 3.1.0 or later, where this vulnerability is fixed. The fix removes the use of predictable Math.random() for temporary filenames, preventing symlink-based overwrites. No other mitigation is required if the upgrade is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2jwf-f4xq-f24h
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55086"]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a7e0370bf8831d5398f9583

Added to database: 08/13/2026, 17:48:32 UTC

Last enriched: 09/13/2026, 13:02:18 UTC

Last updated: 09/27/2026, 13:47:46 UTC

Views: 70

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses