The Morning Patch Wire

CYBER SECURITY NEWS REPORT

EXPLAINER · FRIDAY, DECEMBER 4, 2026

Zimbra's hidden loginAs grant survives a password reset: find it with one zmprov search

Rapid7 showed how a script running in a Zimbra webmail session can quietly give another account the right to open the victim's mailbox. The grant does not show in the Classic delegates screen, and a password reset does not remove it. This page shows the one search an admin can run today.

This explains reporting by Rapid7: Calendar Forgery and Stored XSS in Zimbra (Part 2) (Dec. 2, 2026).
Read the original first: https://www.rapid7.com/blog/post/ve-calendar-forgery-and-stored-xss-in-zimbra-part-2/

In one minute

How the backdoor gets planted

Step one is a stored XSS bug: a booby-trapped message or calendar item that runs a script when the victim views it in Zimbra's web client. Rapid7's Part 2 covers four of these, each rated 9.3.

The script reads the victim's session token and sends a GrantPermissionRequest. It asks the server to give the loginAs right on the victim's mailbox to an account the attacker controls.

The attacker then signs in to their own account and points it at the victim's mailbox. The server hands over the victim's mail.

Why a password reset does not help

The grant is saved on the server, in an attribute named zimbraACE. It is not tied to the victim's password or session.

So changing the password or kicking out sessions leaves it in place. Rapid7 also says the grant is hidden from the Classic web client's Delegates screen. Admin rights queries can see it.

Limits: the attacker needs a local account on the same server to receive the grant, and needs the script to run in the victim's session first.

Find bad grants

Rapid7 gives this search. Run it on the mailbox server as the zimbra Unix user. It lists every account that has a loginAs grant.

/opt/zimbra/bin/zmprov -l sa '(zimbraACE=*loginAs)'

For each account it lists, look at the grants in detail. Rapid7 gives this pattern; put the account name in place of the brackets.

zmprov -l ga [account] zimbraACE

Who is affected

CaseStatus
CVE-2026-50054 (loginAs through GrantRights)Fixed in 10.1.20.
CVE-2026-137843 (loginAs through legacy GrantPermission)No public fix listed.
CVE-2026-93647, -93641, -93642 (stored XSS, 9.3)Fixed in 10.1.21.
CVE-2026-93648 (stored XSS in Classic Group Calendar Scheduler, 9.3)No public fix listed.
CVE-2026-93627, -93628, -93629 (calendar forgery, 5.3)No public fix listed.
Zimbra 10.1.22 (December 2)Fixes NGINX issues only, not the flaws above.

What to do

What is still unknown

Sources

Today's full edition: Cyber Security News Report · every headline, every morning.