CVE-2026-137852: Zimbra Collaboration Suite License Daemon Package Local Privilege Escalation via sed Command Injection in Post-Installation Script
A local privilege escalation vulnerability in the license-daemon package scripts of Zimbra Collaboration Suite (ZCS) allows the Unix zimbra account to execute arbitrary commands as root during package maintenance. The package preserves service-writable configuration and interpolates its lines directly into a GNU sed expression in the root post-installation script. An attacker can insert sed replacement syntax and the execute flag into a configuration value. A subsequent administrator reconfiguration, reinstall or upgrade using the affected scripts executes the injected command as root. A normal service restart does not trigger the vulnerable package scripts. ZCS 10.1.7 through 10.1.21 are affected.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs access as the Unix zimbra account, or the ability to modify configuration values writable by that account. Exploitation also requires a later package maintenance action by an administrator.
Does restarting Zimbra trigger the vulnerable code path?
No. A normal service restart does not run the affected package scripts. The injected command executes during an administrator reconfiguration, reinstallation, or upgrade that uses those scripts.
Which deployments are affected?
Zimbra Collaboration Suite versions 10.1.7 through 10.1.21 are affected. The vulnerable behavior involves the license-daemon package post-installation scripts and service-writable preserved configuration.
What can be done if patching is not immediately possible?
Restrict access to the Unix zimbra account and protect service-writable configuration from unauthorized modification. Avoid reconfiguration, reinstall, and upgrade actions using the affected package scripts until the configuration can be verified as safe and remediation is available.