KEV catalog · CISA Known Exploited Vulnerabilities
CVE-2021-3199
9.8
Details
Descriptions
KEV: 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.
NVD: 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.
Compliance SSVC + BOD 26-04
Research metadata
https://github.com/ONLYOFFICE/server/commit/a1e83e1d4e60592ab330a2b6b5903a2469c5b463
https://github.com/ONLYOFFICE/server/blob/v5.6.3.1/DocService/sources/fileuploaderservice.js#L195
https://github.com/ONLYOFFICE/server/blob/a1e83e1d4e60592ab330a2b6b5903a2469c5b463/Common/config/default.json
https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199
https://github.com/moehw/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py
https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py
https://github.com/advisories/GHSA-vm8r-r39c-96c6
https://www.checkpoint.com/defense/advisories/public/2021/cpai-2021-0070.html
https://www.ic3.gov/CSA/2026/261008.pdf
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-3199
https://nvd.nist.gov/vuln/detail/CVE-2021-3199
Hunting hypothesis agent
Hunt Document Server access logs for JWT-signed POST /upload/<docid>/<uid>/<idx> bodies starting with ENCRYPTED;/../ traversal, chained with POST /docbuilder; nginx logs no bodies by default, so WAF or custom log-format capture is required.
Research details
https://github.com/moehw/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py
https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py Third-party repos; verify before use.
Tia coverage
When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.
Mentioned in
Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.