Skip to content

Response, New York. Noah Park: Check Point Patches Actively Exploited Management Server Path Traversal. Detection, Dallas. Ava Okello: Report Finds Nearly Half of Deployed Detections Need Attention Before SOCs Can Trust Them.

SOCtember

Always First. Fast SOC News.

A Zimbra Classic web client in Rapid7's lab showing a message titled Proposed new time: Vendor Security Review, with a browser alert box from mail.lab.local over the message, demonstrating JavaScript running from a crafted counter-proposal sender field.
Image: Rapid7 (fair use). Figure 8 from "Untrusted Email to Browser Authority: Calendar Forgery and Stored XSS in Zimbra (Part 2)," December 2, 2026.

Detection

Rapid7 Shows How One Malicious Email Can Give an Attacker Lasting Access to a Zimbra Mailbox That a Password Reset Does Not End, and Five of the Nine Flaws It Detailed Have No Fix

A stored cross-site scripting payload can quietly grant an attacker's own account the loginAs right over a victim's mailbox through a legacy request Zimbra never closed. The grant survives password changes and session revocation and does not appear in the victim's Delegates list. Rapid7 has published proofs of concept and an LDAP query defenders can run today.

Ava Okello, DetectionLondon6 min read

BOSTON - An attacker who gets script running in a Zimbra webmail session can hand an account they control permanent access to the victim's mailbox, and resetting the victim's password will not take it away, according to research Rapid7 published this week.

The finding is one of nine vulnerabilities in Zimbra Collaboration Suite, the self-hosted email and calendar platform, that Rapid7 researcher Jonah Burgess detailed on Wednesday in the second installment of a four-part series. Rapid7 says it reported more than 80 vulnerabilities to Zimbra during the assessment. Five of the nine in this installment have no public fix listed, and Zimbra's 10.1.22 release, also out Wednesday, "addresses NGINX vulnerabilities but adds no fixes for the outstanding findings reported by Rapid7," according to the disclosure timeline. Rapid7 has published technical write-ups and proofs of concept for all nine in a public GitHub tracker.

Neither Rapid7 nor Zimbra has reported exploitation, and The Hacker News, which reported the research on Friday, said no attacks had been reported so far.

A grant the victim cannot see

Zimbra has a mailbox right called loginAs that lets one account open another user's mailbox while signing in with its own credentials. Rapid7 reported in April that a script running in a victim's session could grant that right to any local account, and Zimbra blocked that path, CVE-2026-50054, in version 10.1.20 on July 20. The fix covered only the GrantRightsRequest call. An older call, GrantPermissionRequest, "is still available through a separate mail-service handler," Rapid7 wrote, and it performs the same unrestricted lookup without the new check. That bypass, CVE-2026-137843, is rated 8.1 and has no confirmed fixed release.

A Rapid7 sequence diagram titled From browser XSS to lasting mailbox access, CVE-2026-137843, Legacy GrantPermission handler, showing the victim's browser running XSS sending a GrantPermissionRequest with the victim session and CSRF token to Zimbra, the victim mailbox ACL granting loginAs to attacker@lab.local, and a later fresh attacker session that signs in with its own credentials and searches the victim's messages, with a note that resetting the victim's password or revoking their sessions leaves the grant in place until it is explicitly revoked.
Image: Rapid7 (fair use).Figure 12, the persistence path through CVE-2026-137843.

In Rapid7's lab, the attacker then signed in with only their own password and listed the victim's inbox. "Changing the victim's password or revoking their sessions does not remove the LDAP entry, so fresh attacker sessions retain access until the grant is revoked," the report says. The grant also stayed out of the place a user would look. "Classic's Preferences > Accounts > Delegates view reported no results while the grant was active," Rapid7 wrote, although owner or administrator rights queries could see and revoke it.

The Zimbra Classic Preferences page for victim@lab.local, with the Delegates section, outlined in red, reading The following users have delegated authority to this account and No results found, while Rapid7's loginAs grant was active.
Image: Rapid7 (fair use).Figure 13, the Delegates list while the grant is active.

There are limits. The grant request has to run with authority over the victim's account, and the attacker needs an existing local account on the same server to receive it.

How the script gets in

The authority comes from four stored cross-site scripting flaws in the Classic and Modern web clients, each rated 9.3. A crafted calendar counter-proposal, meeting invitation or share invitation runs script when the recipient selects the message or uses its calendar or sharing controls. Zimbra fixed three of them, CVE-2026-93641, CVE-2026-93642 and CVE-2026-93647, in 10.1.21 on September 24. The fourth, CVE-2026-93648 in the Classic Scheduler, was confirmed on 10.1.21 and has no fix listed. Once running, Rapid7 says, a payload can read and exfiltrate mail, send mail as the victim, delete messages and install forwarding filters, in addition to creating the loginAs grant.

Three more flaws, CVE-2026-93627, CVE-2026-93628 and CVE-2026-93629, each rated 5.3 and all unpatched, need no account and no click. Zimbra processes calendar data during delivery, so a forged message can cancel or change an existing meeting on a recipient's calendar, fake another attendee's reply or insert a meeting under someone else's name, the last where automatic insertion is on, which Rapid7 says is the default.

A Zimbra message titled Weekly Leadership Sync from ceo at ceo@lab.local to victim, reading ceo has canceled this event, for a meeting on Friday, September 18, 2026, from 2:00 to 3:00 PM, a cancellation Rapid7 forged in its lab.
Image: Rapid7 (fair use).Figure 2, a forged cancellation attributed to the CEO in Rapid7's lab.

Rapid7 also warns that an attacker who already controls one account in the domain can send these messages through Zimbra's authenticated SMTP service with a colleague's From address, and the mail can then pass SPF, DKIM and DMARC because it leaves the organization's own server. "The RFC sender alone is not reliable attribution when a compromised account submitted the message through Zimbra," the report says.

What detection teams should do

  • Query LDAP for stored grants rather than searching web logs for the word. Rapid7's query, run as the zimbra Unix account, is /opt/zimbra/bin/zmprov -l sa '(zimbraACE=*loginAs)'. For each hit, run zmprov -l ga on the account for zimbraACE, resolve the grantee and compare it with approved delegation records.
  • Do not rely on a literal loginAs match in HTTP request bodies; Rapid7 says it can be evaded with XML character references or JSON Unicode escapes. A stored grant is the stronger evidence.
  • After any suspected webmail compromise, inventory loginAs grants and Sieve and forwarding rules before closing the case. "Password changes and session revocation alone do not end that access," the report says.
  • For suspicious calendar changes, preserve the delivered message and compare its From, METHOD, UID, SEQUENCE, ORGANIZER and ATTENDEE fields and, where SMTP AUTH was used, the submitting account.
  • Treat a markup-bearing quoted From on a METHOD:COUNTER message as a direct indicator of CVE-2026-93647, the same pattern in a METHOD:REQUEST organizer as an indicator of CVE-2026-93648, and HTML characters in the grantor fields of xml/x-zimbra-share parts as suspicious.
  • Upgrade to the latest supported release to pick up the 10.1.20 and 10.1.21 fixes, knowing upgrading does not remove grants created before the update. Rapid7 told Zimbra it would publish on December 2, 9 and 16; the remaining two parts cover code execution through Zimbra's document services and escalation to root.

About the Author

Ava Okello

Ava Okello covers detection engineering, EDR telemetry, and SOC hunting for SOCtember from London.

Related stories

Detection desk