Unpatched Zimbra delegation flaw keeps attacker mailbox access after password resets
Rapid7 says a stored XSS in Zimbra can grant an attacker-controlled account loginAs rights over a victim's mailbox. The grant survives password changes and session revocation and is hidden from the Classic Delegates view. CVE-2026-137843, a bypass of the 10.1.20 fix, has no public patch.
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). 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: 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 has the details.
Source: Rapid7 part 2, The Hacker News
Security records in this story
The vulnerabilities, incidents, attack techniques and threat groups this post covers, each with its own sourced reference page.
Related on Start with Identity
- BlogDocker Hub GhostPat flaw let account conversion hand access tokens to any victim
CVE-2026-105445 (CVSS 9.4): for two years, converting a Docker Hub account into an organization re-assigned its personal access tokens to whoever was named owne
- BlogRabbitMQ OAuth2 proxy flaw let anonymous callers mint admin tokens with the broker's client secret
RabbitMQ advisory GHSA-cfvg-5q96-8mhm (CVSS 4.0 9.1) says the management plugin's OAuth2 token proxy answered unauthenticated callers and added the broker's sto
- BlogOkta Access Gateway flaw lets an admin run system commands as the gateway's service account
Okta published CVE-2026-115547 on October 22: an input validation flaw in the Okta Access Gateway Admin Console lets an authenticated administrator execute syst
- CVESailPoint IdentityIQ role-editing authorization flaw
IdentityIQ failed to authorize role edits on all versions at disclosure (April 2026). Anyone who could reach the role-editing surface could change roles they sh
- CVEFreeIPA idp-add evaluates input before checking the caller's rights
Any authenticated FreeIPA principal could push --organization or --base-url values into an eval() call that ran before the access check, reading the server proc
- CVEKeycloak authorization bypass
Keycloak failed an authorization check, so a caller could reach a resource their role should have blocked. Part of the April 2024 RHSA-2024:1868 set with CVE-20