Actively exploited vulnerability / CVE-2021-3199
ONLYOFFICE Docs: an attacker can take control of your document server
This vulnerability lets a remote attacker run their own programs on the server where ONLYOFFICE Docs is installed. That means they could reach company documents, change them, or use the server as a starting point for further attacks on your network. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2021-3199 · EUVD-2021-26539
- Severity
- Critical (9.8/10)
- On the CISA list (US)
- yes, since 8 October 2026
- Deadline given to US federal agencies
- 11 October 2026
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 88.6% (FIRST's estimate for the next 30 days)
Does it concern you?
ONLYOFFICE Docs (also called ONLYOFFICE Document Server) is an online document editing suite that companies install on their own servers. It is typically used by businesses that want an alternative to online Microsoft Office or that connect it to file sharing and collaboration platforms.
ONLYOFFICE Document Server versions older than 5.6.3 are affected. Ask the person or company that manages the server which version it runs; it is usually shown in the admin panel or the application information.
Affected products and versions
- ONLYOFFICE Docs
- document server: before 5.6.3
What to do
Update ONLYOFFICE Document Server to version 5.6.3 or later. If you cannot update right away, follow the vendor's guidance or block internet access to the server until it is updated.
Versions that contain the fix: 5.6.3.
The official description
The text below is the description from the public database.
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.
Sources
- CVE Program
- GitHub Advisory Database
- Vendor advisory: cisa.gov
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.