Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-3199: ONLYOFFICE Docs Server Path Traversal Vulnerability

97
Patch now
CRITICAL 9.8EXPLOITEDREMOTEUPGRADE

CVE-2021-3199 is a critical-severity flaw (CVSS 9.8) affecting document server, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 3%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance20.1% (top 3%)
CISA exploited listYes, fix due 2026-10-11
WeaknessCWE-22
Published2021-01-26
Last modified2026-10-09
Publisher (CNA): MITRE · Vendor: onlyoffice

Last updated 2026-10-09 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

onlyoffice document server UPGRADE
Affected: < 5.6.3
Fixed in: 5.6.3
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy document-server || rpm -q document-server || document-server --version
2. UPGRADE to 5.6.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade document-server
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade document-server
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Fedora 46 · uv · FIXED · 0.13.5-1.fc46 · FEDORA-2026-61ea5a28c6 · source
sudo dnf upgrade --advisory=FEDORA-2026-61ea5a28c6

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-3199?

document server: upgrade to 5.6.3. Exact commands for each OS are on this page.

Is CVE-2021-3199 being exploited?

Yes. CVE-2021-3199 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-3199 affect?

CVE-2021-3199 affects document server. Severity is critical (CVSS 9.8). 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.

How urgent is CVE-2021-3199?

Priority 97/100. Critical severity; EPSS top 3%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.