CVE-2026-40187
HIGHAuthenticated RCE via Malicious eTemplate Upload in EGroupware
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/EGroupware/egroupware/security/advisories/GHSA-8737-2x9g-xjj7
Scores
CVSS v4
8.6
EPSS
0.0093
EPSS Percentile
57.2%
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-78
CWE-95
Status
published
Products (1)
EGroupware/egroupware
<= 26.0
Published
Jul 20, 2026
Tracked Since
Jul 20, 2026