ONLYOFFICE Docs Local Privilege Escalation to Root via Sed Command Injection in documentserver-flush-cache.sh
- CVE-2026-113630
- GHSA-vmw7-2j26-3m5w
- EUVD-2026-126499
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.
Text from the CVE.org record.
Affected
ONLYOFFICE Docs (Document Server)
- from 9.4.0-129 to before 10.0.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
Rapid7 disclosed five vulnerabilities in ONLYOFFICE Docs that could lead to container root access. · AI summary · verify against the vendor advisory · 1 outlet
- News