CVE-2026-113630: ONLYOFFICE Docs Local Privilege Escalation to Root via Sed Command Injection in documentserver-flush-cache.sh

Published Nov 16, 2026
·
Updated

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.

Affected Software

1 affected component
ONLYOFFICE ONLYOFFICE Docs (Document Server)=9.4.0-129

Event History

Nov 16, 2026
CVE Published
via MITRE·04:31 PM
Data Sourced
via MITRE·04:31 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must already have local command execution as the ds user in the official onlyoffice/documentserver container. The issue is therefore relevant where a user or another compromise can obtain execution in that account's context.

2

Does exploitation require user interaction or network access?

No user interaction is required, and the listed attack vector is local. Exploitation requires supplying a crafted --hash argument to the maintenance helper from the ds user context.

3

Why does this result in root-level execution?

The packaged sudoers policy allows ds to run documentserver-flush-cache.sh as root without a password and without argument restrictions. The helper inserts the supplied hash into a GNU sed expression, whose e flag can execute attacker-controlled commands as root.

4

Are default packaged permissions affected?

The described exposure relies on the packaged sudoers policy granting ds passwordless root execution of the helper with unrestricted arguments. This means deployments using that policy are affected once an attacker can execute commands as ds.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203