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.
PUBLISHED5.2CWE-73
Problem type
Affected products
ONLYOFFICE
Document Server
< 10.0 - AFFECTED
References
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-110385Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-110385",
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"dateUpdated": "2026-10-14T00:24:53.582Z",
"dateReserved": "2026-10-14T00:24:52.796Z",
"datePublished": "2026-10-14T00:24:53.582Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre",
"dateUpdated": "2026-10-14T00:24:53.582Z"
},
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"vendor": "ONLYOFFICE",
"product": "Document Server",
"modules": [
"Document Builder (DocBuilder)",
"FileConverter"
],
"platforms": [
"Linux"
],
"repo": "https://github.com/ONLYOFFICE/DocumentServer",
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "custom",
"lessThan": "10.0"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-73 External Control of File Name or Path",
"cweId": "CWE-73",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/ONLYOFFICE/DocumentServer/blob/master/CHANGELOG.md"
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"solutions": [
{
"lang": "en",
"value": "Update ONLYOFFICE Document Server to v.10 or newer",
"supportingMedia": [
{
"type": "text/html",
"base64": false,
"value": "Update ONLYOFFICE Document Server to v.10 or newer"
}
]
}
]
}
}
}