NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🛡️
CISA KEV · ACTIVELY EXPLOITED
CRITICAL severity

CVE-2021-3199 — documentserver

CRITICAL

CVE-2021-3199 is a critical-severity (CVSS 9.8) Path Traversal vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2026-10-08) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
2 known
Exploitation data as of Nov 22, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2026-10-08. Federal agencies were required to remediate by 2026-10-11.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2021-3199.

EPSS Exploitation Probability

via FIRST.org ↗
88.1%probability of exploitation in next 30 days
Very High Risk+57.90%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
0.00%33.3%66.7%100.0%6.8%88.1%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Description

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.

Affected Products

1 product · 1 configurations
Application
document serveronlyoffice
< 5.6.3
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for CVE-2021-3199, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

How to detect CVE-2021-3199

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2021-3199 -u https://target
Template
ONLYOFFICE Document Server < 5.6.3 - Path Traversal to Arbitrary File Write
Severity
critical
Impact
Attackers can execute arbitrary code remotely, potentially leading to full server compromise.
Remediation
Update to version 5.6.3 or later.

Template by ProjectDiscovery nuclei-templates (Ayham970, 0x_Akoko), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-3199 in your dependencies?

Find it across your dependency tree, including transitive dependencies.

CVE-2021-3199: documentserver RCE (Critical 9.8, KEV)