ONLYOFFICE Docs Local Privilege Escalation to Root via Sed Command Injection in documentserver-flush-cache.sh
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Oct 20, 2026
Description
Command injection in the documentserver-flush-cache.sh maintenance helper in ONLYOFFICE Docs (Document Server) 9.4.0-129 on the official onlyoffice/documentserver container allows a local attacker with command execution as the ds user to execute arbitrary commands as root via a crafted --hash argument that is interpolated unvalidated into a GNU sed expression, where the sed e flag runs attacker-controlled commands. The packaged sudoers policy permits ds to run the helper as root without a password and with unrestricted arguments.
| Product | Versions |
|---|---|
| Docs (Document Server) ONLYOFFICE | 9.4.0-129 to before 10.0.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | rapid7 |
Weaknesses
- CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.