CVE
ONLYOFFICE Docs root privilege escalation in documentserver-flush-cache.sh
Only ONLYOFFICE Docs 9.4.0-129 in the official onlyoffice/documentserver 9.4.0 image was shown affected; the wider range is unknown. No vendor rating is given, and CVSS scores it 7.8 High.
Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Exploited
- No known exploitation
- Fix
- Fixed in 10.0.0
- Who is exposed
- Specific setups only
Do first: Check whether your setup matches what the bug needs. Tested on the official onlyoffice/documentserver 9.4.0 image with package onlyoffice-documentserver 9.4.0-129. Only 9.4.0-129 was shown to be affected; the wider affected version range is unknown.
- Last modified
- Whether it needs action now or is a reference record, by fixed rules, with why. Last checked is when cve.now last re-read it.What do these mean? →
- Reference
- Last checked
- A 0-100 score for how much a CVE matters across the industry: exploitation, exposure, how widely the software is used, severity and whether a fix exists.What do these mean? →
- 14/100 · provisional
- How many real-world setups can hit the bug, from the vendor's advisory and CISA data. It does not know your setup.What do these mean? →
- Specific setups only
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
ONLYOFFICE Docs (Document Server) has a command injection flaw in its cache-flushing maintenance helper. A local attacker who can already run commands as the ds user can use a crafted --hash argument to run arbitrary commands as root. The attack needs only low-privilege local access, because the bundled sudo policy lets the ds user run the helper as root without a password.
Original 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.
Who should check
Teams running ONLYOFFICE Docs (Document Server) 9.4.0-129 from the official onlyoffice/documentserver container; the broader version range is unknown.
“Rapid7 tested the official onlyoffice/documentserver:9.4.0 image with package onlyoffice-documentserver 9.4.0-129”
cve.now Index
- Exploitation0/40No signal
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity8.8/10CVSS 7.8, total technical impact per CISA
- No patch0/5No signal
What would change the score
- Would score about 64 if added to CISA KEV
- Would score about 59 if CISA's SSVC rates exploitation active
- Would score about 24 if CISA's SSVC rates it automatable
What to do
Check whether your setup matches what the bug needs.
Tested on the official onlyoffice/documentserver 9.4.0 image with package onlyoffice-documentserver 9.4.0-129. Only 9.4.0-129 was shown to be affected; the wider affected version range is unknown.Upgrade to a fixed version: 10.0.0.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-113630 (ONLYOFFICE Docs Local Privilege Escalation to Root via Sed Command Injection in documentserver-flush-cache.sh), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-113630 (entry last updated 2026-11-16):
Affected:
- ONLYOFFICE Docs (Document Server): from 9.4.0-129, fixed in 10.0.0
Fixed versions: 10.0.0.
Conditions (all must be true for the bug to be hit):
- Tested on the official onlyoffice/documentserver 9.4.0 image with package onlyoffice-documentserver 9.4.0-129. (source: https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/)
- Only 9.4.0-129 was shown to be affected; the wider affected version range is unknown. (source: https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, low-privilege login, no user action.
CISA KEV: CVE-2026-113630 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-113630 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-113630
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-113630"}.Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- ONLYOFFICE Docs (Document Server)
From 9.4.0-129 · fixed in 10.0.0
Evidence 4
CVE record · 2
Establishes: The identifier and description.
- Record
- Record
Public exploit code · 1
Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub).
- Exploit
Corrections
None so far.
Something wrong on this page? Report an error. Every fix is listed here.
Questions about CVE-2026-113630
Is CVE-2026-113630 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data
What does this mean?
A user with access to the ds account can gain root privileges inside the Document Server container. The route is a passwordless maintenance command, documentserver-flush-cache.sh, that is open to sed command injection.Source: rapid7.com
Which versions are affected by CVE-2026-113630?
Docs (Document Server): from 9.4.0-129 before 10.0.0.Source: cve.now feed data
Am I affected, and how do I check?
The facts show only ONLYOFFICE Docs 9.4.0-129, tested on the official onlyoffice/documentserver 9.4.0 image, and the wider affected range is unknown. To check a installation, look at the installed onlyoffice-documentserver package version inside the container.Source: rapid7.com
How do I fix CVE-2026-113630?
The facts name no fixed version or patch ids for this vulnerability, so no upgrade target can be given. Check the ONLYOFFICE advisory for a fix before relying on any version.Source: rapid7.com