CVE-2026-113630
Command injection in the documentserver-flush-cache.sh maintenance helper in ONLYOFFICE Docs (Document Server) 9.4.0-129 on the official onlyoffice/documentser…
Impact
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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · ONLYOFFICE
| Product | Affected versions |
|---|---|
| Docs (Document Server) | from 9.4.0-129 before 10.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/
- https://github.com/jburgess-r7/onlyoffice-2026-pocs
- https://github.com/advisories/GHSA-vmw7-2j26-3m5w
- https://nvd.nist.gov/vuln/detail/CVE-2026-113630
- https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed