Skip to content

ONLYOFFICE Docs

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

CVE-2026-113630Published 16 Nov 2026, 16:31 UTC

Real-world risk

4.8/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from rapid7)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
ONLYOFFICE DocsNiche>= 9.4.0-129, < 10.0.010.0.0

What to do

Update to a fixed version: 10.0.0.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)

EPSS 1.3% chance of exploitation in 30 days (percentile 71), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 1 × prerequisites 0.5 × threat 0.954.750
  4. Rounded to one decimal between 0.1 and 104.8

How the score works

Exploitation and evidence timeline

  1. 16 Nov 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 Risk 4.8 (cvss fallback)

Weakness

CWE-78

References

Get alerts for ONLYOFFICE Docs

Free email or text alerts when a vulnerability in ONLYOFFICE Docs reaches risk 8 or higher. Nothing else.