A public Zimbra document link is enough to run commands on the mail server

8 min read

How to fix CVE-2026-93646: upgrade Zimbra Collaboration Suite to 10.1.21 or later and keep its proxy block in place. An editor token meant for one document authorizes a script that runs commands as the zimbra account, and the CVE record says the patch does not change the underlying token-authorization logic.

On this page

A stranger with no Zimbra account can turn a public document link into a shell on the mail server. They're opening a shared Briefcase document, grabbing the Zimbra editing token for that document, and then using that token to give a script of their own to the server. December 2nd, Rapid7 released a working exploit. The commands execute as Zimbra (which is the service user that owns mail store), so it has access to mailboxes, document store and also the config for the server.

The fix has a catch, and the CVE record states it plainly. ZCS 10.1.21 has been out since September and it prevents the use of the public route used in the exploit. The same record then says the release "does not change the underlying token-authorization logic." The public door is barred. But the token, below, still authorizes any operation that is offered to it.

Affected products and versions

CVE-2026-93646 affects Zimbra Collaboration Suite 10.1.16 through 10.1.20, Network Edition, where the bundled OnlyOffice integration runs with Document Editing enabled and the /zdocument proxy is reachable. Rapid7, the assigning CNA, scores the flaw 9.8 out of 10 under CVSS 3.1, with no privileges required and no user interaction. For the unauthenticated path, all the server needs to have is a public Briefcase document already existing. For the second one you need a regular mailbox account and a document that the account can open. Rapid7 gives that one 8.8.

How a document token becomes a shell

Zimbra's document servlet provides an editor token (JSON Web Token signed with shared key) to the user/guest when they access a document. It has only editor session claims. There is no audience, purpose or expiry. It doesn't actually specify what operations it may permit. OnlyOffice 7.2.1 is using the same signing secret for both the browser tokens and inbox request tokens. Therefore the Zimbra editor token is valid as inbox token too. For the request parser, a valid signature is treated as authorized. A POST to the public docbuilder url will save the request's body as a trusted DocBuilder script. You can use the native file API in a DocBuilder script. Using it, the DocBuilder scripts will read, write or delete files on the host, with permissions corresponding to the zimbra account. The published proof of concept uses that access to plant a shared library in the document converter's program directory. After conversion of a document, the library is loaded. Its initialisation code executes the command of the attacker as zimbra. Result of the command is written back as generated document.

The patch blocks a route, not the flaw

ZCS 10.1.21 released September 2026. It includes a new proxy rule that blocks the docbuilder path. The OnlyOffice program tree belongs to root there. That closes the demonstrated public route. What it does not change is the code that decides what a token authorizes: the document service authorization code is byte-identical between 10.1.20 and 10.1.21. ZCS 10.1.22 followed on December 2 with fixes for unrelated proxy flaws and no change to the application packages behind these findings. So the September release is a route block that has to stay in place, not a repair of the token system. The one caveat in the research is that if you run the Zimbra extended permission repair again, then that will make the program tree writable again for the zimbra account, which then makes the converter directory (which gets written to by the exploit) accessible again.

One flaw in a set of eleven

This flaw is one of eleven critical findings in Rapid7's Zimbra tracker, most of them in the same document service, and seven of the eleven have no complete fix. Most important sibling is CVE-2026-93643 - because unsigned save request writes files and goes to the same command exec (not fully fixed even in 10.1.22). In the same tracker, stored scripting errors go all the way back to 10.1.0. And there's no fixed version at all. Rapid7 published the analyses and proofs of concept on December 2, and the CVE records followed on December 3.

Who is not in scope

Servers without OnlyOffice Document Editing installed and enabled are not in scope for this CVE. Neither are servers where the /zdocument proxy is not reachable from a network an attacker can use. ZCS 10.1.21 and later block the demonstrated public DocBuilder route. Versions before 10.1.16 sit outside the affected range Rapid7 lists for this flaw, though the stored scripting flaws in the same set reach back to 10.1.0.

One check to run now

Look for a file that should never exist: libpthread.so.0 inside the OnlyOffice converter's program directory, /opt/zimbra/onlyoffice/documentserver/server/FileConverter/bin. Both of the published exploit routes insert that library so the converter will load it. Its absence does not clear the server, because the proof of concept deletes the library after it runs. You can look at the file check result along with proxy access logs. See if there are any docbuilder requests for /zdocument there. You can assume any response that wasn't a reject was a request to document service.

What this is not

Not root access. All those commands get executed as the zimbra service user (not root). It is also not a flaw in a plugin or a theme: the token handling sits in Zimbra's own document servlet and the bundled OnlyOffice service. There are no reports of any wild exploitation. CVE does not appear in CISA's Known Exploited Vulnerabilities list yet (as of December 3). There's a public exploit that works so there's no reason to wait, the silence is a reason to patch today.

How to fix

Install ZCS 10.1.21 or later on every node that serves OnlyOffice, and go to 10.1.22 where you can, since it is the current release and carries proxy fixes of its own. Then treat the route block as part of the patch, not as optional hardening. If you do not need Document Editing, then simply turn it off and verify that the /zdocument route is not responding. So if you need to edit then have a proxy rule that blocks the doc builder path before the general path for OnlyOffice. Make sure the Zimbra account has no write permissions for the OnlyOffice program tree. And that the tree itself is root owned. Recheck that ownership after any run of Zimbra's extended permission repair. Finally, hunt before you call it done: the planted converter library, docbuilder requests in the proxy logs, leftover conversion tasks in the document service cache, and unexpected child processes of the converter running as zimbra.

HOL's assessment

The lesson is in the token. The fact that Zimbra has an editor token shows that it was signed by Zimbra's shared secret and that the document service will accept that proof for any operation the token is shown for. Blocking the public route was the right emergency move, and 10.1.21 deserves credit for shipping in September, ahead of disclosure. But a route block is like a fence around a lock. The lock will still open for any signed token. Until Zimbra binds its tokens to the operations they are meant for, the proxy rule and the root-owned program tree are not hardening on top of the patch. They are the patch. Those should stay. Check after each permission repair.

Where to download Guard

HOL Guard is open source and free. You can use Guard Desktop on macOS 13+ (Apple silicon), Windows x64 and Linux x86_64. No terminal required. There is a one command terminal installation on the same install page. After installing, hol-guard doctor will tell you that daemon is started and the intercept layer is up and working.

Sources

Rapid7, zimbra-vulnerability-tracker (advisories, proofs of concept and detection guide): https://github.com/jburgess-r7/zimbra-vulnerability-tracker

NVD, CVE-2026-93646 record (Rapid7 CNA): https://nvd.nist.gov/vuln/detail/CVE-2026-93646

Ostorlab, Zimbra Public Document RCE Persists in 10.1.22 (CVE-2026-93643): https://blog.ostorlab.co/zimbra-public-document-rce-cve-2026-93643.html

ZeroPath, Quick Look: Zimbra Collaboration Suite CVE-2026-93646, an OnlyOffice DocBuilder Authorization Bypass with PoC to RCE: https://zeropath.com/blog/cve-2026-93646-zimbra-onlyoffice-docbuilder-authorization-bypass

We are running ZCS 10.1.21 already. Are we finished?

For the public DocBuilder - 10.1.21 is blocking it, this was the path the published exploit used. The token-authorization logic underneath is unchanged, the sibling flaw CVE-2026-93643 has no complete fix even in 10.1.22, and an extended permission repair run can make the OnlyOffice tree writable by the zimbra account again. Leave the proxy block and root ownership alone. Switch to 10.1.22 for its proxy fixes.

Has anyone exploited this in the wild?

As of December 3, 2026, no exploitation in the wild has been reported. This CVE is not in CISA Known Exploited Vulnerabilities catalog. Rapid7 published a working proof of concept on December 2, so that answer can change without warning.

We do not use OnlyOffice document editing in Zimbra. Are we affected?

No. This chain needs OnlyOffice Document Editing installed and enabled, with the /zdocument proxy reachable. If you have document editing disabled CVE-2026-93646 does not affect your server.

Zimbra CVE-2026-93646 questions

Reviewed . 3 questions.

We are running ZCS 10.1.21 already. Are we finished?

For the public DocBuilder - 10.1.21 is blocking it, this was the path the published exploit used. The token-authorization logic underneath is unchanged, the sibling flaw CVE-2026-93643 has no complete fix even in 10.1.22, and an extended permission repair run can make the OnlyOffice tree writable by the zimbra account again. Leave the proxy block and root ownership alone. Switch to 10.1.22 for its proxy fixes.

Has anyone exploited this in the wild?

As of December 3, 2026, no exploitation in the wild has been reported. This CVE is not in CISA Known Exploited Vulnerabilities catalog. Rapid7 published a working proof of concept on December 2, so that answer can change without warning.

We do not use OnlyOffice document editing in Zimbra. Are we affected?

No. This chain needs OnlyOffice Document Editing installed and enabled, with the /zdocument proxy reachable. If you have document editing disabled CVE-2026-93646 does not affect your server.

Sources

  1. Rapid7, zimbra-vulnerability-tracker (advisories, proofs of concept and detection guide) — 2026-12-02
  2. NVD, CVE-2026-93646 record (Rapid7 CNA) — 2026-12-03
  3. Ostorlab, Zimbra Public Document RCE Persists in 10.1.22 (CVE-2026-93643) — 2026-12-03
  4. ZeroPath, Quick Look: Zimbra Collaboration Suite CVE-2026-93646, an OnlyOffice DocBuilder Authorization Bypass with PoC to RCE — 2026-12-03
All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.