CVE-2026-40187
HighCVSS 8.6Exploitation Probability (EPSS)
Elevated risk57th percentile - higher than 57% of all known CVEs
Summary
In egroupware version 26.0 and earlier, an authenticated administrator can achieve OS-level Remote Code Execution (RCE) by uploading a malicious eTemplate XML file (.xet) to the VFS /etemplates mount. The Widget::expand_name() method passes template widget attribute values directly into a PHP eval() call with only double-quote escaping applied - backtick characters are not escaped. In PHP, backticks inside a double-quoted eval() string execute shell commands, allowing an admin-level user to escalate from web application access to arbitrary OS command execution on the server.
Risk Assessment
An authenticated administrator could fully compromise the server by executing arbitrary system commands.
Recommendation
Update egroupware to version 26.1 or later, which contains the fix.
Other vulnerabilities in egroupware
See all- CVE-2014-2027High
eGroupware before 1.8.006.20140217 is vulnerable to PHP object injection attacks, allowing remote attackers to delete arbitrary files and possibly execute arbitrary code.
- CVE-2026-27823High
A vulnerability in EGroupware allows an authenticated attacker to achieve Remote Code Execution (RCE) on the server. If self-registration is enabled, it may be exploitable without authentication. The issue stems from improper authorization checks combined with file write and arbitrary file read primitives.
Original NVD description (English source)
In egroupware version 26.0 and earlier, an authenticated administrator can achieve OS-level Remote Code Execution (RCE) by uploading a malicious eTemplate XML file (`.xet`) to the VFS `/etemplates` mount. The `Widget::expand_name()` method passes template widget attribute values directly into a PHP `eval()` call with only double-quote escaping applied - **backtick characters are not escaped**. In PHP, backticks inside a double-quoted `eval()` string execute shell commands. This allows an admin-level user to escalate from web application access to arbitrary OS command execution on the server.

