Vulnerability record

CVE-2021-3199

ONLYOFFICE Docs Server Path Traversal Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Docs, fix it now.

CISA required action: 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.

US federal civilian agencies must remediate by Oct 11, 2026.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorSource
DocsONLYOFFICEKEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog. Version details have not been published yet.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2021-3199 scored CVSS 9.8: ONLYOFFICE Docs, ONLYOFFICE Docs Server Path Traversal Vulnerability

    CISA lists this as exploited in the wild. Unpatched Docs systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

  2. Added to CISA KEV

    CVE-2021-3199 added to CISA KEV: ONLYOFFICE Docs, ONLYOFFICE Docs Server Path Traversal Vulnerability

    CISA lists this as exploited in the wild. Unpatched Docs systems are exposed to active attacks now.

    Basis: CISA Known Exploited Vulnerabilities catalog

Coverage

References

  • github.com https://github.com/ONLYOFFICE/DocumentServer/blob/903fe5ab7a275bd69c3c3346af2d21cf87ebeabf/CHANGELOG.md#563
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-ba…
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-3199
  • github.com https://github.com/moehw/poc_exploits/tree/master/CVE-2021-3199/poc_uploadImageFile.py
  • github.com https://github.com/nola-milkin/poc_exploits/blob/master/CVE-2021-3199/poc_uploadImageFile.py