CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



GHSA-92HR-GMR6-H8CP

GHSA-92HR-GMR6-H8CP: Cryptographic Weaknesses, Parameter Pollution, Path Traversal, and Timing Flaws in Etherpad

Amit Schendel
Amit Schendel
Senior Security Researcher

Aug 18, 2026·5 min read·17 visits

Executive Summary (TL;DR)

Etherpad deployments prior to version 3.3.0 are subject to token forecasting, login timing attacks, parameter pollution, path traversal via local plugins, and administrative file server error leaks.

A collection of multiple security issues in Etherpad before version 3.3.0, involving weak token generation, timing side channels, API parameter pollution, path traversal, and file-system path disclosure.

Vulnerability Overview

Etherpad (etherpad-lite) versions prior to 3.3.0 contained a group of six distinct architectural weaknesses and security vulnerabilities. These flaws exposed deployments to risk across multiple vectors, including session hijacking, timing-based credential harvesting, and local file access. The affected components span the core token generator, the OAuth2 authentication module, the REST API router, the local plugin manager, and the administration file server.

By chaining these architectural weaknesses, an attacker could potentially execute targeted attacks. For instance, predictable session tokens can compromise authentication boundaries. Meanwhile, unvalidated path parameters in plugins allow local privilege escalation or arbitrary directory traversal. This report provides a detailed examination of the root causes, patch modifications, and defense-in-depth strategies to secure Etherpad installations.

Root Cause Analysis

The root causes of these vulnerabilities stem from standard programming omissions across different modules of the codebase. First, the core token generator in src/static/js/pad_utils.ts relied on the non-cryptographic Math.random() PRNG. Because this engine is mathematically predictable, consecutive outputs allow reconstruction of the internal generator state, facilitating token forecasting.

Second, the OAuth2 provider implemented standard, variable-time string comparisons to validate user passwords. This created an observable timing side channel. The absence of strict verification on configuration lookups also left the application vulnerable to prototype pollution. Finally, the REST API interface automatically merged arbitrary HTTP request headers directly into input parameter dictionaries. This enabled API parameter pollution because incoming headers could override intended parameters.

Code-Level Patch Analysis

The security vulnerabilities were resolved in commit 7ea99706483443239bbbc0f2df9aff8ab5de4805. The patch replaced unsafe random string generation with a cryptographically secure implementation using globalThis.crypto.getRandomValues(). Rejection sampling was added to eliminate modulo bias when mapping raw byte values to the target character set.

Below is the comparison of the vulnerable and patched randomString implementations:

// Vulnerable Implementation
export const randomString = (len?: number) => {
  const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
  let randomstring = '';
  len = len || 20;
  for (let i = 0; i < len; i++) {
    const rnum = Math.floor(Math.random() * chars.length);
    randomstring += chars.substring(rnum, rnum + 1);
  }
  return randomstring;
};
// Patched Implementation with Cryptographic Entropy and Bias Correction
export const randomString = (len?: number) => {
  const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
  len = len || 20;
  const maxUnbiased = 256 - (256 % chars.length); // 248
  let randomstring = '';
  while (randomstring.length < len) {
    const bytes = new Uint8Array(len - randomstring.length);
    globalThis.crypto.getRandomValues(bytes);
    for (const b of bytes) {
      if (b >= maxUnbiased) continue; // Drop biased samples
      randomstring += chars[b % chars.length];
      if (randomstring.length === len) break;
    }
  }
  return randomstring;
};

Additionally, the OAuth2 module was hardened. It now utilizes crypto.timingSafeEqual for constant-time comparisons, enforces configuration lookups via Object.prototype.hasOwnProperty.call, and enforces an explicit 1000ms delay on failed login events.

Attack Vector & Exploitation

An attacker aiming to exploit the token generator must first gather a sequence of generated tokens, such as public author IDs or session keys. By feeding these tokens into a solver designed for the V8 engine's PRNG, the attacker can determine the internal state of the generator. With this state, the attacker predicts subsequently generated admin tokens, session identifiers, or pad IDs.

For the plugin-based path traversal, an attacker with local file system write capabilities or the ability to upload a custom plugin constructs a malicious package.json file. By defining a dependency path that points to a relative target outside the plugin's working directory, the mounting logic creates a symbolic link to critical system configuration files. This results in arbitrary file read capability when the application attempts to load the dependency structure.

Impact Assessment

The security impact of these chained vulnerabilities is substantial. Cryptographic predictability allows unauthenticated attackers to hijack active user or administrative sessions without possessing valid credentials. In environments where Etherpad handles confidential documents, this compromise directly leads to unauthorized data exposure and information disclosure.

Furthermore, API parameter pollution and timing side-channels provide unauthorized actors with mechanisms to brute-force authentication portals and manipulate internal API parameters. The local directory traversal via the plugin framework enables path manipulation, which can lead to system-wide file access under the privileges of the executing Node.js process. Finally, raw filesystem error messages returned by the administrative module disclose full path hierarchies, simplifying secondary exploitation phases.

Remediation & Defense in Depth

The primary remediation path is upgrading the Etherpad deployment to version 3.3.0 or later, which incorporates the comprehensive patch set. For systems where immediate upgrading is not viable, specific defensive controls can mitigate the exposure vectors.

Deploying a reverse proxy or Web Application Firewall to sanitize incoming request headers prevents API parameter pollution at the network boundary. Additionally, the administrative interface must be restricted to trusted, internal IP addresses using strict network access control lists. Access permissions on the Node.js process must also be audited to prevent unauthorized file system modifications, thereby neutralizing local directory traversal vectors.

Official Patches

EtherpadOfficial Security Hardening Commit
EtherpadEtherpad 3.3.0 Release Notes

Fix Analysis (1)

Technical Appendix

CVSS Score
7.5/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1,500
via Censys

Affected Systems

Etherpad Lite instances running versions prior to 3.3.0

Affected Versions Detail

Product
Affected Versions
Fixed Version
etherpad-lite
Etherpad
< 3.3.03.3.0
AttributeDetail
Primary CWE IDCWE-330
Secondary CWE IDsCWE-208, CWE-307, CWE-235, CWE-22, CWE-209
Attack VectorNetwork / Local (varies by component)
CVSS ScoreN/A
Exploit StatusNone (No active public exploits)
KEV StatusNot Listed
Patched Version3.3.0

MITRE ATT&CK Mapping

T1110.002Brute Force: Password Cracking
Credential Access
T1592Gather Victim Host Information
Reconnaissance
CWE-330
Use of Insufficiently Random Values

The use of insufficiently random values can allow an attacker to guess or predict values that are expected to be secure, such as session IDs, tokens, or cryptographic keys.

Vulnerability Timeline

Vulnerability published and advisory created
2026-06-07
Official fix commit merged and Etherpad 3.3.0 released
2026-06-07

References & Sources

  • [1]GitHub Security Advisory GHSA-92HR-GMR6-H8CP
  • [2]Etherpad Pull Request #7906

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 2 hours ago•CVE-2026-9639
6.5

CVE-2026-9639: Authenticated Denial of Service via Nil-Pointer Dereference in Canonical LXD Custom Volume Backup Import

CVE-2026-9639 (GHSA-j93m-3j9p-m5m8) is a null pointer dereference vulnerability in Canonical LXD affecting versions 5.0.0 through 5.21.4 and 6.0 through 6.8. The flaw resides in the (*lxdBackend).CreateCustomVolumeFromBackup method within lxd/storage/backend_lxd.go. An authenticated attacker with the can_create_storage_volumes permission can upload a crafted custom volume backup tarball that omits the expires_at field on a snapshot entry, triggering an unhandled SIGSEGV panic and terminating the LXD daemon.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 3 hours ago•CVE-2026-33050
8.8

CVE-2026-33050: OS Command Injection in GeoNode Vector Upload Handler

An operating system command injection vulnerability (CWE-78) exists in GeoNode versions prior to 5.1.0. The vulnerability occurs in the vector upload processing pipeline when handling user-supplied geospatial files. By supplying a crafted layer name containing shell metacharacters, an authenticated attacker with basic data upload privileges can execute arbitrary commands on the underlying server or container hosting the GeoNode application and Celery worker processes.

Alon Barad
Alon Barad
5 views•9 min read
•about 4 hours ago•CVE-2026-46429
5.5

CVE-2026-46429: Unrestricted File Upload and Validation Bypass in GeoNode

GeoNode versions prior to 5.0.3 contain an unrestricted file upload vulnerability (CWE-434) within the document and dataset ingestion architecture. Authenticated low-privileged users can bypass upload validation via direct REST API interactions, file extension masquerading, metadata mutation via PATCH requests, or malicious archive submissions. This allows attackers to store and serve dangerous file types, alter on-disk file references, or trigger path traversal and resource exhaustion during archive extraction.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 5 hours ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
7 views•9 min read
•about 6 hours ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
6 views•11 min read
•about 7 hours ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
5 views•10 min read