Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Nov 17, 2026

CVE-2021-3199 Scanner

CVE-2021-3199 Scanner - Path Traversal vulnerability in ONLYOFFICE Document Server

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
3
Times Used
continuous scan runs
4.3k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
🔴
CISA Known Exploited Vulnerability
This CVE is actively exploited in the wild. CISA mandates federal agencies to patch immediately.
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
n/aby n/a
n/a
Updated Nov 17, 2026View on NVD →
Detail

ONLYOFFICE Document Server is a collaborative online document processing software used for editing text documents, spreadsheets, and presentations within a web browser. It is widely utilized by businesses, educational institutions, and non-profits to facilitate real-time editing and efficient document handling. The software is commonly deployed alongside other ONLYOFFICE solutions to enable seamless integration with existing IT infrastructures. It supports various document formats and provides version control, allowing multiple users to work on a single document simultaneously. ONLYOFFICE Document Server enhances productivity by simplifying document management and collaboration across different platforms. Additionally, it offers a self-hosted option for organizations that require data control and privacy.

The vulnerability in question is a Path Traversal vulnerability, which allows an attacker to gain unauthorized access to the file system. This security flaw is found in the handling of paths within the upload functionality. By manipulating the file path, an attacker can traverse the file system beyond the intended directory confines. This vulnerability can be exploited to write arbitrary files to the server, bypassing normal security restrictions. When combined with authentication methods such as JWT, the exploitation can lead to severe ramifications. The presence of this vulnerability makes the system susceptible to code execution by remotely placing executable files.

The Path Traversal vulnerability stems from the improper validation of user input regarding file paths. An exploitable endpoint exists in the image upload functionality that does not sanitize the '/..' sequence in provided paths. This flaw allows attackers to use crafted requests to traverse directories and write potentially harmful files without proper authorization. The vulnerable parameter involves the file path used during image uploads, which is compromised due to inadequate security checks. The exploitation requires knowledge of the JWT secrets if authentication is enabled, which a skilled attacker might uncover. Once exploited successfully, it enables an attacker to gain excessive control over the file system.

If exploited, this vulnerability can lead to significant adverse effects. An attacker gaining the ability to write files can execute arbitrary code on the server, potentially resulting in a full server compromise. The exposure could enable attackers to install backdoors, deface websites, or access sensitive data. Furthermore, the compromise of a document server could lead to data exfiltration, impacting privacy and regulatory compliance. The presence of arbitrary file write capability may also disrupt services by corrupting critical system files. Overall, successful exploitation poses a severe risk to server integrity, confidentiality, and availability, necessitating immediate remediation.

REFERENCES

Solution Advice
  • Update ONLYOFFICE Document Server to version 5.6.3 or later to mitigate this vulnerability.
  • Regularly review and sanitize user inputs and path parameters to prevent directory traversal issues.
  • Implement strict access controls and audit trails for file system access to detect unauthorized activities.
  • Consider using additional layers of security, such as web application firewalls, to monitor and block malicious requests.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.