CVE-2021-3199
CVE-2021-3199 is a path traversal in Onlyoffice Document Server (CVSS 9.8, Critical).
Exploited in the wild. In CISA KEV since 2026‑10‑08. Fixed in 5.6.3.
Public exploit: 2 sourcesFix5.6.3Upgrade to this build
e.g. ONLYOFFICE Document Server < 5.6.3 - Path Traversal to Arbitrary File Write
What to do
Find your product and version, then upgrade to the build on the right.
- Onlyoffice Document ServerAffected: < 5.6.3Upgrade to: 5.6.3Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether your organization runs ONLYOFFICE Document Server and confirm its version number.
- If the version is older than 5.6.3, treat it as vulnerable regardless of JWT settings.
- Upgrade ONLYOFFICE Document Server to version 5.6.3 or later immediately.
- If you cannot upgrade right away, take the server offline from the internet or restrict access until patched.
- After upgrading, verify the server is no longer reachable with the old vulnerable version by checking the version banner again.
Coverage timeline
1 publisherAdvisory coverage
Added to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened. 2 further articles named this CVE in wider roundups without reporting it as a distinct event.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordA serious flaw in ONLYOFFICE Document Server (before version 5.6.3) lets attackers take over the server remotely, and it's already being actively attacked — if you run this software, treat it as urgent.
Directory traversal in the /upload endpoint of ONLYOFFICE Document Server (pre-5.6.3) allows an unauthenticated attacker to escape the upload directory via a '/..' sequence in an image upload parameter and achieve remote code execution, even when JWT is enabled; actively exploited in the wild per CISA KEV.
If you're affected
- Full server takeover
- Document data exposure
- Ransomware risk
- Operational disruption
- Reputational damage
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2026-10-08.
US federal agencies must remediate by 2026-10-11.
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.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
89% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
15 events over 2127 days, from the signal feeds we watch.
- EPSS band changemoderate → high
- EPSS band changemoderate → high
- Nuclei check added
- EPSS band changelow → moderate
- EPSS band change0 → moderateepss band change
- Record updatedrecord updated
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md
- github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py
- github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py
And 1 more reference. See all after sign-in
In the news
Questions about CVE-2021-3199
- Is CVE-2021-3199 being exploited?
- Yes. CVE-2021-3199 is in CISA's Known Exploited Vulnerabilities catalog since 2026-10-08, which means attackers are using it in the wild.
- Which versions are affected by CVE-2021-3199?
- Document Server: < 5.6.3.
- How do I fix or mitigate CVE-2021-3199?
- Upgrade to 5.6.3 or later.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Document Server, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI