CVE-2026-113630
ONLYOFFICE Docs Local Privilege Escalation to Root via Sed Command Injection in documentserver-flush-cache.sh
- Severity
- high CVSS 7.8 (v3.1)
- Affects
- Docs (Document Server) · ONLYOFFICE
- Weakness
- CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
- Published
- 16 November 2026 by rapid7
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.