Description
A remote code execution vulnerability in ONLYOFFICE Document Server versions before10.0.0 allows an authenticated attacker with a valid Inbox-compatible JWT to execute arbitrary operating system commands as the ds service account. The Document Builder API improperly processes user-controlled converter XML supplied through the optional third argument of builder.SaveFile(). 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. This allows the attacker to overwrite the runtime.json configuration file, modify the Document Builder executable path and arguments, and execute arbitrary commands when a subsequent Document Builder job is processed.
Published: 2026-10-14
Score: 8.7 High
EPSS: 1.0% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Auth‑precondition exists: an authenticated attacker who possesses a valid Inbox‑compatible JWT can supply a specially crafted converter XML to the builder.SaveFile() API. By inserting a duplicate m_sFileTo element, the attacker overrides the server‑generated output path and writes arbitrary files outside the designated job directory. This allows the attacker to overwrite the runtime.json configuration file, modify the Document Builder executable path and its arguments, and trigger arbitrary operating system commands when the next Document Builder job runs. The flaw results in uncontrolled code execution and full system compromise.

Affected Systems

ONLYOFFICE Document Server versions earlier than 10.0.0 are affected. Only deployments of these pre‑10 releases are at risk, while v10.0.0 and later incorporate the fix.

Risk and Exploitability

The CVSS score of 8.7 denotes high severity, and an EPSS score of 1% indicates a low probability of exploitation in the wild, but does not confirm that exploitation has occurred. It is not listed in the CISA KEV catalog. Exploitation requires a valid authenticated session with a correctly signed JWT, meaning the attacker must have legitimate access to the system; the attack vector is therefore through the authenticated builder.SaveFile() endpoint. Once the path overwrite is performed, executing the job delivers remote code execution privileges for the ds service account.

Generated by OpenCVE AI on October 16, 2026 at 02:52 UTC.

Remediation

Vendor Solution

Update ONLYOFFICE Document Server to v.10 or newer


OpenCVE Recommended Actions

  • Apply the vendor patch that addresses the path overwrite flaw (CWE-73) by upgrading ONLYOFFICE Document Server to version 10.0.0 or newer.
  • Restrict the issuance and use of Inbox‑compatible JWTs so that only trusted users can invoke document conversion.
  • If an immediate upgrade cannot be performed, disable or block the builder.SaveFile() API or prevent the use of the converter XML argument until the patch is applied.

Generated by OpenCVE AI on October 16, 2026 at 02:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 03:15:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Builder.XML Path Overwrite in ONLYOFFICE Document Server

Thu, 15 Oct 2026 13:30:00 +0000

Type Values Removed Values Added
Title Remote Code Execution via Builder.XML Path Overwrite in ONLYOFFICE Document Server
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description A remote code execution vulnerability in ONLYOFFICE Document Server versions before10.0.0 allows an authenticated attacker with a valid Inbox-compatible JWT to execute arbitrary operating system commands as the ds service account. The Document Builder API improperly processes user-controlled converter XML supplied through the optional third argument of builder.SaveFile(). 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. This allows the attacker to overwrite the runtime.json configuration file, modify the Document Builder executable path and arguments, and execute arbitrary commands when a subsequent Document Builder job is processed.
First Time appeared Onlyoffice
Onlyoffice document Server
Weaknesses CWE-73
CPEs cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*
Vendors & Products Onlyoffice
Onlyoffice document Server
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Onlyoffice Document Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-14T17:24:17.430Z

Reserved: 2026-10-14T00:24:52.796Z

Link: CVE-2026-110385

cve-icon Vulnrichment

Updated: 2026-10-14T17:24:07.814Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-14T01:17:06.337

Modified: 2026-10-16T19:55:59.740

Link: CVE-2026-110385

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:45:05Z

Weaknesses
  • CWE-73

    External Control of File Name or Path