ONLYOFFICE-DOCUMENTSERVER · CVE-2026-113630 · Other
FIX → 10.0.0-169
A command injection flaw in the documentserver-flush-cache.sh helper of ONLYOFFICE Docs lets a user who can already run commands as the ds account pass a crafted --hash argument that reaches a GNU sed expression. The sed e flag then executes attacker-chosen commands as root, because the packaged sudoers policy lets ds run the helper as root without a password.
first public Nov 16, 2026 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams that run the ONLYOFFICE Docs (Document Server) container, in particular the official onlyoffice/documentserver image at version 9.4.0-129, are exposed. The attacker needs command execution as the ds user first, so the risk is local escalation after another foothold; hosts that do not run this image can skip it.
Not affected if document-server-10.0-or-later, managed-hosting, no-onlyoffice-install
Who cares docker, document-server, onlyoffice, self-hosted
docker exec <container> dpkg -s onlyoffice-documentserver (Version below 10.0.0-169 is exposed; only 9.4.0-129 was tested)Upgrade to 10.0.0-169
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.
This page as .md · .json · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
10.0.0-169)NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.