Read the docs

Command injection in ONLYOFFICE Docs helper enables root escalation

Priority LOW 33CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

ONLYOFFICE Docs (Document Server) from 9.4.0-129 before 10.0.0 is affected. The documentserver-flush-cache.sh helper inserts its --hash argument unvalidated into a GNU sed expression, which is a command injection flaw (CWE-78). A local attacker who can run commands as the ds user can run arbitrary commands as root, because the packaged sudoers policy lets ds run the helper as root without a password and with any arguments. The references link a public exploit.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Docs (Document Server) (ONLYOFFICE): 10.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ONLYOFFICEDocs (Document Server)9.4.0-129 to before 10.0.010.0.0Patch availableCNA
  • Docs (Document Server) VendorONLYOFFICE Affected 9.4.0-129 to before 10.0.0 Fixed in 10.0.0 Patch available CNA

Remediation

Upgrade ONLYOFFICE Docs (Document Server) to version 10.0.0.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA Docs (Document Server) (ONLYOFFICE) Fixed in 10.0.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    ONLYOFFICE Docs (Document Server) 10.0.0

    2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-92228 View-only users can export hidden document data in ONLYOFFICE DocsPriority MEDIUM 44

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-113630
  2. 2026-11-16 Alias added: GHSA-vmw7-2j26-3m5w
  3. 2026-11-16 CISA SSVC decision points changed

References

  • TI-2021-02273 Path traversal in ONLYOFFICE Document Server enables code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-17445 Onlyoffice Community Server before v12.5.2 was discovered to contain a remote code… CVSS 3.1CRITICAL 9.8
  • TI-2023-14162 An out of bounds memory access vulnerability in ONLYOFFICE DocumentServer 4.0.3 through… CVSS 3.1CRITICAL 9.8
  • TI-2023-14161 A use after free issue discovered in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows… CVSS 3.1CRITICAL 9.8
  • TI-2023-14163 Memory Exhaustion vulnerability in ONLYOFFICE Document Server 4.0.3 through 7.3.2 allows… CVSS 3.1HIGH 7.5
  • TI-2021-19374 ONLYOFFICE all versions as of 2021-11-08 is affected by Incorrect Access Control. CVSS 3.1HIGH 7.5
See all 39 →

Sources