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.
References
| Link | Resource |
|---|---|
| https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 | Release Notes Third Party Advisory |
| https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory |
| https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory |
| https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 | Release Notes Third Party Advisory |
| https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory |
| https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py | Exploit Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199 | US Government Resource |
Configurations
History
09 Oct 2026, 14:20
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199 - US Government Resource |
08 Oct 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Information
Published : 2021-01-26 18:16
Updated : 2026-10-09 14:20
NVD link : CVE-2021-3199
Mitre link : CVE-2021-3199
CVE.ORG link : CVE-2021-3199
JSON object : View
Products Affected
onlyoffice
- document_server
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
