# Unpatched Zimbra delegation flaw keeps attacker mailbox access after password resets

Source: https://startwithidentity.com/blog/2026-12-02-unpatched-zimbra-delegation-flaw-keeps-attacker-mailbox-access-after-password-resets/
Last updated: 2026-12-02
License: content by Start with Identity. Cite the source URL.

---

Rapid7 published research on December 2 showing how an attacker who runs script in a Zimbra Collaboration Suite webmail session can keep reading that mailbox after the owner resets their password ([Rapid7](https://www.rapid7.com/blog/post/ve-calendar-forgery-and-stored-xss-in-zimbra-part-2/)). A stored XSS payload sends an authenticated `GrantPermissionRequest` that gives an attacker-controlled local account `loginAs` rights over the victim's mailbox. The grant is stored as an ACE in LDAP, so the attacker signs in with their own credentials; password changes and session revocation do not remove it, and the Classic Delegates view showed nothing while it was active. Zimbra blocked the original `GrantRightsRequest` path (CVE-2026-50054) in 10.1.20, but the legacy path, CVE-2026-137843 (CVSS 8.1), bypasses that fix and has no public patch. One of four related stored XSS bugs, CVE-2026-93648, is also unfixed. Version 10.1.22, released the same day, did not address them.

## Why it matters

Incident response for a compromised mailbox usually means reset the password and kill sessions. That evicts an attacker holding the victim's credential, but not one who has been granted delegated access of their own. It is the same lesson as [primary refresh token persistence](https://startwithidentity.com/techniques/primary-refresh-token-theft/): the attacker's foothold is a separate authorization object, not the password.

Upgrade to the current release, then hunt for grants directly: `zmprov -l sa '(zimbraACE=*loginAs)'` lists accounts carrying the right, and anything not on your approved delegation list should be removed. Review ACEs and Sieve forwarding rules rather than trusting the Delegates screen, and add grant review to your mailbox compromise runbook. The [CVE-2026-137843 brief](https://startwithidentity.com/cves/cve-2026-137843/) has the details.

Source: [Rapid7 part 2](https://www.rapid7.com/blog/post/ve-calendar-forgery-and-stored-xss-in-zimbra-part-2/), [The Hacker News](https://thehackernews.com/2026/12/new-unpatched-zimbra-flaw-lets-hackers.html)
