CVE-2021-43802
published critical CVSS 3.1 · 9.9Admin privilege escalation and arbitrary code execution via malicious *.etherpad imports
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ether | — | etherpad-lite< 1.8.16 | Affected | Not stated | GitHub_M |
Description
Etherpad is a real-time collaborative editor. In versions prior to 1.8.16, an attacker can craft an `*.etherpad` file that, when imported, might allow the attacker to gain admin privileges for the Etherpad instance. This, in turn, can be used to install a malicious Etherpad plugin that can execute arbitrary code (including system commands). To gain privileges, the attacker must be able to trigger deletion of `express-session` state or wait for old `express-session` state to be cleaned up. Core Etherpad does not delete any `express-session` state, so the only known attacks require either a plugin that can delete session state or a custom cleanup process (such as a cron job that deletes old `sessionstorage:*` records). The problem has been fixed in version 1.8.16. If users cannot upgrade to 1.8.16 or install patches manually, several workarounds are available. Users may configure their reverse proxies to reject requests to `/p/*/import`, which will block all imports, not just `*.etherpad` imports; limit all users to read-only access; and/or prevent the reuse of `express_sid` cookie values that refer to deleted express-session state. More detailed information and general mitigation strategies may be found in the GitHub Security Advisory.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.9 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ether | etherpad-lite | < 1.8.16 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-790 CWE-790: Improper Filtering of Special Elements
- CWE-1287 CWE-1287: Improper Validation of Specified Type of Input
References
4- https://github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456...77bcb507b30e762e9375b0511b3763e0162aae53
- https://github.com/ether/etherpad-lite/issues/5010
- https://github.com/ether/etherpad-lite/releases/tag/1.8.16
- https://github.com/ether/etherpad-lite/security/advisories/GHSA-w3g3-qf3g-2mqc
Provider assertions
2GitHub_M · cna
Admin privilege escalation and arbitrary code execution via malicious *.etherpad imports
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f1b2de9780e66dc23bfe4e77d7f40d6c99b86395b71fa510e86c1827ce649cab
- Ingested
- 23 Sep 2026, 07:56:36 UTC
- Source record
- Official CVE record