{"id":"CVE-2021-3199","aliases":["CVE-2021-3199"],"related":[],"kind":"vulnerability","state":"published","title":"ONLYOFFICE Docs Server Path Traversal Vulnerability","summary":"Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT is used, via a /.. sequence in an image upload parameter.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directory traversal with remote code execution can occur in /upload in ONLYOFFICE Document Server before 5.6.3, when JWT is used, via a /.. sequence in an image upload parameter.","source":"cvelist"},{"lang":"es","text":"Un salto de directorio con ejecución de código remota puede ocurrir en /upload en ONLYOFFICE Document Server versiones anteriores a 5.6.3, cuando es usado JWT, por medio de una secuencia /.. en un parámetro de carga de imagen","source":"nvd"},{"lang":"en","text":"ONLYOFFICE Docs contains a path traversal vulnerability that can occur when JWT is used, via a /.. sequence in an image upload parameter and could allow for remote code execution.","source":"kev"}],"published":"2021-01-22T02:41:34.000Z","modified":"2026-10-09T14:20:47.350Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.6.3"}],"vendor":"onlyoffice","product":"document_server","cpe":"cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"ONLYOFFICE","product":"Docs","source":"kev"}],"references":[{"url":"https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563","tags":["kev","release-notes","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","kev"]},{"url":"https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199","tags":["government-resource","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3199","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"mitre","kev":{"dateAdded":"2026-10-08","dueDate":"2026-10-11","name":"ONLYOFFICE Docs Server Path Traversal Vulnerability","requiredAction":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","ransomware":false,"notes":"This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: ; https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2021-3199"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"total","date":"2026-10-08T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3199","url":"https://www.cve.org/CVERecord?id=CVE-2021-3199","licence":"CVE Terms of Use","modified":"2026-10-09T03:55:31.111Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3199","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3199","licence":"Public domain","modified":"2026-10-09T14:20:47.350Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2021-3199","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-3199","licence":"CC0-1.0","modified":"2026-10-08T00:00:00.000Z"}],"updatedAt":"2026-11-25T22:57:59.730Z","epss":{"score":0.88708,"percentile":0.99774,"date":"2026-12-02T12:00:21.000Z"}}