# CVE-2021-3199: ONLYOFFICE Docs Server Path Traversal Vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: yes. In CISA's catalogue since 2026-10-08. 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.
- Likelihood of exploitation in the next 30 days (EPSS): 88.7%, higher than 99% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-01-22T02:41:34.000Z
- Modified: 2026-10-09T14:20:47.350Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation active, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- onlyoffice document_server: before 5.6.3
- ONLYOFFICE Docs: no versions given

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py> (exploit, third-party-advisory)
- <https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py> (exploit, third-party-advisory)
- <https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563> (kev, release-notes, third-party-advisory)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199> (government-resource, us-government-resource)
- <https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk> (kev)
- <https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk> (kev)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3199> (kev)

## Sources

- CVE List: [CVE-2021-3199](https://www.cve.org/CVERecord?id=CVE-2021-3199), CVE Terms of Use, modified 2026-10-09
- NVD: [CVE-2021-3199](https://nvd.nist.gov/vuln/detail/CVE-2021-3199), Public domain, modified 2026-10-09
- CISA KEV: [CVE-2021-3199](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-3199), CC0-1.0, modified 2026-10-08

---

Page: https://cve.day/CVE-2021-3199 · Whole record: https://cve.day/CVE-2021-3199.json · Rebuilt by cve.day 2026-11-25T22:57:59.730Z
