ONLYOFFICE Docs CVE-2026-110385 fixed in Document Server 10.0
A remote code execution flaw in ONLYOFFICE Document Server before 10.0.0 allows an authenticated attacker to run commands as the ds service account.
Reported by Rapid7
First reported Summary updated
- Public PoC
- Yes
- Exploited
- Not known
- CVSS
- 8.7 High
What happened
Rapid7 reported five vulnerabilities in ONLYOFFICE Docs, including CVE-2026-110385, a DocBuilder SaveFile conversion parameter injection and code execution flaw.1
The Document Builder API improperly handles user-controlled converter XML supplied through the optional third argument of builder.SaveFile().NVD
By injecting a duplicate m_sFileTo element, an attacker can override the server-generated output path and write arbitrary content outside the designated job directory.NVD
This allows overwriting runtime.json, modifying the Document Builder executable path and arguments, and executing arbitrary commands when a subsequent job is processed.NVD
ONLYOFFICE confirmed on 23 October 2026 that all five findings were fixed in Document Server 10.0.1
Who is affected
- ONLYOFFICE Document Server, before 10.0.0NVD
Is there a public exploit?
Yes, public Proof-of-concept code is available on the accompanying Github repository.1
- GitHub github.com/jburgess-r7/onlyoffice-2026-pocs
- GitHub github.com/jburgess-r7/onlyoffice-2026-pocs/blob/main/pocs/editor_token_docbuilder_jwt_forgery.py
- GitHub github.com/jburgess-r7/onlyoffice-2026-pocs/blob/main/pocs/docbuilder_savefile_params_rce.py
- GitHub github.com/jburgess-r7/onlyoffice-2026-pocs/blob/main/pocs/downloadas_format_traversal.py
- GitHub github.com/jburgess-r7/onlyoffice-2026-pocs/blob/main/pocs/viewer_sendform_download_bypass.py
- GitHub github.com/jburgess-r7/onlyoffice-2026-pocs/blob/main/pocs/wopi_docbuilder_jwt_forgery.py
PoC code comes from strangers and is not checked by us. Read it before you run it, and only run it in a lab or against targets you are allowed to test.
Exploited in the wild?
Not known None of the sources reports attacks using it so far.
What to do
- Update to Document Server 10.0, which fixes all five findings.1
For bug hunters
This event is a code execution bug caused by unsafe handling of user-controlled configuration in a document conversion API. Similar flaws appear in file conversion, export and preview services where parameters or XML are passed to backend tools. Test whether optional arguments or XML fields can override output paths or executable settings. Look for ways to write outside intended directories and influence later job processing.
What to test
- Try injecting duplicate path elements in conversion parameters to redirect output.
- Check whether optional API arguments can modify executable paths or arguments.
- Attempt to write files outside the job directory via conversion output.
- Test if a subsequent job executes commands from modified configuration.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1