// Güvenlik

Critical vulnerability actively exploited in ONLYOFFICE Docs allows remote code execution

The directory traversal vulnerability affecting ONLYOFFICE Document Server in versions before 5.6.3 has been added to CISA's list of actively exploited vulnerabilities. Updating the server is enough.

There’s a critical warning for ONLYOFFICE Docs users who run it on their own server. The vulnerability registered as CVE-2021-3199 was added to the US Cybersecurity and Infrastructure Security Agency’s (CISA) Known Exploited Vulnerabilities (KEV) list on October 8, 2026. CISA is telling organizations to apply the patch by October 11, 2026.

What exactly does the vulnerability do?

The flaw stems from a path traversal bug in ONLYOFFICE Document Server’s image upload endpoint. In installations that use JWT authentication, a “/..” sequence added to the upload parameter lets the server write outside the intended folder. The result isn’t just file confusion: an attacker can execute code remotely this way.

In NVD records, the vulnerability’s CVSS 3.1 score is 9.8 (Critical). The vector indicates remote exploitability without authentication; the impact covers confidentiality, integrity and availability in full. In other words, a Document Server exposed to the network can be a direct target as long as it isn’t updated.

Which versions are affected?

The vulnerability affects ONLYOFFICE Document Server versions before 5.6.3. The vendor’s release notes state that the patch was published in version 5.6.3. Current ONLYOFFICE Docs versions don’t carry this bug. Desktop applications such as ONLYOFFICE Desktop Editors, or the ONLYOFFICE cloud service directly, are not affected; the issue is in self-hosted Document Server installations.

What should you do?

If you run ONLYOFFICE Docs on your own server (especially with Nextcloud or ownCloud integration), take a look at these steps:

  • Check your version. If you’re below 5.6.3, upgrade without delay; the healthiest option is to move to the latest supported version.
  • If you installed it with Docker, pull the image to the current tag and restart the container.
  • If you don’t have to expose Document Server directly to the internet, restrict access to the internal network and reverse proxy only.
  • Check the logs: if there are unusual requests hitting the /upload endpoint, start an investigation.

ONLYOFFICE Docs is widely used in installations where JWT is enabled by default, which means the vulnerability applies to a broad group. Even though the patch came out in 2021, CISA adding it to the list shows that installations left on old versions are still being actively targeted.

Source: CISA KEV · NVD

// JOIN THE CONVERSATION

Share your experience

Bir sorunun, farklı bir çözümün veya eklemek istediğin bir notun var mı? Giriş yapmadan da yazabilirsin.

// KEEP READING

One more note.

All posts ↗︎