grep CVE-2021-3199 /var/log/security.log
CVE-2021-3199
ONLYOFFICE Docs Server Path Traversal Vulnerability
CVSS critical 9.8 EPSS 88.5 % KEV: exploited due 2026-10-11 Analyzed
why: in CISA KEV
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.
- Published
- Last modified
- NVD status
- Analyzed
- Weakness (CWE)
- CWE-22
Actively exploited (CISA KEV)
- Added to KEV
- 2026-10-08
- Due date (US federal agencies)
- 2026-10-11
- Known ransomware use
- unknown
- Vendor / product
- ONLYOFFICE · Docs
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.
Severity and exploit probability
- CVSS base score
- critical 9.8 CVSS 3.1
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Rated by
- NVD (own analysis)
- EPSS
- 88.5 % probability of exploitation in the next 30 days (percentile 99.7 %) · model of 2026-12-01
Affected products
- ONLYOFFICE · Docs
- n/a · n/a
- onlyoffice · document_server
1 CPE name
cpe:2.3:a:onlyoffice:document_server:*:*:*:*:*:*:*:*
Sources and references
Further references
- https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563
- https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py
- https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199