Skip to main content

ONLYOFFICE Document Server EUVDEUVD-2026-100761

| CVE-2026-110385 HIGH
External Control of File Name or Path (CWE-73)
2026-10-14 mitre GHSA-4j4f-mq3p-mc2r
8.7
CVSS 4.0 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid Inbox-compatible JWT
  2. Delivery
    Submit Document Builder SaveFile job
  3. Exploit
    Inject duplicate m_sFileTo in converter XML
  4. Execution
    Overwrite runtime.json outside job directory
  5. Persist
    Trigger subsequent Document Builder job
  6. Impact
    Execute OS commands as ds account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires (1) a valid Inbox-compatible JWT accepted by the server, i.e. the attacker must possess or be issued a token signed with the deployment's JWT secret - in setups where this secret is shared across integrations or tenants this is a low bar, but strict per-tenant secret isolation raises it; and (2) use of the Document Builder API's builder.SaveFile() with its optional third argument to supply user-controlled converter XML containing a duplicate m_sFileTo element. The vulnerability is in default processing of that converter XML (no non-default feature toggle is mentioned), and affects ONLYOFFICE Document Server versions before 10.0.0. Limiting factors: authentication via a valid JWT is mandatory (PR:L), and full command execution is not instantaneous - it requires a subsequent Document Builder job to process the poisoned runtime.json configuration.

Impact

This is a genuine, actionable priority rather than a CVSS-inflated non-issue, though it is not an emergency. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates a network-reachable, low-complexity attack requiring only low privileges - specifically a valid Inbox-compatible JWT - with high impact to confidentiality, integrity, and availability (VC:H/VI:H/VA:H) but no subsequent-system scope change (SC:N/SI:N/SA:N), consistent with command execution confined to the host as the ds service account. The signals are internally consistent: the description's 'authenticated attacker with a valid JWT' matches PR:L, and the network-delivered Document Builder API call matches AV:N. No EPSS score, no CISA KEV listing, and no public POC were provided, so exploitation status is: no public exploit identified at time of analysis. The key tempering factors are the authentication requirement (a valid JWT, which in many deployments is a shared secret available to any integrated application or tenant) and the absence of evidence of active exploitation. Net: treat as a high-value patch target - the authentication barrier is modest where JWT secrets are shared, and the outcome is full OS command execution - but there is currently no data indicating mass or targeted exploitation.

Exploit ScenarioDerived

An attacker holding a valid Inbox-compatible JWT (e.g., a malicious or compromised integrated application, or an attacker who has obtained the shared JWT secret) submits a Document Builder job via the API, passing crafted converter XML in the optional third argument of builder.SaveFile(). A duplicate m_sFileTo element overrides the server-generated output path, letting them overwrite runtime.json to point the Document Builder executable at an attacker-controlled binary or arguments, so the next job runs arbitrary OS commands as the ds account. No public exploit code was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Remote code execution in ONLYOFFICE Document Server affects every release before 10.0.0, allowing an attacker who holds a valid Inbox-compatible JWT to run arbitrary OS commands as the ds service account. The flaw lives in the Document Builder API: because the optional third argument of builder.SaveFile() accepts user-controlled converter XML, injecting a duplicate m_sFileTo element overrides the server-generated output path and lets the attacker write outside the designated job directory, overwrite runtime.json, and repoint the Document Builder executable so that commands execute during a subsequent job. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV, but the CVSS 4.0 base score of 8.7 reflects high confidentiality, integrity, and availability impact, with exploitation gated on possession of a JWT signed with the deployment's secret (PR:L).

RemediationAI

Upgrade ONLYOFFICE Document Server to 10.0.0 or later, which is the first version outside the vulnerable range, and verify the installed build against the vendor change log at https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md. Where an immediate upgrade is not possible, the highest-value compensating control is tightening JWT trust: rotate the deployment's JWT secret, ensure each tenant/integration has a distinct secret, and shorten token lifetimes, since the attack requires a valid Inbox-compatible JWT - the trade-off is that shared-secret integrations and long-lived connectors will break until re-provisioned. Additionally, restrict network access to the Document Builder/conversion endpoints and any exposed API to trusted integration hosts, and run the ds service account with the least privilege possible, mounting runtime.json and the Document Builder binaries from read-only locations or a separate volume so the poisoned-configuration step cannot be completed - this may interfere with legitimate in-place upgrades or self-updating installs. File-integrity monitoring on runtime.json and the Document Builder executable path will detect the overwrite stage of the chain, and egress filtering limits follow-on command activity, though neither prevents the initial path-traversal write. Disabling the Document Builder API entirely closes the vector but removes document conversion and builder functionality for all users, so it is only realistic for deployments that do not use those features.

Affected VersionsENISA

Document Server 0 <10.0

Affected Packages

euvd document_server fix: 10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-73 (External Control of File Name or Path): the Document Builder component parses converter XML that is partly attacker-supplied and does not safely constrain the output file path. ONLYOFFICE Document Server's builder.SaveFile() API normally generates the job output location server-side, but its optional third argument carries converter XML, and a duplicated m_sFileTo element in that XML takes precedence, redirecting writes anywhere the ds service account can reach. The practical consequence is a config-poisoning chain rather than an immediate primitive: the attacker overwrites runtime.json, changes the configured Document Builder executable path and its arguments, and only then obtains command execution as the ds account the next time a Document Builder job is processed. Both the vendor CVSS 4.0 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) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) agree that the attack is network-reachable, requires low privileges (a valid JWT), needs no user interaction, and yields high impact across confidentiality, integrity, and availability; the CPE cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:* tracks all versions before the 10.0.0 fix.

Know when Onlyoffice gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Network API reachable (AV:N) with no special conditions (AC:L); a valid JWT is required so PR:L not PR:N; OS command execution as the service account yields full C/I/A, scope unchanged.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 14, 2026 - 02:01 EUVD
CVE Published
Oct 14, 2026 - 00:24 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

ONLYOFFICE Document Server deployments running releases before 10.0.0 face a high-severity remote code execution risk that could let a user with a valid deployment-signed JWT execute commands as the ds service account. Leadership should care because a compromise could expose sensitive documents, disrupt document-processing workflows, and require costly containment and forensic response, even though no public exploit code or active exploitation has been identified at time of analysis. Affected teams should prioritize inventory, JWT secret controls, and compensating controls while a vendor patch is unavailable.

Business Impact: High
Compensating Controls

No vendor-released patch identified; interim mitigations include disabling Document Builder if unused, rotating and tightly scoping JWT signing secrets, running the ds service account with least privilege, restricting network egress, enabling file integrity monitoring on runtime.json and the Document Builder executable, and reviewing for suspicious SaveFile or converter XML activity.

Threat Intelligence Overview

EPSS Score
1.0%
Top 37% exploitable
Prevalence
Medium
popular open-source document server, common in collaboration/Nextcloud stacks but not universal
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2021-3199 CRITICAL POC
9.8 Jan 26

Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT

CVE-2023-30187 CRITICAL POC
9.8 Aug 14

An out of bounds memory access vulnerability in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to

CVE-2023-30186 CRITICAL POC
9.8 Aug 14

A use after free issue discovered in ONLYOFFICE DocumentServer 4.0.3 through 7.3.2 allows remote attackers to run arbitr

CVE-2023-34939 CRITICAL POC
9.8 Jun 22

Onlyoffice Community Server before v12.5.2 was discovered to contain a remote code execution (RCE) vulnerability via the

CVE-2022-29777 CRITICAL POC
9.8 Jun 02

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a heap overflow via t

CVE-2022-29776 CRITICAL POC
9.8 Jun 02

Onlyoffice Document Server v6.0.0 and below and Core 6.1.0.26 and below were discovered to contain a stack overflow via

CVE-2021-25833 CRITICAL POC
9.8 Mar 01

A file extension handling issue was found in [server] module of ONLYOFFICE DocumentServer v4.2.0.71-v5.6.0.21. Rated cri

CVE-2021-25832 CRITICAL POC
9.8 Mar 01

A heap buffer overflow vulnerability inside of BMP image processing was found at [core] module of ONLYOFFICE DocumentSer

CVE-2021-25831 CRITICAL POC
9.8 Mar 01

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.3. Rated critical

CVE-2021-25830 CRITICAL POC
9.8 Mar 01

A file extension handling issue was found in [core] module of ONLYOFFICE DocumentServer v4.2.0.236-v5.6.4.13. Rated crit

CVE-2023-30188 HIGH POC
7.5 Aug 14

Memory Exhaustion vulnerability in ONLYOFFICE Document Server 4.0.3 through 7.3.2 allows remote attackers to cause a den

CVE-2021-25829 HIGH POC
7.5 Mar 01

An improper binary stream data handling issue was found in the [core] module of ONLYOFFICE DocumentServer v4.0.0-9-v5.6.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy