Home / Onlyoffice / Document Server / CVE-2021-3199
CVE-2021-3199: is it exploited, and which versions of Onlyoffice Document Server are affected and fixed?
CVE-2021-3199 is a path traversal (reading or writing files outside the intended folder) vulnerability in Onlyoffice Document Server, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on October 8, 2026, with a federal due date of October 11, 2026. Affected: document server before 5.6.3 (NVD). Fixed in 5.6.3 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:04 UTC.
What is CVE-2021-3199?
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.
From the CVE record by mitre, last updated October 9, 2026, 03:55 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| onlyoffice | document server | before 5.6.3 | application |
NVD analysis (status Analyzed), last modified October 9, 2026, 14:20 UTC.
How severe is CVE-2021-3199?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-3199 exploited in the wild?
- CISA KEV
- Listed as ONLYOFFICE Docs Server Path Traversal Vulnerability, added October 8, 2026; federal agencies must act by October 11, 2026
- 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.
- Ransomware use
- Unknown
- CISA's summary
- 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.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, October 8, 2026)
- EPSS
- 88.7% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 x_refsource_CONFIRM
- https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py x_refsource_MISC
- https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199 government-resource
When was it published, and where is the official record?
- Reserved
- January 21, 2021
- Published
- January 22, 2021, 02:41 UTC
- CVE record updated
- October 9, 2026, 03:55 UTC by mitre
- NVD
- Analyzed, last modified October 9, 2026, 14:20 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:04 UTC; KEV December 3, 2026, 06:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Document Server?
- Oct 14, 2026CVE-2026-110385 ONLYOFFICE Document Server: external Control of File Name or Path
- Dec 25, 2025CVE-2025-68936 ONLYOFFICE Document Server: cross-site scripting (XSS)
- Dec 25, 2025CVE-2025-68935 ONLYOFFICE Document Server: cross-site scripting (XSS)
- Dec 24, 2025CVE-2025-68917 ONLYOFFICE Document Server: cross-site scripting (XSS)
- Apr 1, 2025CVE-2023-46988 Onlyoffice Document Server: path traversal (reading or writing files outside the intended folder)
- Sep 9, 2024CVE-2023-50883 Onlyoffice Document Server: cross-site scripting (XSS)
- Aug 14, 2023CVE-2023-30188 Onlyoffice Document Server: infinite loop (denial of service)
- Aug 14, 2023CVE-2023-30187 Onlyoffice Document Server: out-of-bounds write (memory corruption)
Questions about CVE-2021-3199
Is CVE-2021-3199 exploited in the wild?
Yes. CISA added CVE-2021-3199 to its Known Exploited Vulnerabilities catalog on October 8, 2026 and set federal agencies a due date of October 11, 2026. FIRST's EPSS gives it a 88.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Onlyoffice Document Server are affected by CVE-2021-3199?
document server before 5.6.3, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2021-3199?
5.6.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3199?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3199?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.