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

- Severity: High 7.8 (CVSS:3.1, scored by rapid7) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.30%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-16T16:31:01.349Z
- Modified: 2026-11-16T21:17:20.297Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: rapid7

## 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.

(As written by CVE List.)

## Affected

- ONLYOFFICE Docs (Document Server): from 9.4.0-129 before 10.0.0

## References

- <https://github.com/jburgess-r7/onlyoffice-2026-pocs> (exploit)
- <https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/> (related)

## Sources

- CVE List: [CVE-2026-113630](https://www.cve.org/CVERecord?id=CVE-2026-113630), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-113630](https://nvd.nist.gov/vuln/detail/CVE-2026-113630), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-113630 · Whole record: https://cve.day/CVE-2026-113630.json · Rebuilt by cve.day 2026-11-25T22:59:50.897Z
