ONLYOFFICE Docs Server Path Traversal Vulnerability
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.
Why it matters
- This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, which means it has been observed being exploited in the wild.
Affected
- Vendor: ONLYOFFICE
- Product: Docs
- Identifier: CVE-2021-3199
- FlawFind severity: high
- Weakness: CWE-22
What to do
- 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.
- U.S. federal remediation deadline: 2026-10-11
- Inventory the affected product, prioritise internet-facing instances, and patch or mitigate immediately.
- Audit your own systems for the same weakness class — FlawFind can test your applications and APIs for it and prove what is exploitable.
Notes
This vulnerability could affect an open-source component, third-party library, protocol, or proprietary implementation that could be used by different products. For more information, please see: ; https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563 ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2021-3199
References
FlawFind validates every finding with a working proof-of-concept. Start an audit →