CVE-2021-3199ONLYOFFICE Docs Server Path Traversal Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
88.1%
88.1% chance of exploitation in the next 30 days, higher than 99.8% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 8 Oct 2026.
US federal deadline to fix: 11 Oct 2026.
Official 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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 8 Oct 2026.
US federal agencies must fix it by 11 Oct 2026. It's a sensible deadline for everyone else too.
CISA's full instruction
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.
Check whether you're affected
Find every system running ONLYOFFICE Document Server and compare its version with the affected versions.
Update to a fixed version
- Update Document Server to 5.6.3 or later.
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| ONLYOFFICE Document Server | < 5.6.3 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2021-3199 being exploited?
Yes. CISA added CVE-2021-3199 to its Known Exploited Vulnerabilities catalog on 8 Oct 2026, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 88.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2021-3199?
CVE-2021-3199 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Onlyoffice Document Server (< 5.6.3)
Is there a patch for CVE-2021-3199?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py(Exploit, Third Party Advisory)
- github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py(Exploit, Third Party Advisory)
- github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563(Release Notes, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.