A password reset is a containment action. On a Zimbra server, it can also be theater.

On 2 December 2026, Rapid7 published the second part of its Zimbra Collaboration Suite assessment: nine vulnerabilities across calendar processing, the Classic and Modern web clients, and mailbox delegation. Five had no confirmed fix when the research was published, and the current 10.1.22 release does not change that number. The highest score belongs to a stored XSS. The finding that should change incident-response runbooks is the smaller one: a legacy SOAP handler that lets a script inside a victim’s webmail session grant loginAs to an attacker-controlled local account.

The distinction matters because loginAs is not a session. It is an access-control entry stored in LDAP. The attacker later signs in with their own credentials, selects the victim’s mailbox in the SOAP context, and reads or sends mail without the victim’s password. Changing the password and revoking every session leaves the entry in place. In Rapid7’s test, Zimbra’s Classic Delegates view showed no results while the grant was active.

TL;DR

  • Rapid7’s second Zimbra installment covers nine vulnerabilities: three calendar-forgery flaws, four stored XSS flaws, and two mailbox-delegation flaws. Five have no confirmed fix through ZCS 10.1.22.
  • ZCS 10.1.22, released on 2 December, carries five NGINX proxy CVE fixes and none for these nine findings. ZCS 10.1.21 fixed three of the four XSS flaws; CVE-2026-93648 and CVE-2026-137843 remain open.
  • An unauthenticated sender can forge calendar items, and a victim who triggers one of the XSS flaws can have a hidden loginAs grant planted for an attacker’s local account.
  • Password changes and session revocation do not remove the LDAP entry. Hunt zimbraACE, revoke unauthorized grants, and verify the ACL afterwards.
  • No exploitation of these specific findings has been reported. Public proof-of-concept code lowers the barrier, and the persistence technique is the part to plan for.

Why this matters

Zimbra is self-hosted infrastructure, common in government, education, and research environments. A mailbox receives password-reset links, MFA enrollment messages, invoices, legal threads, and internal routing information. An attacker who can read it can usually find the next account to take over. An attacker who can send from it can phish the victim’s contacts from a trusted address.

The delegation flaw turns temporary browser access into durable mailbox access. That changes the containment decision. If a user reports a suspicious message and the response is “change your password”, the organization may close the ticket while the attacker still has a working path to the mailbox. The correct question is not only whether the password is new, but whether any authorization object still names an account the user did not approve.

The calendar findings are a separate integrity problem. They let an outsider change the victim’s copy of a meeting, forge an RSVP, or create a meeting under someone else’s name, without reading the mailbox or stealing credentials. A changed location, a fake urgent meeting, or a false decline can misdirect a target or waste an incident team’s time.

The chain: from an email to a hidden grant

The nine findings are separate bugs, but the useful attack path combines them. Rapid7’s write-up and the public tracker document the code paths and PoCs.

Delivery-time calendar forgery

Zimbra processes text/calendar MIME parts during delivery, before the recipient opens the message. The iCalendar component supplies the method, event UID, organizer, and attendees; the surrounding email supplies a separate sender identity. Zimbra did not consistently check that the sender may act for the organizer or attendee named in the component.

  • CVE-2026-93627 cancels or modifies an existing meeting. The attacker needs the event UID, organizer, and a sequence number at least as high as the stored value. The victim does nothing.
  • CVE-2026-93628 forges another attendee’s RSVP. Zimbra passes a null sender into reply processing, which skips the attendee filter, so the supplied PARTSTAT is applied to an address the sender does not control.
  • CVE-2026-93629 inserts a phantom meeting attributed to another organizer. Automatic invitation insertion must be enabled, which Rapid7 found was the default in its test build.

The root cause of the first is visible in the code Rapid7 published. When the sender lacks the invitation right, Zimbra disables only new-item creation; cancellations and updates to an existing UID still proceed. The permission check for the existing item reads the authenticated account from the mailbox operation context. LMTP delivery does not carry the sender’s authenticated account into that context, so the value is null, and hasFullPermission(null) returns true. The organizer check then compares the organizer in the incoming calendar data with the organizer stored on the event, not with the email sender.

These are 5.3-rated integrity bugs in Rapid7’s scoring. They do not read the mailbox, but they make the calendar untrustworthy, and they show how much authority Zimbra grants to unauthenticated calendar data.

Stored XSS in the authenticated origin

The four XSS findings are rated 9.3. They execute inside the victim’s Zimbra webmail origin, after the victim selects a message or uses a calendar or sharing control. That origin has the session cookie and the CSRF token. Script running there can read mail, send mail, and call the SOAP API as the victim.

  • CVE-2026-93647 puts HTML in the quoted local part of a METHOD:COUNTER sender address. Classic renders the decoded address in its counter-proposal banner without HTML encoding. The 44-octet payload fits inside SMTP’s 64-octet local-part limit.
  • CVE-2026-93648 does the same with the organizer address in Classic’s Scheduler when a recipient opens an invitation and selects Propose New Time. Group Calendar must be enabled.
  • CVE-2026-93641 and CVE-2026-93642 use forged share invitations in Classic and Modern. Selecting the message and accepting the share runs the payload before the server processes the acceptance.

Three of the four were fixed in ZCS 10.1.21 on 24 September. CVE-2026-93648 was still unpatched in 10.1.22. Rapid7 confirmed it on 10.1.21 and lists 10.1.0 through 10.1.22 as affected.

The legacy handler that still writes loginAs

Zimbra’s loginAs right lets one account open another user’s mailbox while authenticating with its own credentials. The web client’s normal delegation controls offer sendAs and sendOnBehalfOf; they do not offer loginAs, and Rapid7 found that the Classic Delegates view did not display it.

The original delegation bug, CVE-2026-50054, was an authorization flaw in GrantRightsRequest. ZCS 10.1.20 added a guard that rejects loginAs in that handler. The legacy GrantPermissionRequest handler stayed registered in the mail namespace. Its handleACE() still resolves any registered UserRight, including loginAs, and passes the resulting ACE to the same ACLUtil.grantRight() writer. The new guard was never added to that path. That is CVE-2026-137843.

The request is small:

<GrantPermissionRequest xmlns="urn:zimbraMail">
<ace right="loginAs" gt="usr" d="attacker@example.com"/>
</GrantPermissionRequest>

It must run in the target account owner’s authenticated context, with the CSRF token. The XSS provides exactly that context. In Rapid7’s test, the response was HTTP 200, and the ACE was written to the owner’s zimbraACE attribute. The attacker then authenticates normally with their own password and sets the victim as the account in the SOAP context:

<context xmlns="urn:zimbra">
<authToken>ATTACKER_OWN_TOKEN</authToken>
<account by="name">victim@example.com</account>
</context>

A SearchRequest for in:inbox now returns the victim’s messages. The attacker never learns the victim’s password. Changing it does not remove the ACE, and expiring the victim’s sessions does not either, because the later access uses a fresh session authenticated as the grantee.

There are real limits. The attacker needs an existing local account on the same server to receive the grant. The grant must be created from the owner’s context, so this is a post-exploitation persistence step, not a standalone remote takeover. An unrelated ordinary user cannot grant themselves access to another mailbox. Those limits do not make the persistence less important once an XSS has fired.

What the patch status actually is

ZCS 10.1.22 is a proxy release. Its security notes list five NGINX2Root CVEs, none of them from Rapid7’s nine: CVE-2026-123007, CVE-2026-123633, CVE-2026-113425, CVE-2026-118899, and CVE-2026-97629. The application packages and the proxy configuration relevant to Rapid7’s findings are unchanged from 10.1.21.

CVEFindingStatus through ZCS 10.1.22
CVE-2026-93627, -93628, -93629Calendar cancellation, RSVP forgery, phantom meetingNo confirmed fix
CVE-2026-93647Classic counter-proposal stored XSSFixed in 10.1.21
CVE-2026-93648Classic Scheduler stored XSSNo confirmed fix
CVE-2026-93641, -93642Forged-share stored XSS in Classic and ModernFixed in 10.1.21
CVE-2026-50054Original loginAs grant through GrantRightsRequestFixed in 10.1.20
CVE-2026-137843Legacy GrantPermissionRequest bypassNo confirmed fix

Upgrading is still necessary. It closes the three XSS paths and the original delegation path, and 10.1.22 closes the proxy issues. It does not close the persistence technique, and it does not remove a grant that already exists. Treat the version check and the ACL check as two separate controls.

What You Can Do Today

  1. Establish the real patch baseline and write down what remains open. Confirm the running build with su - zimbra -c 'zmcontrol -v' and check the proxy package version separately. Record that 10.1.22 fixes the NGINX CVEs, 10.1.21 fixes CVE-2026-93641, -93642, and -93647, and that CVE-2026-93648, CVE-2026-137843, and the three calendar flaws remain without a confirmed fix. Do not close the ticket on the version string alone.

  2. Hunt stored loginAs grants in LDAP. On each mailbox server, run the search as the Unix zimbra account:

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

    For every account returned, read the full ACL:

    Terminal window
    /opt/zimbra/bin/zmprov -l ga victim@example.com zimbraACE

    The value contains the grantee UUID, the grantee type, and the right, for example 8e32a0a0-... usr loginAs. Resolve the UUID with zmprov -l ga <uuid> mail zimbraId. Preserve the output before changing anything, and remember that the search also returns -loginAs deny entries. Compare each allow entry with approved delegation records. Revoke an unauthorized entry through the admin SOAP interface (RevokePermissionRequest for a grant created through the legacy mail handler, RevokeRightsRequest for the account handler), then read the ACL again. A successful response is not proof; the absence of the ACE is.

  3. Look for the entry chain in mail and logs. Search the mailbox logs for both handlers:

    Terminal window
    zgrep -E '\] soap - (\(batch\) )?Grant(Rights|Permission)Request( elapsed=|$)' /opt/zimbra/log/mailbox.log*

    The log records the operation and the selected mailbox, not the requested right or a successful LDAP write. Correlate the timestamp, account context, and soapId with nearby records, then confirm any surviving grant with the ACL query. For mail, preserve the original message and its MIME parts, and compare the RFC From with METHOD, UID, SEQUENCE, ORGANIZER, and ATTENDEE. HTML metacharacters in a quoted From on a METHOD:COUNTER message, or in a METHOD:REQUEST organizer, are direct indicators. So is markup in a decoded xml/x-zimbra-share part.

  4. Treat a suspected mailbox as an identity incident, not a password ticket. Revoke unauthorized ACEs, then review Sieve rules, forwarding, app passwords, OAuth datasources, and any other delegated access. Rotate credentials that the mailbox could reach, revoke sessions, and check Sent items for mail the user did not write. If the mailbox held password-reset messages for other services, assume those accounts are in scope. The user-facing Delegates view is not an inventory; the ACL query is.

  5. Reduce the entry surface while the remaining fixes are missing. Put webmail behind a VPN or an allowlist where the user population permits it, enforce MFA, and monitor /service/soap for grant operations. Disable the Classic client for users who do not need it, and turn off automatic invitation insertion where policy allows by setting zimbraPrefCalendarAutoAddInvites to FALSE; that blunts the phantom-meeting path but does not fix the parser. These are compensating controls. They do not replace the missing vendor fixes.

The part that generalizes

The finding is not that Zimbra is uniquely broken. It is that authorization state lives outside the session. A password reset rotates a credential. It does not revoke an ACE, a Sieve rule, an app password, an OAuth link, or a delegated right. Incident-response playbooks that treat “reset password, revoke sessions” as containment will miss every one of those objects.

Zimbra administrators have a concrete query for the loginAs case. The broader lesson is to inventory the objects that grant access without the password, and to verify the inventory after every suspected webmail compromise. If the only evidence of cleanup is a successful password change, the attacker may still be reading the inbox.

Sources

Sources were checked on 4 December 2026.