Vulnerability record · CVE-2021-3199 · published 26 January 2021
CVE-2021-3199: Onlyoffice document server path traversal vulnerability
Onlyoffice · Document Server
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation in the wild
CISA added CVE-2021-3199 to the Known Exploited Vulnerabilities catalog on 8 October 2026 as "ONLYOFFICE Docs Server Path Traversal Vulnerability". Required action: 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. Federal deadline 11 October 2026.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 | Release NotesThird Party Advisory |
| https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py | ExploitThird Party Advisory |
| https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py | ExploitThird Party Advisory |
| https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 | Release NotesThird Party Advisory |
| https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py | ExploitThird Party Advisory |
| https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py | ExploitThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199 | US Government Resource |
Track CVE-2021-3199 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-3199), CISA KEV, FIRST EPSS (scores of 2026-11-11). This page is refreshed as NVD updates the record.