ONLYOFFICE: from a view-only share to root on the server
Rapid7 found five flaws in ONLYOFFICE’s Document Server. Chained together, a document you were only allowed to look at was enough to run commands as root inside the server’s container.
- CVE-2026-113627
- CVE-2026-110385
- CVE-2026-97727
- CVE-2026-113630
- CVE-2026-113631
How it happened, step by step
Simplified diagram: the boxes are illustrative, but the sequence follows what the sources describe.
You open a shared document
The host application hands you a signed token that says you may look at the file. Not download it, not edit it.
Use the arrow keys to move between steps.
- You open a shared document: The host application hands you a signed token that says you may look at the file. Not download it, not edit it.
- The token opens the wrong door: The /docbuilder endpoint accepts the same token and runs whatever the request contains as a script.
- Stolen key, forged rights: The script reads the token-signing key off the server. The attacker forges their own save token and can now write files and run code.
- Root inside the container: A maintenance script runs as root without a password and takes any argument. One injected argument and the container belongs to the attacker.
- The fix: Document Server 10.0 closes all five holes. The viewer sees only what they are allowed to, and the DocBuilder route is shut.
What happened
On November 16, 2026, Rapid7 published details of five vulnerabilities in ONLYOFFICE Docs, together with working proof-of-concept code. The issues were reported on August 28; on October 23 ONLYOFFICE confirmed that Document Server 10.0 fixes all five.
The worst outcome: someone with view-only access to a single document — no download, edit or print rights — can chain the flaws and run commands as root inside the official Document Server container.
How it happened
ONLYOFFICE is embedded in other applications. The host application signs a token that says which document you may open and with which permissions. The problem: the /docbuilder endpoint accepted that same view-only token and ran the request body as a script. That script could read files on the server — including the key used to sign session tokens (CVE-2026-113627).
With the key, the attacker could forge a save token with permissions they were never given. From there, two routes led on: parameter injection in DocBuilder’s file save (CVE-2026-110385) or path traversal in the save format field (CVE-2026-97727). Both ended in code execution as the ds user.
The last step: the container gave ds passwordless sudo on a maintenance script with unrestricted arguments. One injected argument turned that into root (CVE-2026-113630). The fifth flaw (CVE-2026-113631) let a viewer export document data the interface never displays.
Who was affected
Any organisation running its own ONLYOFFICE Document Server older than 10.0, either standalone or embedded in another product such as webmail, file sharing or an intranet. Rapid7 demonstrated the attack on package 9.4.0-129; the exact range of older affected versions is unknown.
Where WOPI was enabled and the shipped allow-all IP filter left unchanged, the chain could start without any account at all.
Consequences
An attacker can read files and keys on the server, use forged tokens to reach other documents, and run commands as root in the container. A shared link — even a guest link — is a sufficient way in.
The exploit code is public along with the details, so anyone can try it against an unpatched server. That shortens the time you have to patch.
How it was resolved
The fix is Document Server 10.0 (Rapid7 checked package 10.0.0-169). There is no other workaround: update, and invalidate old tokens if the signing key may have been exposed.
What businesses can learn
"View-only" is enforced in the interface, not necessarily on the server. A token that works on more endpoints than it was issued for makes the permission cosmetic.
One key, one job. When browser, save and session tokens are all signed with the same key, one leaked key forges all of them.
A container is not a security boundary if there is passwordless sudo inside it. Strip what you do not need, and track the versions of embedded components — ONLYOFFICE often runs inside someone else’s product.
How FlowOne responded
We only list what our own logs can prove.
- FlowOne’s document-editing server was updated to the fixed ONLYOFFICE 10.0 on November 22.
- As an extra layer, the DocBuilder endpoint is blocked at the server and the passwordless root helper was removed from the container.
- We tightened our own integration too: file and editor tokens now use separate keys, editor tokens expire after 12 hours, saved files are only fetched from our own document server, and every previous key was replaced.
More incidents
nginx: five critical flaws in the web server in front of millions of sites
F5 fixed five vulnerabilities in nginx that can let an unauthenticated attacker run code inside the nginx worker process. The most important one needs nothing more than HTTP/2 switched on.
Read the storyClamAV: one deliberately broken file could stop the virus scanner
The open-source ClamAV scanner fixed ten security flaws on November 18. A malformed help file, Office document, packed executable or archive could crash the scanner or send it into an endless loop, and several of the bugs could write past the end of a memory buffer.
Read the story