Skip to content
Start with Identity
Identity CVE · Other

CVE-2026-137843Zimbra's legacy delegation handler still grants loginAs, so mailbox access survives a password reset

SWI rating: highCVSS 8.1
Product: Zimbra Collaboration SuiteVendor: Synacor / ZimbraCWE-863Disclosed: 2026-12-02Status: OngoingNVD ↗

What broke

Zimbra's loginAs right lets one account open another user's mailbox with its own credentials. Rapid7 reported in April 2026 that a caller acting for a mailbox could grant that right to another account (CVE-2026-50054), and ZCS 10.1.20 (July 20) blocked it in the GrantRightsRequest handler. Rapid7 then found that the separately registered legacy GrantPermissionRequest handler has its own parser, never runs the new check, and still writes the loginAs grant to the account ACL in LDAP. On 10.1.20 it returned HTTP 200 where the patched path returned PERM_DENIED.

The Rapid7 CNA scores CVE-2026-137843 CVSS 3.1 8.1 with CWE-863 (incorrect authorization) and lists ZCS 10.1.0 through 10.1.21 as affected. Rapid7 published details and proof-of-concept code on December 2, the day ZCS 10.1.22 shipped without a fix for it. There is no confirmed fixed release, and no exploitation has been reported.

Why it matters

The grant needs authority over the victim's mailbox, which Rapid7 gets from stored XSS in the same research: script running in the victim's session sends the request with the victim's cookie and CSRF token. After that, the attacker's own account reads, sends and deletes the victim's mail. Changing the victim's password or revoking their sessions does not touch the ACL entry, and the Classic client's Delegates view showed nothing while the grant was active. The usual account takeover response (reset, revoke, move on) leaves the attacker in place.

What to do

  • Remove any loginAs grant that was not deliberately assigned and watch for new ones, since no patch exists. Patching later will not remove grants made before it.
  • Apply 10.1.22 to close the stored XSS bugs Zimbra has fixed (the Classic Scheduler XSS, CVE-2026-93648, is still open), since script in a victim's session is how Rapid7 reached this grant.

After you patch

  • As the zimbra user, list stored grants with /opt/zimbra/bin/zmprov -l sa '(zimbraACE=*loginAs)', then inspect each with zmprov -l ga <account> zimbraACE, resolve the grantee and compare it with approved delegation records.
  • Add an ACL check to your mailbox compromise runbook next to the password reset, along with a review of Sieve filter rules.

Sources

Learn the flaw class · CWE-863

What this class of flaw is: broken authorization

The user is who they claim to be, but the product lets them do more than they should: a missing or wrong permission check, a role assigned too broadly, or an object reachable by changing an ID. In identity products this often means a low-privilege account can grant itself admin or read other tenants.

Key terms: Authorization (AuthZ) · Privilege Escalation · Least Privilege

In the news

News and analysis on Start with Identity that name CVE-2026-137843 or link this brief, newest first.

Last reviewed By SWI Community TeamSuggest a correctionHow we research
Know a primary source we should add, or a patch status that has changed? Email community@startwithidentity.com. See all briefs in the identity CVE catalog, or volunteer as a CVE Analyst.
Compiled from vendor advisories, NVD, CISA KEV, and public research. CVSS figures can disagree across NVD and the CNA. Confirm affected versions against the vendor advisory before you patch. Independent, community-driven analysis. See the disclaimer.