← Back to search

CVE-2026-50057

7.8 HIGH

Published 2026-10-23 · Updated 2026-10-29

AI risk analysis

Summary
The Zimbra MTA package's sudo policy allows the zimbra user to run Postfix administration commands as root without argument restrictions. An attacker can exploit this by modifying the Postfix configuration to point daemon_directory to a malicious binary and invoking postfix set-permissions, causing the binary to execute as root.
Exploitability
Exploitation requires local command execution as the zimbra user on an MTA node, making it a high-barrier but realistic local privilege escalation scenario.
Blast radius
Successful exploitation grants full root access on the affected MTA node, enabling complete compromise of that host and potential lateral movement within the mail infrastructure.
Detection
Monitor sudo logs for unexpected invocation of 'postfix set-permissions' by the zimbra user, especially when accompanied by changes to daemon_directory in main.cf; also watch for execution of unexpected binaries from /opt/zimbra/common/libexec/ or other Postfix libexec paths as root.
Prioritized remediation
Upgrade to ZCS version 10.1.22 or later, which includes a fix for this vulnerability (CVE-2026-50057).
local-privilege-escalationsudo-misconfigpostfixzimbramta

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

A local privilege escalation vulnerability in the Zimbra Collaboration Suite (ZCS) MTA package allows the Unix zimbra account to execute arbitrary commands as root. The installed sudo policy permits passwordless root execution of Postfix administration commands without restricting their arguments. An attacker can select a zimbra-controlled daemon_directory in the Postfix configuration and invoke postfix set-permissions, causing Postfix to execute the attacker's post-install program as root. The Postfix configuration directory is also writable by zimbra, so restricting postconf alone does not remove the execution path. Exploitation requires local command execution as zimbra on an MTA node. ZCS 10.1.16 and 10.1.21 are affected.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-732

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.